generated/2197

sha256 bf4972f0d1e34c04935525c7936748d07e3199708ecde9890405d1746a055afe

Document

!!map
# c1
'n': !!null	# c2
# c3
't': !!timestamp	'1900-08-13T12:40:09Z'	# c4
# c5
'b': !!binary	'HgEAAX0OBw=='	# 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-shorthand presentation/comment-above presentation/comment-inline presentation/quoted-single presentation/tab-separation value/binary value/mapping value/null value/timestamp
meaning (yaml-1.2-core){"b":"HgEAAX0OBw==","n":null,"t":"1900-08-13T12:40:09Z"}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

{"b":"HgEAAX0OBw==","n":null,"t":"1900-08-13T12:40:09Z"}

libfyaml yaml.v3

{"b":"\u001e\u0001\u0000\u0001}\u000e\u0007","n":null,"t":"1900-08-13T12:40:09Z"}

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.