generated/419/a collection key written twice

sha256 9d63c4034fd5800bb2933ca0d6958ebc2693a7b48a132b34a8fa0cd7f33a33da

Document

---
# c1
!foo "base": &m1	{"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
"item":	{<<: *m1, !foo "d0": -3, ! "d1": 0x0}
# c3
?
  # c4
  - !foo	"base"
:	"dup"
# c5
?
  # c6
  - !foo	"base"
:	"dup2"

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
featuresbreak/crlf encoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-non-specific presentation/comment-above presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yamlstar

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref

accept

yaml.v3

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: !foo
yaml.v3 rejected, settled refuse by the parser 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: line 10: found character that cannot start any token
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 [9:3] a sequence cannot be a JSON key

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