generated/1228/a collection key written twice

sha256 459cb88866db5a9a83900944e36eb583cd8483539499b96e7cedc0291286469c

Document

---
&a2
!!str '&a': True # c1
"\U00000312\U00000009\U0000005D\U00000356\U0000007F\U0000000C\U00000023\U0000009D": # c2
   &a1 <<: !!map # c3
      'merged0': 0 # c4
   True: # c5
?
   - !!str '&a' # c6
: 'dup' # c7
?
   - !!str '&a' # c8
: 'dup2' # 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/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/escape-long presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/quoted-single value/bool value/int value/mapping value/merge-key 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

{"\u0026a":true,"7869938541271235157":{"merged0":0,"true":null},"[\"\u0026a\"]":"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 [9:4] a sequence cannot be a JSON key

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