generated/1444

sha256 bfc7c6231e778304ea3865e0eab1f7a232e301c09260c7e5da542226e9c4893e

Document

base: # c1
   &m1
   b0: 2 # c2
item: # c3
   <<: # c4
      &m2
      c0: -3 # c5
   ! d0: -2 # c6
   d1: 2 # c7
   b0: 99 # c8
again: *m2 # c9

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/alias node/anchor node/tag-non-specific presentation/comment-inline presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"again":{"c0":-3},"base":{"b0":2},"item":{"\u003c\u003c":{"c0":-3},"b0":99,"d0":-2,"d1":2}}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml libfyaml

{"again":{"c0":-3},"base":{"b0":2},"item":{"\u003c\u003c":{"c0":-3},"b0":99,"d0":-2,"d1":2}}

yaml.v3

{"again":{"c0":-3},"base":{"b0":2},"item":{"b0":99,"c0":-3,"d0":-2,"d1":2}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted accept ok n/i
yamlstar rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
Error: parse: Parser finished before end of input
yaml.v3 accepted accept different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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