generated/234

sha256 813a0a19bebed47fe3ae5579d0cb2580772ee028162ebbd0a157fdf5391e9f9e

Document

? base
: &m4
  ? o9
  : -9
? o
: !<tag:yaml.org,2002:omap>
  -
    ? o0
    : 1
  -
    ? o8
    : *m4
? p
: !<tag:yaml.org,2002:pairs>
  -
    ? p0
    : 1
  -
    ? p0
    : 2

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/explicit-key presentation/plain value/int value/mapping value/sequence
meaning (yaml-1.2-core){"base":{"o9":-9},"o":{"o0":1,"o8":{"o9":-9}},"p":[{"p0":1},{"p0":2}]}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

{"base":{"o9":-9},"o":{"o0":1,"o8":{"o9":-9}},"p":[{"p0":1},{"p0":2}]}

libfyaml yaml.v3

{"base":{"o9":-9},"o":[{"o0":1},{"o8":{"o9":-9}}],"p":[{"p0":1},{"p0":2}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted accept different, explained n/i value: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings
yamlstar rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
Error: parse: Parser finished before end of input
yaml.v3 accepted accept different, explained same value: ordered-map-as-sequence: yaml.v3 has no ordered map, and decodes !!omap as a sequence of one-pair mappings
go-yaml accepted accept ok same

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