generated/1576

sha256 cdbbae40ed19c94ccf6cd550d1f0d2c71ee58d0c4abbb28c96a4cd6247deb5e3

Document

{? 'base': &m1 {? 'b0': -7, ? 'b1': 9}, ? 'item': {? <<: !!seq [{? 'c0': 1, ? 'c1': 3}, *m1], ? 'b0': 99}} # c1

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/comment-inline presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":-7,"b1":9},"item":{"\u003c\u003c":[{"c0":1,"c1":3},{"b0":-7,"b1":9}],"b0":99}}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml libfyaml

{"base":{"b0":-7,"b1":9},"item":{"\u003c\u003c":[{"c0":1,"c1":3},{"b0":-7,"b1":9}],"b0":99}}

yaml.v3

{"base":{"b0":-7,"b1":9},"item":{"b0":99,"b1":9,"c0":1,"c1":3}}

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.