generated/828

sha256 30d8d0b19c9708fd91d0fc64f39ef572b0f8b3284425b9bac7159b13dcec83c8

Document

---
# c1
<<: !!map
      # c2
      "merged0": +8
# c3
! "\t'ѓ": !!timestamp "1928-01-13"
# c4
", a": !!float -6.0
# c5
"+0b11": ~
# c6
"a: b": ~

Corpus

grammarvalid, vouched for up to construct
representation/timestampopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-non-specific node/tag-shorthand presentation/comment-above presentation/document-marker presentation/number-signed presentation/plain presentation/quoted-double presentation/time-date value/float value/int value/mapping value/merge-key value/non-string-key value/null value/timestamp
meaning (yaml-1.2-core){"\t'ѓ":"1928-01-13T00:00:00Z","+0b11":null,", a":-6,"\u003c\u003c":{"merged0":8},"a: b":null}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

{"\t'ѓ":"1928-01-13T00:00:00Z","+0b11":null,", a":-6,"\u003c\u003c":{"merged0":8},"a: b":null}

libfyaml

{"\t'ѓ":"1928-01-13","+0b11":null,", a":-6,"\u003c\u003c":{"merged0":8},"a: b":null}

yaml.v3

{"\t'ѓ":"1928-01-13T00:00:00Z","+0b11":null,", a":-6,"a: b":null,"merged0":8}

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: timestamp-as-text: the Python binding returns a !!timestamp as the text written, where the corpus states it in RFC 3339 form: "1900-10-14" for "1900-10-14T00:00:00Z"
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 different
document 0

written

"\t'ѓ": 1928-01-13T00:00:00Z
"+0b11": null
', a': -6
'a: b': null
merged0: 8

read back

{"\t'ѓ":"1928-01-13T00:00:00Z","+0b11":null,", a":-6,"a: b":null,"merged0":8}
value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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