generated/523

sha256 08c80f830e2463ed3a69539aeb67f477b61eec6f44878cc8997605a5ecf8aabb

Document

%TAG !x! tag:yaml.org,2002:
---
!x!seq
- &a1 " "
-
  ? !x!merge <<
  : &a4
    ? merged1
    : -6
  ? &a2 "trail\n\n"
  : &a3 |-
    1.5
- !x!bool &a5 True
- True

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/anchor node/tag-handle presentation/block-literal presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/bool value/int value/mapping value/merge-key value/non-string-key value/sequence value/string
meaning (yaml-1.2-core)[" ",{"merged1":-6,"trail\n\n":"1.5"},true,true]

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml yaml.v3

[" ",{"merged1":-6,"trail\n\n":"1.5"},true,true]

libfyaml

[" ",{"\u003c\u003c":{"merged1":-6},"trail\n\n":"1.5"},true,true]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key
yamlstar rejected, explained refuse by the loader rejected, explained 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"
value: 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 ok same
go-yaml accepted accept ok same

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