generated/2699

sha256 828b117886d18c61f7e30b4732d2638c3167bfe6171a554ae29e09b9a0fd7e64

Document

%TAG !TAG2! tag:yaml.org,2002:
---
&a2
# c1
- !TAG2!timestamp "1972-03-11t00:00:00Z"
# c2
-
 &a1
 # c3
 ? -29.93775448409724
 :
# c4
- TRUE
# c5
-
 # c6
 ? "\t"
 : "12:34:56"

Corpus

grammarvalid, vouched for up to construct
representation/timestampopen from construct on: each parser's stance decides
featuresnode/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-double presentation/tag-directive presentation/time-lower-t value/bool value/mapping value/non-string-key value/null value/sequence value/string value/timestamp
meaning (yaml-1.2-core)["1972-03-11T00:00:00Z",{"-29.93775448409724":null},true,{"\t":"12:34:56"}]

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

["1972-03-11T00:00:00Z",{"-29.93775448409724":null},true,{"\t":"12:34:56"}]

libfyaml

["1972-03-11t00:00:00Z",{"-29.93775448409724":null},true,{"\t":"12:34:56"}]

yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: timestamp-as-text: the Python binding returns a !!timestamp as the text written, where the corpus states it in RFC 3339 form: "1900-10-14" for "1900-10-14T00:00:00Z"
yamlstar rejected, explained refuse by the loader rejected, explained n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
Error: Unknown tag: tag:yaml.org,2002:timestamp
yaml.v3 accepted accept different, explained same value: json-cannot-write: yaml.v3 decodes a mapping with a key that is not a string into a map[any]any, which encoding/json cannot write, so the runner has no value for the document: "-0.0: true"
go-yaml accepted accept ok same

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