generated/675/substitute an indicator/10

sha256 5cfbca5c218e68c62d12b74fb98c91b88aa7ce3cb3863c310f0e7fede0ad7d22

Document

%TAG !n-1! tag:yaml.org,2002:
---
!n-1!set
'base': &m1 # c1
      'b0': 3 # c2
'item': # c3
      !n-1!merge <<: !n-1!seq # c4
            - # c5
                  'c0': -3 # c6
            - *m1 # c7
      !n-1!str 'd0': -6 # c8
      !foo 'd1': -8 # c9
      'b0': !n-1!i!t 99 # c10

Corpus

grammarinvalid
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml perlref yamlstar

refuse by the parser

libfyaml yaml.v3

accept

value split

libfyaml

{"base":{"b0":3},"item":{"\u003c\u003c":[{"c0":-3},{"b0":3}],"b0":99,"d0":-6,"d1":-8}}

yaml.v3

{"base":{"b0":3},"item":{"b0":"99","c0":-3,"d0":-6,"d1":-8}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, invalid refuse by the parser n/i n/i
libfyaml accepted, explained accept not scored n/i tag-shorthand-unchecked: fy-tool reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!n-1!int -2" is accepted
yamlstar rejected, invalid refuse by the parser not scored n/i Error: parse: Parser finished before end of input
yaml.v3 accepted, explained accept not scored different
document 0

written

base:
    b0: 3
item:
    b0: "99"
    c0: -3
    d0: -6
    d1: -8

read back

{"base":{"b0":3},"item":{"b0":"99","c0":-3,"d0":-6,"d1":-8}}
tag-shorthand-unchecked: yaml.v3 reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!!int" and "!!bina[ry" are accepted
go-yaml rejected, invalid refuse by the parser not scored refused [13:14] a tag cannot hold "!"

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