generated/791/substitute a byte/12

sha256 e0025d738b552f7207b345b10894d66a97e5c0c9b3a2f2b6cd60ab637dc866a9

Document

"%YAML 1.2\n%TAG !e! tag:yaml.org,2002:\n---\n!foo {'o': &m3 !e!omap [{'o0': 0}, {'o1': -2}, {'o2': 2}], !e!str \x96again': *m3, !e!str 'p': !e!pairs [{'p0': 1}, {'p0': 2}], 's': !e!set {'s0'}} # c1\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:67: 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 leading UTF-8 octet
go-yaml rejected, invalid refuse by the parser not scored refused [4:67] found a byte that is part of no character

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