generated/1482

sha256 8d57d2a891e681ac96e14317ec6dbb5f2a8efa9c0253514cafb709e2eb760293

Document

%TAG !e! tag:yaml.org,2002:
---
# c1
"\u0062\u0061\u0073\u0065": &m4
  # c2
  "\u006F\u0039": -7
# c3
"\u006F": !e!omap &m3
  # c4
  -
    # c5
    "\u006F\u0030": -5
  # c6
  -
    # c7
    <<: *m4
  # c8
  -
    # c9
    "\u006F\u0031": 2
  # c10
  -
    # c11
    "\u006F\u0038": *m4
# c12
"\u0061\u0067\u0061\u0069\u006E": *m3
# c13
"\u0070": !e!pairs
  # c14
  -
    # c15
    "\u0070\u0030": 1
  # c16
  -
    # c17
    "\u0070\u0030": 2

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresnode/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/escape-unicode presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"again":{"o0":-5,"\u003c\u003c":{"o9":-7},"o1":2,"o8":{"o9":-7}},"base":{"o9":-7},"o":{"o0":-5,"\u003c\u003c":{"o9":-7},"o1":2,"o8":{"o9":-7}},"p":[{"p0":1},{"p0":2}]}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"\u003c\u003c":{"o9":-7},"o0":-5,"o1":2,"o8":{"o9":-7}},"base":{"o9":-7},"o":{"\u003c\u003c":{"o9":-7},"o0":-5,"o1":2,"o8":{"o9":-7}},"p":[{"p0":1},{"p0":2}]}

libfyaml

{"again":{"o0":-5},"base":{"o9":-7},"o":[{"o0":-5},{"\u003c\u003c":{"o9":-7}},{"o1":2},{"o8":{"o9":-7}}],"p":[{"p0":1},{"p0":2}]}

yaml.v3

{"again":[{"o0":-5},{"o9":-7},{"o1":2},{"o8":{"o9":-7}}],"base":{"o9":-7},"o":[{"o0":-5},{"o9":-7},{"o1":2},{"o8":{"o9":-7}}],"p":[{"p0":1},{"p0":2}]}

yamlstar

{"111":[{"11148":-5},{"11157":-7},{"11149":2},{"11156":{"11157":-7}}],"112":[{"11248":1},{"11248":2}],"9710397105110":[{"11148":-5},{"11157":-7},{"11149":2},{"11156":{"11157":-7}}],"9897115101":{"11157":-7}}

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.