generated/2434/a collection key written twice

sha256 2121b8700671e74be68db2e53f7e453492b9ddcb7e304761dc3a655f13a07b25

Document

# c1
"base":
  &m1
  # c2
  "b0": -3
  # c3
  "b1": 0x0
  # c4
  "b2": 0x2
# c5
"item":
  # c6
  &k1 !<tag:yaml.org,2002:merge> <<:
    !<tag:yaml.org,2002:pairs>
    # c7
    - *m1
    # c8
    -
      # c9
      "c0": -4
      # c10
      "c1": !<tag:yaml.org,2002:int> 0x7
  # c11
  "d0": 0x0
  # c12
  "b0": 0x63
# c13
?
  # c14
  - |2-
    base


: |2-
  dup


# c15
?
  # c16
  - |2-
    base


: |2-
  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
featuresencoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/block-indicator presentation/block-literal presentation/chomp-padded presentation/comment-above presentation/explicit-key presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/property-line presentation/quoted-double 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

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar rejected, explained refuse by the parser not scored n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document Error: parse: Parser finished before end of input
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 [30:3] a sequence cannot be a JSON key

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