Skip to content

fix(eval): replace a re-run model's stale samples - #45

Merged
jasonodoom merged 1 commit into
mainfrom
fix/stale-samples
Aug 26, 2026
Merged

fix(eval): replace a re-run model's stale samples#45
jasonodoom merged 1 commit into
mainfrom
fix/stale-samples

Conversation

@jasonodoom

Copy link
Copy Markdown
Contributor

Re-running a model did not clear its condition directories. Dropping --n left the tail of a larger previous run in place, and a sample that errored last time but succeeded now kept its .error.txt beside the new .html, counting once as errored and once as scored.

Carry-forward is a per-model decision, so a model being re-run is being replaced. Files matching the three names the runner writes are removed for the cells measured in this invocation, and a count is reported. Anything else in the directory survives, and models not re-run are untouched, which is what keeps one-model-at-a-time working.

Covers three behaviours in test: the tail after lowering n, the stale error sibling after a success, and preservation of both an unrelated model and a hand-placed file.

Dropping --n left the tail of a larger previous run in place, and a
sample that errored then succeeded kept its .error.txt beside the new
html, counting once as errored and once as scored. Only files the runner
writes are removed, and only for models measured in this invocation.
@jasonodoom
jasonodoom enabled auto-merge (squash) August 26, 2026 03:46
@jasonodoom
jasonodoom merged commit 209ea55 into main Aug 26, 2026
3 checks passed
@jasonodoom
jasonodoom deleted the fix/stale-samples branch August 26, 2026 03:47
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.

1 participant