generated/656

sha256 c05fa7f143ac3edfe74346133b7ba6fdd66150046064a064ddeaed91e129c9a8

Document

%YAML 1.1
%TAG !n-1! tag:yaml.org,2002:
---
'base': # c1
     &m4
     'o9': -6 # c2
'o': # c3
     !n-1!omap
     - # c4
          'o0': -7 # c5
     - # c6
          <<: # c7
               'o9': 7 # c8
     - # c9
          'o1': 4 # c10
     - # c11
          'o8': *m4 # c12
'p': # c13
     !n-1!pairs
     - # c14
          'p0': 1 # c15
     - # c16
          'p0': 2 # c17

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresnode/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tag-directive presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"o9":-6},"o":{"o0":-7,"o9":7,"o1":4,"o8":{"o9":-6}},"p":[{"p0":1},{"p0":2}]}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"base":{"o9":-6},"o":{"o0":-7,"o1":4,"o8":{"o9":-6},"o9":7},"p":[{"p0":1},{"p0":2}]}

libfyaml yaml.v3 yamlstar

{"base":{"o9":-6},"o":[{"o0":-7},{"o9":7},{"o1":4},{"o8":{"o9":-6}}],"p":[{"p0":1},{"p0":2}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings
yamlstar accepted accept different, explained n/i value: merge-key-applied: the loader applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
yaml.v3 accepted accept different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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