generated/352/stream

sha256 6865f5feee691809cfa5931ae1a5cb27a1c86f871980422c4558cc869dc1d779

Document

%YAML 1.1
---
!!map
'base':
 &m1
 'b0': -6
 'b1': 0x0
 'b2': 0x1
'item':
 &k1 <<:
  !!seq
  -
   'c0': 0x0
  - *m1
 !foo 'd0': 0x6
---

---
't': !!timestamp '2095-02-24t02:31:00.1Z'
'b': !!binary '3jgXIwMBAw4nARwE'

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/alias node/anchor node/tag-local node/tag-shorthand presentation/document-marker presentation/multi-document presentation/number-hex presentation/plain presentation/property-line presentation/quoted-single presentation/time-lower-t presentation/yaml-directive 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 yaml.v3

accept

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

refuse by the parser

value split

go-yaml

{"base":{"b0":-6,"b1":0,"b2":1},"item":{"b0":-6,"b1":0,"b2":1,"c0":0,"d0":6}}
null
{"b":"3jgXIwMBAw4nARwE","t":"2095-02-24T02:31:00.1Z"}

yaml.v3

{"base":{"b0":-6,"b1":0,"b2":1},"item":{"b0":-6,"b1":0,"b2":1,"c0":0,"d0":6}}
null
{"b":"�8\u0017#\u0003\u0001\u0003\u000e'\u0001\u001c\u0004","t":"2095-02-24T02:31:00.1Z"}

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 0xde in position 0: 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 accepted accept not scored different
document 0

written

base:
    b0: -6
    b1: 0
    b2: 1
item:
    b0: -6
    b1: 0
    b2: 1
    c0: 0
    d0: 6

read back

{"base":{"b0":-6,"b1":0,"b2":1},"item":{"b0":-6,"b1":0,"b2":1,"c0":0,"d0":6}}
go-yaml accepted accept not scored same

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