generated/288/a collection key written twice

sha256 f74091b18425db049dff35c4e1214636f3a3e4e1b7ac0a3c1707f2ebfec71c64

Document

%TAG !TAG2! tag:yaml.org,2002:
---
? !TAG2!str ""
: {? "---": &a1 TRUE, ? +0b11: 0x1} # c1
? 0b1010
: !TAG2!null null # c2
? 3.6997341983728704
: null # c3
?
 - !TAG2!str "" # c4
: dup # c5
?
 - !TAG2!str "" # c6
: dup2 # c7

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
key/duplicatereject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node
featuresbreak/cr encoding/byte-order-mark node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/quoted-double presentation/tag-directive value/bool value/int value/mapping value/non-string-key value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

value

yamlstar

{"":{"+0b11":"0x1","---":true},"0b1010":null,"3.6997341983728704":null,"[\"\"]":"dup2"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar accepted accept not scored n/i
yaml.v3 rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node yaml.v3: yaml: unmarshal errors:
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node [10:2] a sequence cannot be a JSON key

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.