test(graphical): EP integration coverage — parity, deterministic, exact#39
Merged
Conversation
…ct (#81) EP framework review Phase 3 (test leg): ep_parity.py (EP vs joint Dynesty parity + truth recovery), ep_deterministic.py (low-level factor_out API through an EP fit), ep_exact.py (ExactFactorFit conjugate path vs analytic product). All verified PASS, re-validated against post-#1345/#1348 main. Development surfaced audit finding F10 (undamped sigma collapse) on PyAutoFit#1332. Co-Authored-By: Claude Opus 4.8 <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
EP framework review Phase 3, test leg (tracker autofit_workspace#81; ship approved by human 2026-07-10). Three new integration scripts thickening
scripts/graphical/coverage:ep_parity.py(EP vs joint Dynesty fit parity + truth recovery, ~19s stable),ep_deterministic.py(first integration exercise of the low-levelfactor_outdeterministic-variable API through an EP fit),ep_exact.py(ExactFactorFitconjugate path matches the analytic two-Gaussian product to identical digits).Development surfaced audit finding F10 (undamped Laplace-only EP collapses sigmas to ~1e-15, no guardrail) — posted to PyAutoFit#1332; the runtime guard (
check_sigma_collapse) ships in the Phase-4 diagnostics PR.API Changes
None — test scripts only. Not added to
smoke_tests.txt(curated subset stays small).Test Plan
🤖 Generated with Claude Code