Skip to content

feat(efficacy): the progress view counts a rescore from its own start - #147

Merged
braboj merged 2 commits into
mainfrom
feat/progress-rescore
Nov 8, 2026
Merged

braboj merged 2 commits into
mainfrom
feat/progress-rescore

Conversation

@braboj

@braboj braboj commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

The progress view kept every bar full while a rescore of every trial ran: a
rescore replaces each score in place, so the old scores read as done. The
view now counts a rescore from its own start.

Where What
progress.py scoring lines under a live --rescore of every trial, only scores and readings written since it began count; the bars fill as it goes
progress.py pace a full rescore estimates what is left, as a plain run does; a rescore of named trials still shows no estimate
progress.py security a live --reread of every trial counts only the readings written since it began
self-test 28 of 28, with three checks for the three cases

Before, on round 5e's rescore:

hand       [##############################] 15/15  15 read for security  scoring hand-1, 1 min
all        [#######################.......] 105/135  0.0 h in

After:

hand       [####..........................]  2/15  scoring hand-11, 0 min
all        [..............................]  2/135  0.2 h in, about 14.6 h of scoring left

No requirement row changes: the view has none.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj

braboj and others added 2 commits November 8, 2026 08:00
A rescore of every trial replaces each score in place, so the view kept
showing the old scores as done and the bars stayed full while it ran. The
view now counts only what the live rescore has written since it began,
and estimates what is left as it does for a plain run. A security reread
of every trial is read the same way.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj
…es too

Under a rescore the filtered maps made a directory left from the scoring
before, older than its old result, count as being worked on, so the view
could name an old trial while the scorer was still setting up.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQQ4hBtuBqvpuv9xGj
@braboj

braboj commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Codex round 1

# Severity Finding Outcome
1 P2 Under a full rescore the trial in hand was read against the filtered results, so a directory left from the earlier scoring, older than its old result, could be named as being worked on while the scorer was still setting up Fixed: the trial in hand is read against every result, old ones included; only the counts and the estimate use the filtered ones. Check "a rescore just begun names no trial in hand over the old results", which fails without the fix

@braboj

braboj commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Codex round 2

No new findings. The loop ends here.

Every finding, in order

Round Severity Finding Outcome
1 P2 An old directory could be named as the trial in hand before the rescore rebuilt anything Fixed, with a check

@braboj
braboj merged commit c68dcb1 into main Nov 8, 2026
2 checks passed
@braboj
braboj deleted the feat/progress-rescore branch November 8, 2026 07:26
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