generated/1867

sha256 fe9215f8496e2a515269f25709857707749b4ec8150626f45bd9ad9a1177deeb

Document

# c1
'&a':
     # c2
     -8.0: -5
     # c3
     !!null Null: []
# c4
&a1 -2: .nan
# c5
&a2 '+0b11':
     # c6
     '': &a3
          # c7
          - '6#'
# c8
?
     # c9
     '.fUQgGR': 0o61
: *a1

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/alias node/anchor node/tag-shorthand presentation/comment-above presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/number-octal presentation/plain presentation/quoted-single value/empty-collection value/float value/float-special value/int value/mapping value/non-string-key value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

value

yamlstar



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'mapping'
yamlstar accepted accept not scored n/i
yaml.v3 rejected, explained refuse by the loader not scored refused collection-key: yaml.v3 decodes a mapping into a Go map, and a Go map cannot take a sequence or a mapping as a key: "? [1, 2]" rejects the document yaml.v3: yaml: invalid map key: map[string]interface {}{".fUQgGR":49}
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 [8:9] JSON has no number for .nan

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