generated/1072/stream

sha256 bbbf5d29763f5a291d9c10a0d2dd9552da86871b5da842422d60e0ea379863f5

Document

---
? !foo base
:
      &m1
      ? b0
      : 0o7
? !foo item
:
      ? <<
      : *m1
      ? d0
      : 0o4
...
---
&a1 True
...
---
? base
:
      &m1
      ? b0
      : 0o5
      ? b1
      : 0o0
      ? b2
      : 0o7
? item
:
      ? &k1 <<
      :
            !!map
            ? c0
            : -1
            ? c1
            : -3
      ? !foo d0
      : !!int 0o11
      ? d1
      : 0o10

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/cr encoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-shorthand presentation/document-marker presentation/document-suffix presentation/explicit-key presentation/multi-document presentation/number-octal presentation/plain presentation/property-line value/bool value/int value/mapping value/merge-key value/non-string-key
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml libfyaml

{"base":{"b0":7},"item":{"\u003c\u003c":{"b0":7},"d0":4}}
true
{"base":{"b0":5,"b1":0,"b2":7},"item":{"\u003c\u003c":{"c0":-1,"c1":-3},"d0":9,"d1":8}}

yaml.v3

{"base":{"b0":7},"item":{"b0":7,"d0":4}}
true
{"base":{"b0":5,"b1":0,"b2":7},"item":{"c0":-1,"c1":-3,"d0":9,"d1":8}}

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:
    b0: 7
item:
    b0: 7
    d0: 4

read back

{"base":{"b0":7},"item":{"b0":7,"d0":4}}
go-yaml accepted accept not scored same

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