Repository navigation
fix(tasks): read due dates on whole words in local time in the duplicate set - #64
Merged
Merged
Conversation
…ate set The duplicate scorer matched weekday and month names by prefix and with JavaScript's ASCII-only \b, so `средства` read as Wednesday, `завтрак` as tomorrow, `decide 3` as December 3 and `maybe 2` as May 2. It also counted due days in UTC. Date phrases now need whole words, months their full names or English abbreviations, and due days are calendar dates in the machine's time zone, recorded in the results. These are the fixes cli-core's port took (WireCatLabs/cli-core#1235). Re-run: no count, weight or band moved in Europe/Madrid, UTC or America/New_York. In Asia/Tokyo five due dates land a day after their labels, which were written as European dates. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
leemour
added a commit
that referenced
this pull request
Dec 4, 2026
Clears the critical Dependabot alerts #65 and #64 for cross-spawn (GHSA-ghv9-86vm-4v8m, Windows only, fixed in 7.1.0). - Root: `@modelcontextprotocol/client` allows `^7.0.5`, so `pnpm update cross-spawn` moves it to 7.1.2. The dev dependency `@wirecat/cli-base` 0.75.2 pins 7.0.6 exactly, so `pnpm-workspace.yaml` gets `"cross-spawn@<7.1.0": 7.1.2` (the form tg-cli already uses). - `performance/search/evidence-pipeline/core`: same override for its pinned cli-core 0.412.0; lockfile regenerated with `--lockfile-only`, no other change. The published package ships no lockfile, and its one dependency already allows 7.1.x, so consumers get the fix on their own. No release. Local checks: `pnpm lint`, `pnpm typecheck`, `pnpm test` (232 passed, 1 skipped). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Apply to the duplicate-task scorer (
performance/tasks/duplicates/evaluate.mjs) the date fixes that cli-core's port took in WireCatLabs/cli-core#1235. Then re-run the set and report whether any result moved.Why
The due-date patterns matched by prefix, and they used JavaScript's
\b, which knows only ASCII letters. As a result:средстваread as Wednesdayзавтракread as tomorrowdecide 3read as December 3maybe 2read as May 2Due days were also counted in UTC. A real chat would get false "due near" points (+4).
What
ноября,ноябрю), or an English month name or its abbreviation.environment.timeZonein the results.Results
No count, weight or band moved. That holds in Europe/Madrid (the committed run), in UTC and in America/New_York; extraction is still amount 65/0/4 and due 96/0/0.
In Asia/Tokyo, 5 due dates land a day after their labels. These are tasks created late in the UTC evening, and the labels were written as European dates.
Runtime in the committed JSON comes from a rerun at a load average near 50.
Testing
./run.sh: the generator output matchestasks.jsonl, and both variants ran.🤖 Generated with Claude Code