generated/1787

sha256 a69fd921a9c6ee140b40d18e69e2a0b0ddfd4e15a666a30692ff743ce9cc8b32

Document

---
!
# c1
'n': !<tag:yaml.org,2002:null> null
# c2
!<tag:yaml.org,2002:str> 't': !<tag:yaml.org,2002:timestamp> '1901-10-01T17:59:09.01Z'
# c3
!<tag:yaml.org,2002:str> 'b': !<tag:yaml.org,2002:binary> 'SPkFDBYA'

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
representation/timestampopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-single value/binary value/mapping value/non-string-key value/null value/timestamp
meaning (yaml-1.2-core){"b":"SPkFDBYA","n":null,"t":"1901-10-01T17:59:09.01Z"}

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":"SPkFDBYA","n":null,"t":"1901-10-01T17:59:09.01Z"}

yaml.v3

{"b":"H�\u0005\f\u0016\u0000","n":null,"t":"1901-10-01T17:59:09.01Z"}

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 unscored n/i value: the loader rejects the document past parse, where the verdict is given UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf9 in position 1: invalid start byte
yamlstar rejected, explained refuse by the parser rejected, explained 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
value: 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 different, explained same value: binary-as-bytes: yaml.v3 decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Iwc=" comes back as "#\u0007"
go-yaml accepted accept ok same

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