generated/411/swap neighbors/3

sha256 d4893d846dbb8e15410a046ae2494869c2e87d1747915c8ec51cb61a52b5b372

Document

%YAML1 .1
---
# c1
"base": &m1
    # c2
    "b0": 4
    # c3
    "b1": -9
# c4
"item": !<!foo>
    # c5
    <<: !<tag:yaml.org,2002:map> {"c0": -8, "c1": -1}

Corpus

grammarvalid, vouched for up to parse
directive/reservedaccept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused
encoding/bomopen from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml libfyaml

{"base":{"b0":4,"b1":-9},"item":{"\u003c\u003c":{"c0":-8,"c1":-1}}}

yamlstar

{"base":{"b0":4,"b1":-9},"item":{"c0":-8,"c1":-1}}

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 reserved-directive-refused: yaml.v3 rejects a directive other than %YAML and %TAG, and a directive name with a character other than a letter, a digit, '-' or '_', where 6.8 ignores a reserved directive with a warning yaml.v3: yaml: found unknown directive name
go-yaml accepted accept not scored same

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