generated/1844/a collection key written twice

sha256 70a78a3eba5d5e9b81f0bc5c60b1867aa0b5854c787cacab7d93cbfd3b88cdcd

Document

# c1
?	"base"
:	# c2
     &m1
     # c3
     ?	"b0"
     :	9	# c4
     # c5
     ?	"b1"
     :	-6	# c6
# c7
?	!<!foo> "item"
:	# c8
     # c9
     ?	!<tag:yaml.org,2002:merge> <<
     :	# c10
          !<tag:yaml.org,2002:map>
          # c11
          ?	"c0"
          :	-8	# c12
          # c13
          ?	"c1"
          :	-1	# c14
     # c15
     ?	"d0"
     :	-2	# c16
     # c17
     ?	"d1"
     :	2	# c18
     # c19
     ?	! "b0"
     :	99	# c20
# c21
?
     # c22
     -	>5-
          base


:	>5-
     dup


# c23
?
     # c24
     -	>5-
          base


:	>5-
     dup2


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
featuresencoding/byte-order-mark node/anchor node/tag-non-specific node/tag-verbatim presentation/block-folded presentation/block-indicator presentation/chomp-padded presentation/comment-above presentation/comment-inline presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict

go-yaml

refuse by the loader

libfyaml perlref yaml.v3 yamlstar

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml rejected, explained refuse by the parser not scored n/i tab-after-block-entry: fy-tool rejects a tab after a '-' before a block scalar header, "-\t>-", and before some scalars in nested entries, where s-separate takes the tab stdin:36:7: error: cannot use tab for indentation of block entry
yamlstar rejected, explained refuse by the parser not scored n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document Error: parse: Parser finished before end of input
yaml.v3 rejected, settled refuse by the parser 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: line 2: found character that cannot start any token
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 [36:6] a sequence cannot be a JSON key

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