generated/1134/delete a byte/11

sha256 4bbdda597c5a12c83c39848544f017fe0de68a796325254bf744329734324acd

Document

# c1
!<!foo> base: &m4 # c2
  # c3
  o9: -4 # c4
# c5
o: !<tag:yaml.org,2002:omap> # c6
  # c7
  - # c8
    # c9
    o0: 3 # c10
  # c11
  - # c12
    # c13
    o1: 9 # c14
  # c15
  - # c16
    # c17
    o8: *m4 # c18
# c19
p: !<tag:yaml.org,2002:pairs> # c20
  # c21
  - # c22
    # c23
    p0: 1 #c24
  # c25
  - # c26
    # c27
    p0: 2 # c28
# c29
s: !<tag:yaml.org,2002:set> # c30
  # c31
  s0: ~ # c32
  # c33
  s1: ~ # c34

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

{"base":{"o9":-4},"o":{"o0":3,"o1":9,"o8":{"o9":-4}},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

libfyaml yaml.v3

{"base":{"o9":-4},"o":[{"o0":3},{"o1":9},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":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

base:
    o9: -4
o:
    - o0: 3
    - o1: 9
    - o8:
        o9: -4
p:
    - p0: 1
    - p0: 2
s:
    s0: null
    s1: null

read back

{"base":{"o9":-4},"o":[{"o0":3},{"o1":9},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}
go-yaml accepted accept not scored same

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