generated/698

sha256 bc128e993537cc677161cefedaa0c54aa6cf5b630286509ca7a1b2adbf166d1a

Document

---
&a2
# c1
!foo '0x_1F':
 &a1
 # c2
 '? a':	2
# c3
'o-z':	.inf

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
json/not-representableopen from construct on: each parser's stance decides
representation/float-non-finiteopen from construct on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/anchor node/tag-local presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation value/float value/float-special value/int value/mapping value/non-string-key
meaning (none stated)

Answer groups

verdict split

go-yaml yamlstar

refuse by the loader

libfyaml perlref yaml.v3

accept

value

libfyaml yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: !foo
yaml.v3 accepted accept not scored different
document 0

written

"0x_1F":
    '? a': 2
o-z: .inf

read back

map[string]interface {}{"0x_1F":map[string]interface {}{"? a":2}, "o-z":+Inf}
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 [9:8] JSON has no number for .inf

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