generated/2429

sha256 b8ab7d590eb65b3ece348b4e7c9359252afd9a908be9729cbef63f81aa8fa129

Document

%YAML 1.1
---
- &a1	true
-
  !!str 190:20:30: !!float	-1.3e-334

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/anchor node/tag-shorthand presentation/document-marker presentation/plain presentation/tab-separation presentation/yaml-directive value/big-float value/bool value/mapping value/non-string-key value/sequence
meaning (yaml-1.2-core)[true,{"190:20:30":-1.3e-334}]

Answer groups

verdict

go-yaml perlref yaml.v3 yamlstar

accept

libfyaml

accept, then the loader refuses past parse

value split

go-yaml

[true,{"190:20:30":-0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013}]

yaml.v3 yamlstar

[true,{"190:20:30":0}]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader unscored n/i value: the loader rejects the document past parse, where the verdict is given ValueError: Failed to parse YAML/JSON
yamlstar accepted accept different, explained n/i value: float-past-double: floats are doubles: one too small comes back as 0, and one too large as Infinity, which JSON cannot write, so the runner holds no value for it
yaml.v3 accepted accept different, explained different
document 0

written

- true
- "190:20:30": -0

read back

[true,{"190:20:30":0}]
value: float-past-float64: a float too small for a float64 decodes as 0, and one too large is left a string, because yaml.v3 does not resolve it to a float: 9.999e+442 comes back as "9.999e+442"
go-yaml accepted accept ok same

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