Skip to content

test(graphical): un-park analytic_gaussian_collapse.py and curate it into the smoke gate (after PyAutoFit#1562) - #95

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/ep-collapse-unpark
Sep 2, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/ep-collapse-unpark

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

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 main 5375f4d63) 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 the graphical/analytic_gaussian_collapse.py NEEDS_FIX entry; retargeted the tail of the analytic_gaussian.py / analytic_gaussian_priors.py reasons 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 — added graphical/analytic_gaussian_collapse.py after graphical/analytic_ep_minimal.py.

Test Plan

Against canonical PyAutoFit main 5375f4d63 from the task worktree:

  • Direct 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.
  • Under the smoke profile env from autohands.env_config.build_env_for_script(profile_smoke.yaml) (PYAUTO_TEST_MODE=2, PYAUTO_DISABLE_JAX=1; output under output/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

…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
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 2, 2026
@Jammy2211
Jammy2211 merged commit 0c5c9f8 into main Sep 2, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/ep-collapse-unpark branch September 2, 2026 23:21
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
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.

test(graphical): un-park analytic_gaussian_collapse.py and curate it into the smoke gate (after PyAutoFit#1562)

1 participant