generated/2449/a collection key written twice

sha256 4ad8496558fe0a6fe8ce4a7675f9d65da56cae0bdeac937fcad0da54f6f4e891

Document

-
    -
        - &a1	.inf
        -	*a1
        -	FALSE
    -	1
    -	*a1
    - !<tag:yaml.org,2002:int>	190613111688332300346764272310
-	*a1
-	TRUE
-
    "#-E": &a5
        &a3 !<tag:yaml.org,2002:merge> <<: &a4 !<tag:yaml.org,2002:map>
            merged2:	-1
        &a2 "trailing ":	[]
    ?
        -	>-
            #-E
    :	>-
        dup
    ?
        -	>-
            #-E
    :	>-
        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/alias node/anchor node/tag-verbatim presentation/block-folded presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tab-separation value/big-int value/bool value/empty-collection value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/sequence 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:17:10: 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 4: 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 [3:15] JSON has no number for .inf

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