generated/2474

sha256 a528367b67bc58434a4e8a5ea2f0e0b409fc7e8a43193520b8a3a4ca43a7aae9

Document

# c1
'base': # c2
 &m4
 # c3
 'o9': +3 # c4
# c5
'o': # c6
 &m3 !<tag:yaml.org,2002:omap>
 # c7
 - # c8
  # c9
  'o0': +7 # c10
 # c11
 - # c12
  # c13
  'o1': -6 # c14
 # c15
 - # c16
  # c17
  'o8': *m4 # c18
# c19
'again': *m3 # c20
# c21
's': # c22
 !<tag:yaml.org,2002:set>
 # c23
 's0': NULL # c24

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/number-signed presentation/plain presentation/property-line presentation/quoted-single value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"again":{"o0":7,"o1":-6,"o8":{"o9":3}},"base":{"o9":3},"o":{"o0":7,"o1":-6,"o8":{"o9":3}},"s":{"s0":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"o0":7,"o1":-6,"o8":{"o9":3}},"base":{"o9":3},"o":{"o0":7,"o1":-6,"o8":{"o9":3}},"s":{"s0":null}}

libfyaml

{"again":{"o0":7},"base":{"o9":3},"o":[{"o0":7},{"o1":-6},{"o8":{"o9":3}}],"s":{"s0":null}}

yaml.v3 yamlstar

{"again":[{"o0":7},{"o1":-6},{"o8":{"o9":3}}],"base":{"o9":3},"o":[{"o0":7},{"o1":-6},{"o8":{"o9":3}}],"s":{"s0":null}}

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: ordered-map-as-sequence: the loader has no ordered map, and builds !!omap as a sequence of one-pair mappings
yaml.v3 accepted accept different, explained same value: ordered-map-as-sequence: yaml.v3 has no ordered map, and decodes !!omap as a sequence of one-pair mappings
go-yaml accepted accept ok same

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