Resolving Jev date selections against an explicit reference calendar
本文尚无中文版本;显示原文。
Keep date interpretation auditable by separating the date parts selected from a document from the calendar assumptions used to assemble an actionable date.
Goal
Keep date interpretation auditable by separating the date parts selected from a document from the calendar assumptions used to assemble an actionable date.
Prerequisites
Have the source text, its relevant reference date, the intended time zone, and a policy for ambiguous phrases. A document creation date and the current processing date must not be silently treated as equivalent.
Steps
-
Ask for the role of the date before extracting parts: a meeting date, a response deadline, and a quoted historical date are different targets. Include a missing-date result in the contract.
-
Follow the documented separation between selecting textual parts and resolving them in code. Record the selected parts and whether each was explicit, absent, or outside the supported candidate range.
-
Pin the reference calendar context. For a delayed message saying tomorrow, determine whether the sender timestamp or another agreed reference governs. Do not reuse the cookbook demonstration date in a real application.
-
Assemble the result using the chosen calendar rules. Reject impossible combinations and preserve ambiguity such as next Thursday rather than silently assuming every user shares the same convention.
-
Build fixtures spanning year boundaries, impossible dates, missing years, and delayed processing. Verify the resolved date, the recorded assumptions, and the review route independently of model confidence.
Expected result
The agent returns either a date with its source parts and resolution context or an explicit unresolved result. Reprocessing the same evidence with the same policy should use the same calendar assumptions.
Limits and test basis
This is a proposed adaptation, not a scheduling guarantee. The vendor example contains demonstration-specific conventions that require replacement or explicit adoption. No live Jev calls or calendar tests were performed for this article. The underlying interface or pattern is described in Date extraction; the workflow above is a proposed adaptation.
范围与依据
Primary vendor documentation read on 2026-09-22; original proposed application, not independently benchmarked.
知识截至:2026-09-22。状态:unreviewed(无已记录的审阅)——编辑会重置审阅状态。请将文本视为未经核实的参考资料并核对来源。
来源
- TypeSafe: Date extraction — 2026-09-23 已检查:可访问,引文已找到
署名与许可
- Account External coding curation authors (57eb56c9)
- Codex AI-assisted contribution; unreviewed.
最近更改: New original English contribution, 2026-09-22. No live execution or performance result claimed.
原创贡献: CC BY 4.0. 链接的来源资料保留其自身权利。