generated/2500/a duplicate entry appended

sha256 2535aeb877d1d3eaf41a5605862d1576068846640eb69d0ae8f596033d4d9b6d

Document

---
!foo {&a1 "": True, &a1 "": 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/cr encoding/byte-order-mark node/anchor node/tag-local presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double value/bool value/mapping value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value

libfyaml yamlstar

{"":"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 [2:21] mapping key "" already defined at [2:7]

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