generated/280/a duplicate entry appended

sha256 848dd8e65f9d1a0678a5701bc4583388c07ead34c6e2a776dde01c2636b8aedd

Document

%YAML 1.1
---
? "\x62\x61\x73\x65"
: &m4 # c1
      ? "\x6F\x39"
      : -3 # c2
? "\x6F"
: &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
? "\x62\x61\x73\x65"
: "\x64\x75\x70" # c13

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 value/string
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":"dup","o":[{"o0":4},{"o1":-1},{"o9":-3},{"o8":{"o9":-3}}]}

yamlstar

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

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 [23:1] mapping key "base" already defined at [3:1]

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