generated/1277/substitute a byte/15

sha256 66dcb8382418774a80a84c91cf90d9e90917a42c2260b98e3f374cd1b25c3960

Document

"# c1\r\n\"base\": &m4\r\n  # c2\r\n  \"o9\": -4\r\n# c3\r\n\"o\": &m3 !<tag:yaml.org,2002:omap>\r\n  # c4\r\n  -\r\n    # c5\r\n    \"o0\": 0o6\r\n  # c6\r\n  -\r\n    # c7\r\n    \"o1\": -3\r\n  # c8\r\n  -\r\n    # c9\r\n    \"o2\": -2\r\n  # c10\r\n  -\r\n    # c11\r\n    \"o8\": *m4\r\n# c12\r\n\"again\": *m3\r\n# c13\r\n\"p\": !<tag:yaml.org,2002:pairs>\r\n  # c14\r\n  -\r\n    # c15\r\n    \"p0\": 0\xdf1\r\n  # c16\r\n  -\r\n    # c17\r\n    \"p0\": 0o2\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:30:11: 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 [30:12] found a byte that is part of no character

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