generated/1221/substitute a byte/5

sha256 757f3de750f8978ef70142fa7a2bf5aaa1d427b549e67ad686ba20986ca95c1b

Document

"# c1\r\n\"\\u006F\":\t# c2\r\n  !!omap\r\n  # c3\r\n  -\t# c4\r\n    # c5\r\n    \"\\u006F\\u0030\":\t-4\t\xbb c6\r\n  # c7\r\n  -\t# c8\r\n    # c9\r\n    \"\\u006F\\u0031\":\t0x3\t# c10\r\n# c11\r\n!foo \"\\u0070\":\t# c12\r\n  !!pairs\r\n  # c13\r\n  -\t# c14\r\n    # c15\r\n    \"\\u0070\\u0030\":\t0x1\t# c16\r\n  # c17\r\n  -\t# c18\r\n    # c19\r\n    \"\\u0070\\u0030\":\t0x2\t# c20\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:7:21: 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 leading UTF-8 octet
go-yaml rejected, invalid refuse by the parser not scored refused [7:24] found a byte that is part of no character

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