generated/1194/substitute a byte/1

sha256 97cb8037f341070f266b1e97624dd3bfc649f6740b7b6d7fd4d916be40060b38

Document

"---\r\nbase:\r\n &m1\r\n b0: 0x0\r\n b1: -3\r\n b2: 0x9\r\nitem:\r\n <<:\r\n  &m2\r\n  c0: -6\r\n d\xed: 0x9\r\nagain: *m2\r\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:11:2: error: plain scalar is malformed UTF8
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 [11:3] found a byte that is part of no character

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