generated/1417/a key repeated

sha256 ab941ee30fe3b4fbe2cbc607798a14c1c8c849a2ec3e0797b42ade261c751034

Document

---
{"\U0000002C\U00000020\U00000061": , "\U0000002C\U00000020\U00000061": &a1 false, {"\U00000097\U00010007\U0000023A\U00000025\U0000000A\U000000C3\U00003044\U0000000B\U00000094\U0000002C\U0000016D\U0000009C": -5}: }

Corpus

grammarvalid, vouched for up to construct
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 node/anchor presentation/document-marker presentation/escape-long presentation/flow-collection presentation/flow-empty-value presentation/plain presentation/quoted-double value/bool value/mapping value/non-string-key value/null
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

{"443297":false,"{\"151655435703710195123561114844365156\" -5}":null}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i key/duplicate: the grammar has no production against a key written twice, and the reference parser implements the grammar alone, so it does not check this settled rule
libfyaml accepted refuse by the loader not scored n/i key/duplicate: fy-tool writes events without checking for a key written twice, and accepts most documents that write one TypeError: unhashable type: 'mapping'
yamlstar accepted accept not scored n/i key/duplicate: the loader does not check this settled rule: it keeps the last value of a key written twice, so "a: 1\na: 2" loads as {"a": 2}
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:38] mapping key ", a" already defined at [2:2]

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