generated/280

sha256 7efb9a3357a8b6162ea62893bf3687c2b8c025cb0d608eeab3a3a9753566f669

Document

%YAML 1.1
---
? "\x62\x61\x73\x65"
: &m4 # c1
      ? "\x6F\x39"
      : -3 # c2
? "\x6F"
: &m3 !<tag:yaml.org,2002:omap> # c3
      - # c4
            ? "\x6F\x30"
            : 4 # c5
      - # c6
            ? "\x6F\x31"
            : -1 # c7
      - # c8
            ? <<
            : *m4 # c9
      - # c10
            ? "\x6F\x38"
            : *m4 # c11
? "\x61\x67\x61\x69\x6E"
: *m3 # c12

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/comment-inline presentation/document-marker presentation/escape-hex presentation/explicit-key presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"again":{"o0":4,"o1":-1,"o9":-3,"o8":{"o9":-3}},"base":{"o9":-3},"o":{"o0":4,"o1":-1,"o9":-3,"o8":{"o9":-3}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"o0":4,"o1":-1,"o8":{"o9":-3},"o9":-3},"base":{"o9":-3},"o":{"o0":4,"o1":-1,"o8":{"o9":-3},"o9":-3}}

libfyaml

{"again":{"o0":4},"base":{"o9":-3},"o":[{"o0":4},{"o1":-1},{"o9":-3},{"o8":{"o9":-3}}]}

yaml.v3

{"again":[{"o0":4},{"o1":-1},{"o9":-3},{"o8":{"o9":-3}}],"base":{"o9":-3},"o":[{"o0":4},{"o1":-1},{"o9":-3},{"o8":{"o9":-3}}]}

yamlstar

{"111":[{"11148":4},{"11149":-1},{"11157":-3},{"11156":{"11157":-3}}],"9710397105110":[{"11148":4},{"11149":-1},{"11157":-3},{"11156":{"11157":-3}}],"9897115101":{"11157":-3}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
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 accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 accepted accept different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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