Repository navigation
Measure bound-update cadence in paired PyAutoFit runs - #27
Merged
Merged
Conversation
This was referenced Nov 25, 2026
Jammy2211
marked this pull request as ready for review
November 25, 2026 21:47
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
Doubling the interval between Nautilus bound updates reduced complete PyAutoFit wall time in all four paired comparisons, by 25.5–34.7%. The runs retained four neural networks, default output and serial training. The observed reduction in bound builds came with 1,600–1,800 additional likelihood evaluations per fit. Three pairs crossed the registered 25% limit on extra evaluations needed to reach a peak. Keep the native cadence as the default.
The Gaussian-profile fixture uses the original simulated data and package pins. Its symmetric signed-centre counterpart has two equal modes and exactly the same evidence. Both modes were recovered in every control run. All eight log-evidence estimates were within 0.058 of independent quadrature. This two-seed pilot covers a very fast CPU likelihood.
Scripts Changed
experiments/nautilus_bound_cadence/compare.pyruns the counterbalanced pairs, computes the independent reference and evaluates the registered gates.Validation
Eight fresh application fits completed. The eight persisted posterior tables independently reproduced ESS, posterior means, sign mass and peak log likelihood, with call counts and log evidence checked against samples_info.json. All 111 tooling tests passed. Ruff check and format passed. The catalogue is current and validates with the Pulse reader. The scoped Heart dev-ship verdict was green with this producer deferred to PR checks.
Closes #26.