Skip to content

fix: retry invalid rescore caches - #377

Merged
Perry2004 merged 3 commits into
TIGER-AI-Lab:mainfrom
ecoyoung:fix/rescore-corrupt-cache-364
Oct 17, 2026
Merged

Perry2004 merged 3 commits into
TIGER-AI-Lab:mainfrom
ecoyoung:fix/rescore-corrupt-cache-364

Conversation

@ecoyoung

Copy link
Copy Markdown
Contributor

clawbench-rescore skips runs with malformed judge caches, so they never reach the retry logic. This affects rescore scheduling for both rubrics.

Use the same cache check when scheduling and judging, and write verdicts atomically. Incomplete runs now exit with an error.

Package: clawbench.eval
Files: rescore.py, test_rescore_corrupt_cache.py, CHANGELOG.md
Tests: 9 related tests passed.

Fixes #364.

@Perry2004 Perry2004 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🫡
Thanks for the contribution! 🎊

@Perry2004
Perry2004 merged commit 07eb50a into TIGER-AI-Lab:main Oct 17, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in ClawBench Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P2] rescore: truncated judge cache is permanently skipped instead of retried

2 participants