generated/275/insert an indicator/0

sha256 4edc7de83bd86ed92f2534adab366e45f3b35707ceea054b2b90a2ba4e0b62e6

Document

# c1
base: &m4 {o9: -5}
# c2
o]: &m3 !!omap [{<<: *m4}, {o0: -4}, {o1: 0o2}]
# c3
again: *m3
# c4
!foo p: !!pairs [{p0: 0o1}, {p0: 0o2}]
# c5
!!str s: !!set {s0: , s1: , s2: }

Corpus

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

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

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

libfyaml

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

yaml.v3

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

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the parser not scored n/i lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden Error: parse: Parser finished before end of input
yaml.v3 accepted accept not scored different
document 0

written

again:
    - o9: -5
    - o0: -4
    - o1: 2
base:
    o9: -5
o]:
    - o9: -5
    - o0: -4
    - o1: 2
p:
    - p0: 1
    - p0: 2
s:
    s0: null
    s1: null
    s2: null

read back

{"again":[{"o9":-5},{"o0":-4},{"o1":2}],"base":{"o9":-5},"o]":[{"o9":-5},{"o0":-4},{"o1":2}],"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.