generated/1943/a duplicate entry appended

sha256 064d3c44e9dcc5f7f616fecf315d47dc94e3811a65e1033b304166d572c3c0ba

Document

---
!!seq
# c1
- &a3
    # c2
    - &a1 !!bool True
    # c3
    -
    # c4
    -
        # c5
        ? !!merge <<
        : !!seq
            # c6
            -
                # c7
                ? '  '
                : 3
                # c8
                ? '  '
                : >-
                    dup
            # c9
            -
                # c10
                ? '  '
                : -2
        # c11
        ? '  '
        :
        # c12
        ? '+0b11'
        : 1.0
    # c13
    -
        # c14
        ? ''
        : &a2 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000876019146229867
# c15
-
    # c16
    ? &a4 ' '
    : &a5 False
# c17
- !!bool False

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-shorthand presentation/block-folded presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-single value/bool value/float value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml perlref

accept

value

libfyaml

[[true,null,{"  ":null,"+0b11":1,"\u003c\u003c":[{"  ":"dup"},{"  ":-2}]},{"":0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000876019146229867}],{" ":false},false]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:yaml.org,2002:merge
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 [20:17] mapping key " " already defined at [17:17]

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