generated/280/a key repeated

sha256 147723d30e4057782d321f79cd1531e189b4db7acb9776d2dcc639a4fc7f137a

Document

%YAML 1.1
---
? "\x62\x61\x73\x65"
: &m4 # c1
      ? "\x6F\x39"
      : -3 # c2
? "\x62\x61\x73\x65"
: &m3 !<tag:yaml.org,2002:omap> # c3
      - # c4
            ? "\x6F\x30"
            : 4 # c5
      - # c6
            ? "\x6F\x31"
            : -1 # c7
      - # c8
            ? <<
            : *m4 # c9
      - # c10
            ? "\x6F\x38"
            : *m4 # c11
? "\x61\x67\x61\x69\x6E"
: *m3 # c12

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/alias node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/escape-hex presentation/explicit-key presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value split

libfyaml

{"again":{"o0":4},"base":[{"o0":4},{"o1":-1},{"o9":-3},{"o8":{"o9":-3}}]}

yamlstar

{"9710397105110":[{"11148":4},{"11149":-1},{"11157":-3},{"11156":{"11157":-3}}],"9897115101":[{"11148":4},{"11149":-1},{"11157":-3},{"11156":{"11157":-3}}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
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 [7:1] mapping key "base" already defined at [3:1]

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