generated/432/duplicate a byte/5

sha256 65552d9137211fec1a97d4fe6ad18d7adc45cb4592963f9592bd2ffa553472b6

Document

%TAG !e! tag:yaml.org,2002:
---
# c1
"base": &m4
     # c2
     "o9": -5
# c3
!e!str "o": !e!omap &m3
     # c4
     -
          # c5
          <<:
               # c6
               "o9": 7
     # c7
     -
          # c8

          "o0": 0
     # c9
     -
          # c10
          "o8": *m4
# c11
"again": *m3

Corpus

grammarvalid, vouched for up to parse
encoding/bomopen from parse on: each parser's stance decides
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":7},"o0":0,"o8":{"o9":-5}},"base":{"o9":-5},"o":{"\u003c\u003c":{"o9":7},"o0":0,"o8":{"o9":-5}}}

libfyaml

{"again":{"o9":7},"base":{"o9":-5},"o":[{"\u003c\u003c":{"o9":7}},{"o0":0},{"o8":{"o9":-5}}]}

yaml.v3

{"again":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}],"base":{"o9":-5},"o":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}]}

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 same
go-yaml accepted accept not scored same

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