generated/746/a collection key written twice

sha256 0b013a98261926bd06df254a6263fbbdbf5861a8d8b365f2cd76bc7de0f3545d

Document

---
&a1 {? {? "I-5.AZ tz:A ": -1}: -3, ? [{? "I-5.AZ tz:A ": -1}]: dup, ? [{? "I-5.AZ tz:A ": -1}]: 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
featuresbreak/crlf encoding/byte-order-mark node/anchor presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double value/int value/mapping value/non-string-key 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

{"[{\"I-5.AZ tz:A \" -1}]":"dup2","{\"I-5.AZ tz:A \" -1}":-3}

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: 'mapping'
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:8] a mapping cannot be a JSON key

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