generated/1918/a duplicate entry appended

sha256 b243058a91561ee9f35de3b54af0dcbd811ec52405d4e91d2fbf5c283407191c

Document

%YAML 1.1
---
!!set
'n': !!null	NULL	# c1
'b': !!binary	'76QAoSBD'	# c2
'n':	|-
    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/tag-shorthand presentation/block-literal presentation/chomp-padded presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tab-separation presentation/yaml-directive value/binary value/mapping value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref

accept

value

No source answered.

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 UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:yaml.org,2002:binary
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 [6:1] mapping key "n" already defined at [4:1]

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