generated/2852/a key repeated

sha256 d8a0598d1b6cbe5bceb44c8079aaf8783340d8f6085911b4c55b96680fa60fc8

Document

!foo n: !!null null
!foo n: !!timestamp "\x31\x39\x34\x30\x2D\x30\x35\x2D\x31\x33\x74\x30\x31\x3A\x30\x38\x3A\x30\x31\x5A"
b: !!binary "\x77\x41\x41\x43\x41\x67\x3D\x3D"

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-local node/tag-shorthand presentation/escape-hex presentation/plain presentation/quoted-double presentation/time-lower-t value/binary value/mapping value/non-string-key value/null value/timestamp
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

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted refuse by the loader not scored n/i UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 0: invalid start byte
yamlstar rejected, explained refuse by the parser not scored n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document Error: parse: Parser finished before end of input
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:1] mapping key "n" already defined at [1:1]

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