generated/749

sha256 17a604602d9e0938b39275a7e2902f6374ae78f1dac862ee3f276b2f4cb8857f

Document

---
# c1
'n': !!null # c2
# c3
't': !!timestamp '1909-12-24 00:00:34' # c4

Corpus

grammarvalid, vouched for up to construct
representation/timestampopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/quoted-single presentation/time-no-zone value/mapping value/null value/timestamp
meaning (yaml-1.2-core){"n":null,"t":"1909-12-24T00:00:34Z"}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml yaml.v3

{"n":null,"t":"1909-12-24T00:00:34Z"}

libfyaml

{"n":null,"t":"1909-12-24 00:00:34"}

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 ok same
go-yaml accepted accept ok same

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