generated/288/a duplicate entry appended

sha256 513ba66149aacd4af12042033cebf21fb71cef65da872bd84dc920559fba5e57

Document

%TAG !TAG2! tag:yaml.org,2002:
---
? !TAG2!str ""
: {? "---": &a1 TRUE, ? +0b11: 0x1} # c1
? 0b1010
: !TAG2!null null # c2
? 3.6997341983728704
: null # c3
? !TAG2!str ""
: dup # c4

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/cr encoding/byte-order-mark node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/number-hex presentation/plain presentation/quoted-double presentation/tag-directive value/bool value/int 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 perlref yamlstar

accept

value

libfyaml yamlstar

{"":"dup","0b1010":null,"3.6997341983728704":null}

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 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:1] mapping key "" already defined at [3:1]

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