generated/1136/stream

sha256 03d9a5441324e3432537789c6f20176fdba8138d8649f2026317ba25abfce666

Document

%TAG !TAG2! tag:yaml.org,2002:
---
'base':
      &m1
      'b0': 7
      'b1': -7
      'b2': -1
'item':
      &k1 <<:
            !TAG2!map
            'c0': 4
            'c1': 1
      'd0': -2
      'd1': !TAG2!int -1
---
'base':
      &m1
      'b0': 9
      'b1': 0
'item':
      !!merge <<:
            !!pairs
            - *m1
            -
                  !!set
                  !!str 'c0': -4
                  'c1': -2
      'd0': -1
      'b0': !!int 99

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor node/tag-handle node/tag-shorthand presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/quoted-single presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"base":{"b0":7,"b1":-7,"b2":-1},"item":{"\u003c\u003c":{"c0":4,"c1":1},"d0":-2,"d1":-1}}
{"base":{"b0":9,"b1":0},"item":{"b0":99,"b1":0,"c0":-4,"c1":-2,"d0":-1}}

libfyaml

{"base":{"b0":7,"b1":-7,"b2":-1},"item":{"\u003c\u003c":{"c0":4,"c1":1},"d0":-2,"d1":-1}}
{"base":{"b0":9,"b1":0},"item":{"\u003c\u003c":[{"b0":9,"b1":0},{"c0":-4,"c1":-2}],"b0":99,"d0":-1}}

yaml.v3

{"base":{"b0":7,"b1":-7,"b2":-1},"item":{"c0":4,"c1":1,"d0":-2,"d1":-1}}
{"base":{"b0":9,"b1":0},"item":{"b0":99,"b1":0,"c0":-4,"c1":-2,"d0":-1}}

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 accepted accept not scored same
go-yaml accepted accept not scored same

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