generated/1376

sha256 5bf1284dd6b7d3c984cbfb2f711201bc0af8411930557c5f0dabdeb1b80c75bf

Document

!<tag:yaml.org,2002:set>
"base":
  &m1
  "b0": 1
  "b1": 4
  "b2": 0
"item":
  &k1 !<tag:yaml.org,2002:merge> <<: *m1
  "d0": 7

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-verbatim presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":1,"b1":4,"b2":0},"item":{"b0":1,"b1":4,"b2":0,"d0":7}}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml yaml.v3

{"base":{"b0":1,"b1":4,"b2":0},"item":{"b0":1,"b1":4,"b2":0,"d0":7}}

libfyaml

{"base":{"b0":1,"b1":4,"b2":0},"item":{"\u003c\u003c":{"b0":1,"b1":4,"b2":0},"d0":7}}

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 different, explained n/i value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key
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 ok same
go-yaml accepted accept ok same

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