generated/1444/a duplicate entry appended

sha256 d836c13250eb6ba9180c0bcfe691c8d83cf5e4618173221f1d0030028a347a5a

Document

base: # c1
   &m1
   b0: 2 # c2
item: # c3
   <<: # c4
      &m2
      c0: -3 # c5
   ! d0: -2 # c6
   d1: 2 # c7
   b0: 99 # c8
again: *m2 # c9
base: >-
   dup

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/crlf encoding/byte-order-mark node/alias node/anchor node/tag-non-specific presentation/block-folded presentation/comment-inline presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept

perlref yamlstar

refuse by the parser

value

libfyaml

{"again":{"c0":-3},"base":"dup","item":{"\u003c\u003c":{"c0":-3},"b0":99,"d0":-2,"d1":2}}

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 accepted accept not scored n/i
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 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 [12:1] mapping key "base" already defined at [1:1]

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