generated/1913/a collection key written twice

sha256 7225258ee39b0baecf4d2c5a5ce8e80f2e6c8656de1c0657347846839f704dff

Document

%TAG !e! tag:yaml.org,2002:
---
{"\x20\x62\x6F\x74\x68\x20": !e!null null, "\x2D\x2D\x2D": &a1 null, &a2 "\x7E": !e!null null, ["\x20\x62\x6F\x74\x68\x20"]: dup, ["\x20\x62\x6F\x74\x68\x20"]: dup2} # c1

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/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/escape-hex presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-directive value/mapping value/non-string-key value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

value

yamlstar

{"126":null,"329811111610432":null,"454545":null,"[\"329811111610432\"]":"dup2"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
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 [3:96] a sequence cannot be a JSON key

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