generated/2320/stream

sha256 521c04871f068b2b86790a67f062cfe083d031671fd558d4d1e8e610c0496c9f

Document

!!int -592736131019381789461121751 # c1
...
true # c2
...
# c3
base: # c4
 &m1
 # c5
 b0: -3 # c6
 # c7
 b1: -7 # c8
# c9
item: # c10
 # c11
 <<: # c12
  !!map
  # c13
  c0: -8 # c14
 # c15
 d0: -7 # c16

Corpus

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

Answer groups

verdict split

go-yaml

accept

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

refuse by the parser

yaml.v3

refuse by the loader

value

go-yaml

-592736131019381789461121751
true
{"base":{"b0":-3,"b1":-7},"item":{"\u003c\u003c":{"c0":-8},"d0":-7}}

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 refuse by the loader not scored n/i ValueError: Failed to parse YAML/JSON
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 loader not scored refused int-past-int64: an integer past int64 and uint64 resolves to a float, so a !!int tag on it rejects the document: !!int 709020151362207020812 yaml.v3: yaml: cannot decode !!float `-592736131019381789461121751` as a !!int
go-yaml accepted accept not scored same

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