generated/319/a collection key written twice

sha256 0712e799622f68cf708409c7f5f5344912873da6addb4e9c199b81e3482f93d5

Document

%YAML 1.1
---
? TRUE
: # c1
 - 03324443133035371040720462022442217356534724073001 # c2
 - # c3
  ? !foo "\U0001F638\U0001F334"
  : null # c4
 - # c5
  ? "\U00000306\U00000000"
  : # c6
   ? "\U00000022"
   : "\U0000005C\U00000100\U00000020\U0000000A\U000001D9\U00000009" # c7
   ? "\U00000065\U00000301"
   : -979.4835916624767 # c8
 - FALSE # c9
?
 - TRUE # c10
: >1-
 dup
?
 - TRUE # c11
: >1-
 dup2

Corpus

grammarvalid, vouched for up to construct
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/cr node/tag-local presentation/block-folded presentation/block-indicator presentation/comment-inline presentation/document-marker presentation/escape-long presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/yaml-directive value/big-int value/bool value/float value/mapping value/non-string-key value/null value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref

accept

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i key/duplicate: the grammar has no production against a key written twice, and the reference parser implements the grammar alone, so it does not check this settled rule
libfyaml accepted refuse by the loader not scored n/i key/duplicate: fy-tool writes events without checking for a key written twice, and accepts most documents that write one TypeError: unhashable type: 'sequence'
yamlstar rejected, explained refuse by the loader not scored n/i integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal Error: YAML integer out of supported range: 03324443133035371040720462022442217356534724073001. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
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 [18:2] a sequence cannot be a JSON key

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