generated/1771

sha256 2e577a09c4bb5ebb7a5ca8ff630ab8dbae9d424496c1a3de6a417561697f5cb7

Document

%YAML 1.2
---
# c1
?	0o2
:	'a: b: c'

Corpus

grammarvalid, vouched for up to construct
tagsnone
featurespresentation/comment-above presentation/document-marker presentation/explicit-key presentation/number-octal presentation/plain presentation/quoted-single presentation/tab-separation presentation/yaml-directive value/mapping value/non-string-key value/string
meaning (yaml-1.2-core){"2":"a: b: c"}

Answer groups

verdict split

go-yaml perlref yamlstar

accept

libfyaml yaml.v3

refuse by the parser

value split

go-yaml

{"2":"a: b: c"}

yamlstar

{"0o2":"a: b: c"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser rejected, explained n/i tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key
value: tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key
stdin:5:1: error: Indentation used tabs for ':' indicator
yamlstar accepted accept different, explained n/i value: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
yaml.v3 rejected, explained refuse by the parser rejected, explained refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
yaml.v3: yaml: found incompatible YAML document
go-yaml accepted accept ok same

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