generated/1016

sha256 59ada86583aecc7102f6e74882b58d02bc3e77342b094a595b9bab9071365338

Document

# c1
o: &m3 !<tag:yaml.org,2002:omap>
 # c2
 -
  # c3
  o0: 5
 # c4
 -
  # c5
  o1: -4
 # c6
 -
  # c7
  o2: -9
# c8
again: *m3
# c9
s: !<tag:yaml.org,2002:set>
 # c10
 s0: null
 # c11
 s1: null

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/ordered-mapopen from construct on: each parser's stance decides
featuresencoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/plain value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"again":{"o0":5,"o1":-4,"o2":-9},"o":{"o0":5,"o1":-4,"o2":-9},"s":{"s0":null,"s1":null}}

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml

{"again":{"o0":5,"o1":-4,"o2":-9},"o":{"o0":5,"o1":-4,"o2":-9},"s":{"s0":null,"s1":null}}

libfyaml

{"again":{"o0":5},"o":[{"o0":5},{"o1":-4},{"o2":-9}],"s":{"s0":null,"s1":null}}

yaml.v3

{"again":[{"o0":5},{"o1":-4},{"o2":-9}],"o":[{"o0":5},{"o1":-4},{"o2":-9}],"s":{"s0":null,"s1":null}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
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 rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
Error: parse: Parser finished before end of input
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.