generated/1395/substitute an indicator/2

sha256 e6867bd3f3a493dec77410fc02b26dad156d5267131b10746b0ef1ffb7d98dc6

Document

%TAG !x! tag:yaml.org,2002:
---
# c1
base: &m4 {o9: -5}
# c2
o: !x!omap &m3 [{o0: -3}, {<<: *m4}, {o1: -7}, {o2# -2}, {o8: *m4}]
# c3
again: *m3
# c4
p: !x!pairs [{p0: 1}, {p0: 2}]
# c5
!foo s: !x!set {s0, s1, s2}

Corpus

grammarvalid, vouched for up to parse
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"again":{"\u003c\u003c":{"o9":-5},"o0":-3,"o1":-7,"o2# -2":null,"o8":{"o9":-5}},"base":{"o9":-5},"o":{"\u003c\u003c":{"o9":-5},"o0":-3,"o1":-7,"o2# -2":null,"o8":{"o9":-5}},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}

libfyaml

{"again":{"o0":-3},"base":{"o9":-5},"o":[{"o0":-3},{"\u003c\u003c":{"o9":-5}},{"o1":-7},{"o2# -2":null},{"o8":{"o9":-5}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}

yaml.v3

{"again":[{"o0":-3},{"o9":-5},{"o1":-7},{"o2# -2":null},{"o8":{"o9":-5}}],"base":{"o9":-5},"o":[{"o0":-3},{"o9":-5},{"o1":-7},{"o2# -2":null},{"o8":{"o9":-5}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected after the parse refuse by the loader not scored n/i the loader rejects a document the corpus vouches for only up to parse Error: Unknown tag: !foo
yaml.v3 accepted accept not scored different
document 0

written

again:
    - o0: -3
    - o9: -5
    - o1: -7
    - o2# -2: null
    - o8:
        o9: -5
base:
    o9: -5
o:
    - o0: -3
    - o9: -5
    - o1: -7
    - o2# -2: null
    - o8:
        o9: -5
p:
    - p0: 1
    - p0: 2
s:
    s0: null
    s1: null
    s2: null

read back

{"again":[{"o0":-3},{"o9":-5},{"o1":-7},{"o2# -2":null},{"o8":{"o9":-5}}],"base":{"o9":-5},"o":[{"o0":-3},{"o9":-5},{"o1":-7},{"o2# -2":null},{"o8":{"o9":-5}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}
go-yaml accepted accept not scored same

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