generated/1289

sha256 3daca2b6f24d915589445d86083e5850e638995a9e3974c59b9a55abc97e4921

Document

!<!foo>
# c1
&a1 <<: !<tag:yaml.org,2002:seq>
 # c2
 -
  # c3
  'merged0': -1
 # c4
 -
  # c5
  'merged2': 0
# c6
-591.2540947231547: !<tag:yaml.org,2002:null> ~
# c7
!<tag:yaml.org,2002:int> 911: !<tag:yaml.org,2002:binary> 'BQ=='

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
featuresbreak/crlf node/anchor node/tag-verbatim presentation/comment-above presentation/plain presentation/quoted-single value/binary value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (yaml-1.2-core){"-591.2540947231547":null,"911":"BQ==","\u003c\u003c":[{"merged0":-1},{"merged2":0}]}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"-591.2540947231547":null,"911":"BQ==","\u003c\u003c":[{"merged0":-1},{"merged2":0}]}

libfyaml

{"-591.2540947231547":null,"911":"\u0005","\u003c\u003c":[{"merged0":-1},{"merged2":0}]}

yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: binary-as-bytes: the Python binding decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Aw==" comes back as "\u0003"
yamlstar rejected, explained refuse by the loader rejected, explained n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
Error: Unknown tag: tag:yaml.org,2002:binary
yaml.v3 accepted accept different, explained same 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.