generated/77

sha256 31a1a079dceaef69968dbf17bb2852c996b63996db1eb0e6bdc85b03b746bb42

Document

# c1
? o
:
 !<tag:yaml.org,2002:omap>
 # c2
 - {? o0: -7}
 # c3
 - {? o1: -3}
# c4
? s
:
 !<tag:yaml.org,2002:set>
 # c5
 ? s0
 : Null
 # c6
 ? s1
 : Null
 # c7
 ? s2
 : Null

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresnode/tag-verbatim presentation/comment-above presentation/explicit-key presentation/flow-collection presentation/plain presentation/property-line value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"o":{"o0":-7,"o1":-3},"s":{"s0":null,"s1":null,"s2":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"o":{"o0":-7,"o1":-3},"s":{"s0":null,"s1":null,"s2":null}}

libfyaml yaml.v3 yamlstar

{"o":[{"o0":-7},{"o1":-3}],"s":{"s0":null,"s1":null,"s2":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.