generated/2665

sha256 c6a451ed4f9ab59d7151e3975d7149f7450760e4a6c4c018d82157415bf9c9d3

Document

%YAML 1.2
%TAG !x! tag:yaml.org,2002:
---
!x!float .nan # c1

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 presentation/comment-inline presentation/document-marker presentation/plain presentation/tag-directive presentation/yaml-directive value/float value/float-special
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value

libfyaml 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 rejected, explained refuse by the parser not scored refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document yaml.v3: yaml: found incompatible YAML document
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 [4:10] JSON has no number for .nan

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