generated/1049/duplicate a byte/2

sha256 282da1feb772b08b9bd884a4e3b1c2547850a6f2bb9fdf1203528e278382f956

Document

# c1
'base':
 &m1
 # c2
 'b0': -6
 # c3
 'b1': 0
# c4
!foo 'item':
 # c5
 !!merge <<:
  # c6
  - *m1
  # c7
  -
   # c8
   !!!str 'c0': !!int -7
 # c9
 'd0': -9
 # c10
 !!str 'd1': -5
 # c11
 'b0': 99

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":-6,"b1":0},"item":{"\u003c\u003c":[{"b0":-6,"b1":0},{"c0":-7}],"b0":99,"d0":-9,"d1":-5}}

yaml.v3

{"base":{"b0":-6,"b1":0},"item":{"b0":99,"b1":0,"c0":-7,"d0":-9,"d1":-5}}

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: -6
    b1: 0
item:
    b0: 99
    b1: 0
    c0: -7
    d0: -9
    d1: -5

read back

{"base":{"b0":-6,"b1":0},"item":{"b0":99,"b1":0,"c0":-7,"d0":-9,"d1":-5}}
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 [17:5] a tag cannot hold "!"

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