generated/1618/a duplicate entry appended

sha256 b3a131335cc431020517e3697c09691621874464b4276c6840c49adae8d6679f

Document

%YAML 1.2
---
"": &a1 ~ # c1
"0x_1F": &a2 {"\n": , *a1 : "aliased"} # c2
"": "dup" # c3

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

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value

libfyaml yamlstar

{"":"dup","0x_1F":{"\n":null,"null":"aliased"}}

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 parser 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: found incompatible YAML document
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 [5:1] mapping key "" already defined at [3:1]

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