generated/411/a duplicate entry appended

sha256 ba01feb285e4523b70567b98f51eb7348b6d05f77e0113497c5a5fc091b9fba7

Document

%YAML 1.1
---
# c1
"base": &m1
    # c2
    "b0": 4
    # c3
    "b1": -9
# c4
"item": !<!foo>
    # c5
    <<: !<tag:yaml.org,2002:map> {"c0": -8, "c1": -1}
# c6
"base": >-
    dup


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
featuresencoding/byte-order-mark node/anchor node/tag-verbatim presentation/block-folded presentation/chomp-padded presentation/comment-above presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value

libfyaml yamlstar

{"base":"dup","item":{"c0":-8,"c1":-1}}

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

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