generated/2457

sha256 302adbe3e1ad34330a190cde7af85dafd69bd2ac44ae6e961830cb8937e6adcd

Document

%TAG !n-1! tag:yaml.org,2002:
---
!n-1!pairs ["", [null, False, {? ".0": -2.929409550462124015221819120584774726901162475181}, !n-1!str "a #b"], .inf, 4.0] # c1

Corpus

grammarvalid, vouched for up to construct
json/not-representableopen from construct on: each parser's stance decides
representation/float-inexactopen from construct on: each parser's stance decides
representation/float-non-finiteopen from construct on: each parser's stance decides
featuresbreak/crlf node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-directive value/bool value/float value/float-special value/mapping value/null value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml perlref yaml.v3 yamlstar

accept

value

libfyaml yaml.v3 yamlstar



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar accepted accept not scored n/i
yaml.v3 accepted accept not scored different
document 0

written

- ""
- - null
  - false
  - ".0": -2.929409550462124
  - 'a #b'
- .inf
- 4

read back

[]interface {}{"", []interface {}{interface {}(nil), false, map[string]interface {}{".0":-2.929409550462124}, "a #b"}, +Inf, 4}
go-yaml rejected, explained refuse by the loader not scored refused json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged [3:112] JSON has no number for .inf

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