generated/1081/a collection key written twice

sha256 48d8d1ba84abffbc315e13d82280e92860a0a732022c8eefa8ff04d0cdac9938

Document

---
!
# c1
-
      !<tag:yaml.org,2002:map> &a2
      # c2
      <<:
            &a1
            # c3
            -
                  # c4
                  'é': 4
                  # c5
                  ?
                        # c6
                        - >6-
                              é


                  : >6-
                        dup


                  # c7
                  ?
                        # c8
                        - >6-
                              é


                  : >6-
                        dup2


            # c9
            -
                  # c10
                  'é': -4
      # c11
      'é': !<tag:yaml.org,2002:float> .nan

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/anchor node/tag-non-specific node/tag-verbatim presentation/block-folded presentation/block-indicator presentation/chomp-padded presentation/comment-above presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

value

yamlstar



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 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 [16:25] a sequence cannot be a JSON key

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