generated/1774

sha256 7d43a42367617f9a82ba546366a927ad8bfea46c3586207b65031341abb7262f

Document

!<tag:yaml.org,2002:binary> 'ygUU' # c1

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/binaryopen from construct on: each parser's stance decides
featuresencoding/byte-order-mark node/tag-verbatim presentation/comment-inline presentation/quoted-single value/binary
meaning (yaml-1.2-core)"ygUU"

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

"ygUU"

yaml.v3

"�\u0005\u0014"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
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 0xca in position 0: invalid continuation byte
yamlstar rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
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.