generated/1547/a collection key written twice

sha256 15e827306590a007f8fd37b400d955f729a51b05a3c2114b0dd6d402ebc0000f

Document

%TAG !TAG2! tag:yaml.org,2002:
---
"":	Null
"75-u.Z-4  #":	Null
?
  -	"-1"
: !TAG2!set	{}
?
  -	"Ⱥ7P\u0007 "
:	True
?
  -	""
:	"dup"
?
  -	""
:	"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/tag-handle presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tab-separation presentation/tag-directive value/bool value/empty-collection value/mapping value/non-string-key value/null value/string
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

yaml.v3

refuse by the parser

value

yamlstar

{"":null,"75-u.Z-4  #":null,"[\"\"]":"dup2","[\"-1\"]":{},"[\":7P7�\"]":true}

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 accepted accept not scored n/i
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 6: 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 [6:3] a sequence cannot be a JSON key

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