generated/2926

sha256 2c35d0049d4441e012da2add0cceb115f2d4996c1722f1f93abfe233f8afe230

Document

---
- -3.6501784011453043072282 # c1
- # c2
  ? !!merge <<
  : !!map &a2 # c3
    ? 'merged0'
    : -5 # c4
  ? &a1 '''a'
  : |2-
    .inf
- *a2 # c5

Corpus

grammarvalid, vouched for up to construct
representation/float-inexactopen from construct on: each parser's stance decides
featuresbreak/cr node/alias node/anchor node/tag-shorthand presentation/block-indicator presentation/block-literal presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-single presentation/tag-before-anchor value/float value/int value/mapping value/merge-key value/non-string-key value/sequence value/string
meaning (yaml-1.2-core)[-3.6501784011453043072282,{"'a":".inf","merged0":-5},{"merged0":-5}]

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

[-3.6501784011453043072282,{"'a":".inf","merged0":-5},{"merged0":-5}]

libfyaml

[-3.6501784011453045,{"'a":".inf","\u003c\u003c":{"merged0":-5}},{"merged0":-5}]

yaml.v3

[-3.6501784011453045,{"'a":".inf","merged0":-5},{"merged0":-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 different, explained n/i value: float-as-double: a float with more digits than a double holds comes back rounded: 1.143173161916425300746010 comes back as 1.1431731619164254
yamlstar rejected, explained refuse by the parser rejected, explained 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
value: 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 different, explained same value: float-as-float64: a float with more digits than a float64 holds comes back rounded: 1.0146890218152647300502110008166221703622 comes back as 1.0146890218152647
go-yaml accepted accept ok same

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