generated/328/substitute a byte/13

sha256 dab4da4375d9ea63fea62383ffc5adda60516e8a496f8847c5f902199cd24aa0

Document

"%YAML 1.1\n---\n'base': # c1\n     &m4\n     'o9': -8 # c2\n'o': # c3\n     !!omap &m3\n     - # c4\n         \x85'o0': -1 # c5\n     - # c6\n          'o1': -4 # c7\n     - # c8\n          <<: *m4 # c9\n'again': *m3 # c10\n's': # c11\n     !!set\n     's0': ~ # c12\n     's1': ~ # c13\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:9:10: 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 [9:10] found a byte that is part of no character

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