generated/1245/substitute a byte/1

sha256 cc6cfa7f8a498add5d95dc820346d569560de5f6a9062659275e715b48e4e01f

Document

"?\t'base'\n: &m1\t# c1\n ?\t'b0'\n :\t\xce2\t# c2\n?\t! 'item'\n:\t# c3\n ?\t<<\n : &m2\t# c4\n  ?\t'c0'\n  :\t0\t# c5\n ?\t'd0'\n :\t0\t# c6\n ?\t'd1'\n :\t-5\t# c7\n?\t'again'\n:\t*m2\t# c8\n"
(not UTF-8: shown as a Go string literal)

Corpus

grammarinvalid (opaque bytes)
encoding/not-utf8open from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml yaml.v3 yamlstar

refuse by the parser

perlref

accept

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted, explained accept n/i n/i bytes-not-utf8: the parser does not check that its input is UTF-8
libfyaml rejected, invalid refuse by the parser not scored n/i stdin:4:4: error: Invalid UTF8 (invalid) in the input stream
yamlstar rejected, invalid refuse by the parser not scored n/i Error: parser input must be UTF-8
yaml.v3 rejected, invalid refuse by the parser not scored refused yaml.v3: yaml: invalid trailing UTF-8 octet
go-yaml rejected, invalid refuse by the parser not scored refused [4:4] found a byte that is part of no character

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