generated/1588

sha256 016c1719ef7d7abddda7d1e0b8918c109bf2b44fade127c1767ed3ef85ef755c

Document

%TAG !TAG2! tag:yaml.org,2002:
---
!foo {'5EOI p1-W': !TAG2!int -902, '`a': .inf, ~: !TAG2!int -13}

Corpus

grammarvalid, vouched for up to construct
json/not-representableopen from construct on: each parser's stance decides
representation/float-non-finiteopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-handle node/tag-local presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-single presentation/tag-directive value/float value/float-special value/int value/mapping value/non-string-key
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 same
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:42] JSON has no number for .inf

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