generated/1344/stream

sha256 0c2f5c266ba74c10b36fdd84ce7a88804eb2368b774085975c408a41386edd0f

Document

%YAML 1.1
---
-454.75 # c1
...
!
? base
: # c2
 &m1
 ? b0
 : -3 # c3
 ? b1
 : -4 # c4
 ? b2
 : -2 # c5
? item
: # c6
 ? <<
 : !!seq [c0: -9, *m1] # c7
 ? d0
 : 4 # c8
 ? d1
 : 4 # c9

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/alias node/anchor node/tag-non-specific node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/document-suffix presentation/explicit-key presentation/flow-collection presentation/flow-pair presentation/multi-document presentation/plain presentation/property-line presentation/yaml-directive value/float value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml

accept

perlref yaml.v3 yamlstar

refuse by the parser

value split

go-yaml

-454.75
{"base":{"b0":-3,"b1":-4,"b2":-2},"item":{"\u003c\u003c":[{"c0":-9},{"b0":-3,"b1":-4,"b2":-2}],"d0":4,"d1":4}}

libfyaml

-454.75
{"base":{"b0":-3,"b1":-4,"b2":-2},"item":{"b0":-3,"b1":-4,"b2":-2,"c0":-9,"d0":4,"d1":4}}

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 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 4: 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.