generated/2960/stream

sha256 762320b5cda8a8a899358460e079c5ca6dc7d2921cdebbb3792968f3724500a3

Document

%TAG !x! tag:yaml.org,2002:
---
{? !x!str "\x62\x61\x73\x65": &m4 {? "\x6F\x39": -4}, ? ! "\x6F": !x!omap [{? "\x6F\x30": -2}, {? "\x6F\x31": 0o0}, {? "\x6F\x32": 0o3}, {? "\x6F\x38": *m4}], ? "\x70": !x!pairs [{? "\x70\x30": 0o1}, {? "\x70\x30": 0o2}]}
...
---
{? !!str "\x62\x61\x73\x65": &m1 {? "\x62\x30": 0o11, ? "\x62\x31": -1, ? "\x62\x32": 0o2}, ? "\x69\x74\x65\x6D": {? <<: &m2 {? "\x63\x30": -9, ? "\x63\x31": -3}, ? "\x64\x30": 0o10, ? "\x64\x31": 0o10, ? "\x62\x30": 0o143}, ? !foo "\x61\x67\x61\x69\x6E": *m2}

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle node/tag-local node/tag-non-specific node/tag-shorthand presentation/document-marker presentation/document-suffix presentation/escape-hex presentation/explicit-key presentation/flow-collection presentation/multi-document presentation/number-octal presentation/plain presentation/quoted-double presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"base":{"o9":-4},"o":{"o0":-2,"o1":0,"o2":3,"o8":{"o9":-4}},"p":[{"p0":1},{"p0":2}]}
{"again":{"c0":-9,"c1":-3},"base":{"b0":9,"b1":-1,"b2":2},"item":{"\u003c\u003c":{"c0":-9,"c1":-3},"b0":99,"d0":8,"d1":8}}

libfyaml

{"base":{"o9":-4},"o":[{"o0":-2},{"o1":0},{"o2":3},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}]}
{"again":{"c0":-9,"c1":-3},"base":{"b0":9,"b1":-1,"b2":2},"item":{"\u003c\u003c":{"c0":-9,"c1":-3},"b0":99,"d0":8,"d1":8}}

yaml.v3

{"base":{"o9":-4},"o":[{"o0":-2},{"o1":0},{"o2":3},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}]}
{"again":{"c0":-9,"c1":-3},"base":{"b0":9,"b1":-1,"b2":2},"item":{"b0":99,"c0":-9,"c1":-3,"d0":8,"d1":8}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: !foo
yaml.v3 accepted accept not scored different
document 1

written

again:
    c0: -9
    c1: -3
base:
    b0: 9
    b1: -1
    b2: 2
item:
    b0: 99
    c0: -9
    c1: -3
    d0: 8
    d1: 8

read back

{"again":{"c0":-9,"c1":-3},"base":{"b0":9,"b1":-1,"b2":2},"item":{"b0":99,"c0":-9,"c1":-3,"d0":8,"d1":8}}
go-yaml accepted accept not scored same

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