generated/492/a key repeated

sha256 e9bcd8093dae93cedc7ef907f186932f20336dbcc605198668b854cae4b0deb0

Document

%TAG !n-1! tag:yaml.org,2002:
---
# c1
-	# c2
   # c3
   "": !n-1!float	0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020902722826084166	# c4
   # c5
   "": &a2	# c6
# c7
- !n-1!null &a3	# c8
# c9
-	-719943273427239793391	# c10
# c11
-	# c12
   # c13
   <<: &a4	# c14
      # c15
      -	*a1	# c16
      # c17
      -	# c18
         # c19
         "#":	-2	# c20
   # c21
   "#":	# c22

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
featuresnode/alias node/anchor node/tag-handle presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-double presentation/tab-separation presentation/tag-before-anchor presentation/tag-directive value/big-int value/float value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the composer

libfyaml

accept, then the loader refuses past parse

perlref

accept

yaml.v3

refuse by the parser

yamlstar

refuse by the loader

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 ValueError: Failed to parse YAML/JSON
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: -719943273427239793391. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
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 4: found character that cannot start any token
go-yaml rejected, settled refuse by the composer 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:10] could not find alias "a1"

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