Repository navigation
test(graphical): un-park analytic_gaussian_collapse.py and curate it into the smoke gate (after PyAutoFit#1562) - #95
Merged
Conversation
…into the smoke gate after PyAutoFit#1562 (#94) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C49DeRHoKss4xBnz5F7gUm
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/graphical/analytic_gaussian_collapse.py— the phase-2 EP scale-collapse configuration checked against the closed form — was parked NEEDS_FIX on 2026-09-02 (#93) because 3/5 seeds read STALE or silent BIASED-TIGHT scatter (PyAutoFit#1405 D2/D3/D4). With PyAutoFit#1558 / #1560 / #1562 merged (PyAutoFit main5375f4d63) the same run reads RECOVER on 5/5 seeds, every E_EP[sigma] a genuine posterior inside the closed-form [q05, q95], no library warning needed or emitted. This un-parks the script and curates it into the smoke gate as the regression check it was written to be: a SILENT, STALE or PATHOLOGICAL verdict is now a regression.The other two analytic parity scripts stay parked; their remaining misses are the Laplace-on-scatter caveat (
autofit/graphical/README.md§3.5) and wait on the moment-matching cure prompt. No tolerance or classification logic changed.Scripts Changed
config/build/no_run.yaml— removed thegraphical/analytic_gaussian_collapse.pyNEEDS_FIX entry; retargeted the tail of theanalytic_gaussian.py/analytic_gaussian_priors.pyreasons from "test(graphical): analytic Gaussian benchmark — closed form vs minimal EP vs autofit EP/graphical #91's PyAutoFit prompts" to the moment-matching cure (D1/D4/D5/D2-D3 landed in PyAutoFit#1558/#1560/#1562).scripts/graphical/analytic_gaussian_collapse.py—__Status__paragraph replaced with the curated-since sentence; the per-seed table is now labelled as the pre-fix baseline and the measured post-fix table (RECOVER 5/5) added beneath it. Docstring only.smoke_tests.txt— addedgraphical/analytic_gaussian_collapse.pyaftergraphical/analytic_ep_minimal.py.Test Plan
Against canonical PyAutoFit main
5375f4d63from the task worktree:python scripts/graphical/analytic_gaussian_collapse.py(fresh output):COLLAPSE CONFIG: PASS (5/5 seeds), classification RECOVER 5/5, inside [q05, q95] 5/5, exit 0, 16.7 s wall.autohands.env_config.build_env_for_script(profile_smoke.yaml)(PYAUTO_TEST_MODE=2,PYAUTO_DISABLE_JAX=1; output underoutput/test_mode/): identical PASS (5/5), exit 0, 15.0 s — Laplace-only, so test mode changes nothing.python .github/scripts/run_smoke.py: all 14 entries PASS, new entry 15.1 s (cap 300 s), suite 37.4 s, exit 0.test-results/removed afterwards.Closes #94
🤖 Generated with Claude Code