A lightweight polyfill for Temporal, successor to the JavaScript Date object
Overall
score
96%
Evaluation — 96%
↑ 1.19xAgent success when using this tile
{
"context": "Evaluates whether the timeline planner uses temporal-polyfill arithmetic and comparison helpers (add, until, round, compare) on Temporal types. Confirms timezone-aware ISO handling is implemented without manual date math or naive string operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Temporal parsing",
"description": "Parses input ISO strings (with offsets/zones) into Temporal.ZonedDateTime or Instant objects via Temporal.ZonedDateTime.from/Temporal.Instant.from instead of manual string manipulation.",
"max_score": 20
},
{
"name": "Segment addition",
"description": "Builds cumulative segment endpoints by applying Temporal.Duration.from(...) values with the add method on a Temporal date-time type, preserving the original time zone through each step.",
"max_score": 25
},
{
"name": "Gap difference",
"description": "Calculates the gap between end and next-start using until/since on Temporal objects and converts that Duration to whole minutes (e.g., via total({ unit: 'minutes' })) instead of subtracting milliseconds manually.",
"max_score": 20
},
{
"name": "Checkpoint rounding",
"description": "Rounds checkpoints with the round helper on a Temporal date-time value using minute increments and a half-expand/half-up mode (matching Temporal's default) rather than custom arithmetic.",
"max_score": 20
},
{
"name": "Earliest comparison",
"description": "Determines the earliest moment by comparing Temporal instances with compare/equals on Instant or ZonedDateTime (or by converting to Instant) instead of ordering ISO strings lexicographically.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-temporal-polyfilldocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10