generated/759

sha256 733b16878e39fbf8f4eae5ec0329688fe6039e280a373ad68463ed7fec5a7b77

Document

%TAG !n-1! tag:yaml.org,2002:
---
# c1
n: !n-1!null null # c2
# c3
t: !n-1!timestamp "1997-02-18T00:04:08Z" # c4
# c5
b: !n-1!binary "Iw==" # c6

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-handle presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-double presentation/tag-directive value/binary value/mapping value/null value/timestamp
meaning (yaml-1.2-core){"b":"Iw==","n":null,"t":"1997-02-18T00:04:08Z"}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

{"b":"Iw==","n":null,"t":"1997-02-18T00:04:08Z"}

libfyaml yaml.v3

{"b":"#","n":null,"t":"1997-02-18T00:04:08Z"}

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 accept different, explained n/i value: timestamp-as-text: the Python binding returns a !!timestamp as the text written, where the corpus states it in RFC 3339 form: "1900-10-14" for "1900-10-14T00:00:00Z"
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.