generated/1400/duplicate a byte/1

sha256 be936b00d5cf455be07c7d13929b5a9375ab6a87ee19d62f6bddcc4878be5ca7

Document

---
? "n"
: !<tag:yaml.org,2002:null> ~
? !<!foo> "t"
: !<tag:yaml.org,2002:timestamp> "1900-12-02T00:05:28Z"
? "b"

: !<tag:yaml.org,2002:binary> "AtrQ"

Corpus

grammarvalid, vouched for up to parse
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

accept

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

refuse by the parser

value split

go-yaml

{"b":"AtrQ","n":null,"t":"1900-12-02T00:05:28Z"}

yaml.v3

{"b":"\u0002��","n":null,"t":"1900-12-02T00:05:28Z"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden
libfyaml accepted refuse by the loader not scored n/i UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 1: invalid continuation byte
yamlstar rejected, explained refuse by the parser not scored n/i lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden Error: parse: Parser finished before end of input
yaml.v3 accepted accept not scored different
document 0

written

b: !!binary AtrQ
"n": null
t: 1900-12-02T00:05:28Z

read back

{"b":"\u0002��","n":null,"t":"1900-12-02T00:05:28Z"}
go-yaml accepted accept not scored same

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