generated/2845/swap neighbors/4

sha256 f99be45fab8e8a1f98e4225ef681822f34d1f26519aa7d5ee60ec8b6f58b744b

Document

---
! "- a"#  c1

Corpus

grammarinvalid
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

refuse by the parser

yaml.v3

accept

value

yaml.v3

"- a"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, invalid refuse by the parser n/i n/i
libfyaml rejected, invalid refuse by the parser not scored n/i stdin:2:8: error: invalid comment without whitespace after double-quoted scalar
yamlstar rejected, invalid refuse by the parser not scored n/i Error: parse: Parser finished before end of input
yaml.v3 accepted, explained accept not scored same comment-without-space: yaml.v3 takes a comment right after a closing quote or bracket, where s-b-comment needs a space before the '#': "{}# c1" is accepted
go-yaml rejected, invalid refuse by the parser not scored refused [2:8] a comment must be preceded by a space, and a scalar cannot begin with '#'

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