sha256 ef6dd10626d96d238ee33d5e5930feda0531d2917b2b9d01eb296e6e924a4cd1
%YAML 1.2 --- base: # c1 &m1 b0: +1 # c2 b1: -1 # c3 item: # c4 <<: *m1 # c5 d0: -5 # c6 d1: +2 # c7 ? - base # c8 : dup # c9 ? - base # c10 : dup2 # c11
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | encoding/byte-order-mark node/alias node/anchor presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/number-signed presentation/plain presentation/property-line presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/string |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yaml.v3
refuse by the parser
yamlstar
{"[\"base\"]":"dup2","base":{"b0":1,"b1":-1},"item":{"b0":1,"b1":-1,"d0":-5,"d1":2}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'sequence' | |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, settled refuse by the parser | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: found incompatible YAML document |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [12:3] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.