generated/2089

sha256 d8fbd8e75be9073485c625160af02f68355e4cab660556dd4166b9688db5a050

Document

%TAG !e! tag:yaml.org,2002:
---
{? &a1 -5.0: True, ? "12:00.5": *a1, ? !e!null ~, ? "trailing ": 0o74}

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/flow-key-alone presentation/number-octal presentation/plain presentation/quoted-double presentation/tag-directive value/bool value/int value/mapping value/non-string-key value/null
meaning (yaml-1.2-core){"-5.0":true,"12:00.5":-5,"null":null,"trailing ":60}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"-5.0":true,"12:00.5":-5,"null":null,"trailing ":60}

yaml.v3

yamlstar

{"-5.0":true,"12:00.5":-5,"null":null,"trailing ":"0o74"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
yaml.v3 accepted accept different, explained different
document 0

written

-5: true
null: null
"12:00.5": -5
'trailing ': 60

read back

map[interface {}]interface {}{interface {}(nil):interface {}(nil), "12:00.5":-5, "trailing ":60, -5:true}
value: json-cannot-write: yaml.v3 decodes a mapping with a key that is not a string into a map[any]any, which encoding/json cannot write, so the runner has no value for the document: "-0.0: true"
go-yaml accepted accept ok same

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