Skip to content

docs(features): wire built-in diagnostics into the EP walkthrough#85

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/ep-statistics-completion
Jul 10, 2026
Merged

docs(features): wire built-in diagnostics into the EP walkthrough#85
Jammy2211 merged 1 commit into
mainfrom
feature/ep-statistics-completion

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Tracker #83 (follow-up from PyAutoFit#1335/#1349). New __Diagnostics__ section at the end of scripts/features/expectation_propagation.py: a mean_field_summary() posterior table plus a tour of the live artifacts the diagnostics tooling emits during the fit (ep_history.csv, mean_field_history.csv / mean_field_evolution.png, graph_factors.png) and the check_sigma_collapse guard — so the walkthrough demonstrates the built-in tooling instead of stopping at the raw mean field.

API Changes

None — workspace script only.

Test Plan

  • Script compiles; the exact new imports/calls (mean_field_summary, check_sigma_collapse) exercised against the installed library and produce the expected table
  • Companion library PR: PyAutoFit#1354* (EP statistics completion) — no dependency; this section uses only #1349 API already on main

🤖 Generated with Claude Code

New __Diagnostics__ section in scripts/features/expectation_propagation.py:
mean_field_summary() posterior table + tour of the live artifacts the
Phase-4 tooling (PyAutoFit#1349) emits during the fit (ep_history.csv,
mean_field_history.csv / mean_field_evolution.png, graph_factors.png)
and the check_sigma_collapse guard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 10, 2026
@Jammy2211
Jammy2211 merged commit 831b08b into main Jul 10, 2026
6 of 8 checks passed
@Jammy2211
Jammy2211 deleted the feature/ep-statistics-completion branch July 10, 2026 10:22
Jammy2211 added a commit that referenced this pull request Jul 11, 2026
…-ref (#87)

The EP #85 merge added scripts/features/expectation_propagation.py and a
cross-ref from graphical_models.py, but llms-full.txt / workspace_index.json
were never regenerated, turning the Navigator Check 'Catalogue staleness' job
RED on main. Regenerated with regenerate_navigator.py autofit (catalogue only;
idempotent; check_navigator green).

Closes #86

Co-authored-by: Jammy2211 <JNightingale2211@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant