generated/2568

sha256 6ce5f271da09c4cee43c6dc1abc15bfe776b98412d5dcb285075fe6e4d661a77

Document

%YAML 1.2
---
# c1
&a1 '"Ï
': true
# c2
&a2 '🌒': !<tag:yaml.org,2002:float> .nan

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
featuresnode/anchor node/tag-verbatim presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-single presentation/yaml-directive value/bool value/float value/float-special value/mapping value/non-string-key
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 [6:37] JSON has no number for .nan

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