generated/616/stream

sha256 9e9b8fb24df8d0df05c42c89179acbbab00f20c6c5716102764064344fbf669c

Document

# c1
base:
  &m1
  # c2
  b0: -3
  # c3
  b1: 3
# c4
item:
  # c5
  !!merge <<:
    !!map
    # c6
    c0: 0
    # c7
    c1: 5
  # c8
  d0: 4
...
!!null

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-above presentation/document-suffix presentation/multi-document presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key value/null
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml

accept

perlref yaml.v3 yamlstar

refuse by the parser

value split

go-yaml

{"base":{"b0":-3,"b1":3},"item":{"c0":0,"c1":5,"d0":4}}
null

libfyaml

{"base":{"b0":-3,"b1":3},"item":{"\u003c\u003c":{"c0":0,"c1":5},"d0":4}}
null

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the parser not scored n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document Error: parse: Parser finished before end of input
yaml.v3 rejected, explained refuse by the parser not scored refused bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream yaml.v3: yaml: line 19: did not find expected <document start>
go-yaml accepted accept not scored same

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