Repository navigation
fix: MultiStartResumeNaNCounters uses a normal update cadence (2 → 100) - #118
Merged
Merged
Conversation
iterations_per_full_update=2 forced ~200 full updates (samples, summary, 9 PNGs) per child search, so the script crept past the 300s smoke cap (164s -> 225s -> TIMEOUT). 100 is a realistic cadence that still gives one mid-run checkpoint before early convergence (~142 steps), with both NaN counters non-zero at the kill. Local: PASS in 46s, resumed == uninterrupted. Closes #117 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.
Summary
scripts/searches/MultiStartResumeNaNCounters.pyran its MultiStart searches withiterations_per_full_update=2. Each full update writes the samples and summary and renders 9 PNGs, about 3 s on this 1D Gaussian, so a single child search paid for about 200 of them. Over three weeks of Workspace Smoke runs the script went from 164 s to 225 s to a TIMEOUT at the 300 s cap (PyAutoHeart run 41432188469). That timeout is the only release-readiness finding on the Heart board (release:361c87850b823009).A value of 2 is not a realistic setting; it was chosen only so that a checkpoint exists before the kill. This PR changes it to 100. The search converges early, at about 142 steps, so the step-100 checkpoint is the one mid-run checkpoint, and both NaN counters are already non-zero when the script kills the search. The assertion is unchanged: a killed and resumed run must report exactly the same NaN accounting as an uninterrupted run.
Closes #117
Scripts Changed
scripts/searches/MultiStartResumeNaNCounters.py:iterations_per_full_update2 → 100;run_searchdocstring now explains the choice.Validation
Run locally from the worktree (PyAutoFit main, Py3.13):
No library change, no cap increase and no
no_runentry.Heart was YELLOW at ship time for two reasons: (1) this timeout, which the PR fixes, and (2) no release rehearsal for the current source, which is unrelated to this change. The human approved the fix, which counts as the acknowledgement. Tier: judge, so the merge is the human's
/prm.🤖 Generated with Claude Code