generated/1258/a duplicate entry appended

sha256 fcca635287072f0ffbbdad4bc76e70e554bb370503289fec0b319610d796e08b

Document

---
!!map
o: # c1
  !!omap &m3
  - # c2
    o0: 0 # c3
  - # c4
    o1: 7 # c5
  - # c6
    o2: -1 # c7
again: *m3 # c8
o: dup # c9

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-shorthand presentation/comment-inline presentation/document-marker presentation/plain presentation/property-line presentation/tag-before-anchor value/int value/mapping value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value split

libfyaml

{"again":{"o0":0},"o":"dup"}

yamlstar

{"again":[{"o0":0},{"o1":7},{"o2":-1}],"o":"dup"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
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 [12:1] mapping key "o" already defined at [3:1]

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