generated/419/swap neighbors/10

sha256 cc020dfbca7118d044d5c190661438450f56740615529bf909d4c2a87bd0f33d

Document

---
# c1
!
foo "base": &m1	{"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
"item":	{<<: *m1, !foo "d0": -3, ! "d1": 0x0}

Corpus

grammarvalid, vouched for up to parse
encoding/bomopen from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml libfyaml

{"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"\u003c\u003c":{"b0":-2,"b1":3,"b2":3},"d0":-3,"d1":0}}

yaml.v3

{"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected after the parse refuse by the loader not scored n/i the loader rejects a document the corpus vouches for only up to parse Error: Unknown tag: !foo
yaml.v3 accepted accept not scored different
document 0

written

foo "base":
    b0: -2
    b1: 3
    b2: 3
item:
    b0: -2
    b1: 3
    b2: 3
    d0: -3
    d1: 0

read back

{"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}}
go-yaml accepted accept not scored same

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