generated/1576/a key repeated

sha256 2a02ad8f6d841d821c911f8ade27646cd29d2611782947c6b3133bbe056e0b68

Document

{? 'base': &m1 {? 'b0': -7, ? 'b1': 9}, ? 'base': {? <<: !!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
key/duplicatereject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node
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 (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept

perlref yamlstar

refuse by the parser

value

libfyaml

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

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 not scored n/i
yamlstar rejected, explained refuse by the parser not scored 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 Error: parse: Parser finished before end of input
yaml.v3 rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node yaml.v3: yaml: unmarshal errors:
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node [1:41] mapping key "base" already defined at [1:2]

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