generated/2509

sha256 850f068ae6ac313c3c6592ae350f4e80d86c4fdcea5ed402033424e094d2e1af

Document

%TAG !e! tag:yaml.org,2002:
---
!foo
'n': !e!null null # c1
't': !e!timestamp '1921-08-15T00:00:06Z' # c2
'b': !e!binary 'dgAO/0xJcA==' # c3

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 node/tag-local presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tag-directive value/binary value/mapping value/null value/timestamp
meaning (yaml-1.2-core){"b":"dgAO/0xJcA==","n":null,"t":"1921-08-15T00:00:06Z"}

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":"dgAO/0xJcA==","n":null,"t":"1921-08-15T00:00:06Z"}

yaml.v3

{"b":"v\u0000\u000e�LIp","n":null,"t":"1921-08-15T00:00:06Z"}

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 0xff in position 3: 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.