generated/2824/stream

sha256 36ffc31269cf525dee545c0f65e98870a9e3e8370a1e46c9af81f8c6de6038ce

Document

---
!<tag:yaml.org,2002:set>
# c1
"base": # c2
   &m1
   # c3
   "b0": -3 # c4
# c5
"item": # c6
   # c7
   &k1 <<: # c8
      # c9
      - *m1 # c10
      # c11
      - {!<tag:yaml.org,2002:str> "c0": -3, "c1": !<tag:yaml.org,2002:int> 03} # c12
   # c13
   "d0": -2 # c14
...
---
# c15
"n": !<tag:yaml.org,2002:null> NULL # c16
# c17
! "t": !<tag:yaml.org,2002:timestamp> "1901-01-02 00:43:05.19Z" # c18
# c19
!<!foo> "b": !<tag:yaml.org,2002:binary> "JfH/WA4RcR8CBgEZ" # c20

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/document-marker presentation/document-suffix presentation/flow-collection presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double presentation/time-spaced value/binary value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/timestamp
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

{"base":{"b0":-3},"item":{"\u003c\u003c":[{"b0":-3},{"c0":-3,"c1":3}],"d0":-2}}
{"b":"JfH/WA4RcR8CBgEZ","n":null,"t":"1901-01-02T00:43:05.19Z"}

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 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 1: invalid continuation byte
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 timestamp-space-and-zone: yaml.v3 reads a timestamp with a space before the time only without a time zone, so a !!timestamp tag on "2001-12-14 21:59:43.10 -5" or "1913-07-08 02:01:00.19Z", both of the 1.1 timestamp type, rejects the document yaml.v3: yaml: cannot decode !!str `1901-01-02 00:43:05.19Z` as a !!timestamp
go-yaml accepted accept not scored same

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