generated/1776/stream

sha256 285985546efde8061bdbb545492d2deee78ea6dfce12cb23a05e0dbd51e6b225

Document

---
# c1
base:
   &m1
   # c2
   b0: -3
   # c3
   b1: 9
# c4
! item:
   # c5
   !!merge <<:
      &m2
      # c6
      c0: -5
   # c7
   d0: -6
   # c8
   d1: !!int -4
   # c9
   b0: 99
# c10
!foo again: *m2
...
---
!!bool True

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor node/tag-local node/tag-non-specific node/tag-shorthand presentation/comment-above presentation/document-marker presentation/document-suffix presentation/multi-document presentation/plain presentation/property-line value/bool value/int value/mapping value/merge-key value/non-string-key
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml yaml.v3

{"again":{"c0":-5},"base":{"b0":-3,"b1":9},"item":{"b0":99,"c0":-5,"d0":-6,"d1":-4}}
true

libfyaml

{"again":{"c0":-5},"base":{"b0":-3,"b1":9},"item":{"\u003c\u003c":{"c0":-5},"b0":99,"d0":-6,"d1":-4}}
true

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 different
document 0

written

again:
    c0: -5
base:
    b0: -3
    b1: 9
item:
    b0: 99
    c0: -5
    d0: -6
    d1: -4

read back

{"again":{"c0":-5},"base":{"b0":-3,"b1":9},"item":{"b0":99,"c0":-5,"d0":-6,"d1":-4}}
go-yaml accepted accept not scored same

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