generated/2540

sha256 b09d10dc58124b9354cf2a3a829e652672b393456ac2203320bc37ce31f77242

Document

&a3 [!<tag:yaml.org,2002:int> 0x1, !<!foo> {&a1 <<: !<tag:yaml.org,2002:map> {'Null': 0x1}, 'Null': !<tag:yaml.org,2002:binary> 'AAQ4IAEB'}, 'a: b', &a2 '']

Corpus

grammarvalid, vouched for up to construct
representation/binaryopen from construct on: each parser's stance decides
featuresnode/anchor node/tag-verbatim presentation/flow-collection presentation/number-hex presentation/plain presentation/quoted-single value/binary value/int value/mapping value/merge-key value/non-string-key value/sequence value/string
meaning (yaml-1.2-core)[1,{"\u003c\u003c":{"Null":1},"Null":"AAQ4IAEB"},"a: b",""]

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

[1,{"\u003c\u003c":{"Null":1},"Null":"AAQ4IAEB"},"a: b",""]

libfyaml

[1,{"\u003c\u003c":{"Null":1},"Null":"\u0000\u00048 \u0001\u0001"},"a: b",""]

yaml.v3

[1,{"Null":"\u0000\u00048 \u0001\u0001"},"a: b",""]

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 integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
value: integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
Error: YAML integer out of supported range: 0x1. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
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.