Skip to content

Jev glossary

Evaluation & TrainingDate comparison

Dates as text

Jev reads dates as strings, not ordered quantities; extract components with Choice and do the ordering and math in code.
Category
Evaluation & Training
Also known as
Date comparison
Reading time
1 min
Related terms
4
Directory entries
2
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

Asking which of two dates comes first, how far apart they are, or whether one falls in a window is unreliable, and mixed formats, relative references, and domain boundaries such as quarters make it worse.

The recommended split is extraction as a judgment and arithmetic as code. Every date part is a small closed set (twelve months, thirty-one days, a bounded year range), which turns extraction into a Choice over enumerated options with an explicit not-stated option.

Tagslimitationsdesign

From the Jev directory

Directory entries that go deeper on this term.

A maintained list of jev-1.13's known failure modes, literal reading, unreliable counting, dates as text, indirection, context rot, and contradictory criteria, each with a guardrail.
Jev Practices & PatternsDocs#official#docs#evaluation
Official
Extract dates by asking seven Choice questions about a date's shape and parts, then resolving them in code: five of six examples auto-accepted and missing dates flagged at 0.46 confidence.
Jev CookbooksDocs#official#cookbook#extraction
Official

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai