generated/1849

sha256 d3e95661dc7cfdb52c5ee39b72e181d7ad40c076a80ce7a13cf9826c9bb478ea

Document

---
!<tag:yaml.org,2002:map>
# c1
'base':	# c2
    &m4
    # c3
    'o9':	-4	# c4
# c5
'o':	# c6
    !<tag:yaml.org,2002:omap>
    # c7
    -	# c8
        # c9
        <<:	*m4	# c10
    # c11
    -	# c12
        # c13
        'o0':	-5	# c14
    # c15
    -	# c16
        # c17
        'o8':	*m4	# c18
# c19
'p':	# c20
    !<tag:yaml.org,2002:pairs>
    # c21
    -	# c22
        # c23
        'p0':	1	# c24
    # c25
    -	# c26
        # c27
        'p0':	2	# c28
# c29
's':	# c30
    !<tag:yaml.org,2002:set>
    # c31
    's0':	~	# c32
    # c33
    's1':	~	# c34

Corpus

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

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml

{"base":{"o9":-4},"o":{"\u003c\u003c":{"o9":-4},"o0":-5,"o8":{"o9":-4}},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

libfyaml

{"base":{"o9":-4},"o":[{"\u003c\u003c":{"o9":-4}},{"o0":-5},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

yamlstar

{"base":{"o9":-4},"o":[{"o9":-4},{"o0":-5},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":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: 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 rejected, explained refuse by the parser rejected, explained refused tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document
value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document
yaml.v3: yaml: line 12: found character that cannot start any token
go-yaml accepted accept ok same

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