Skip to content

feat(active_inference): Expected Free Energy decomposition figure#20

Merged
docxology merged 1 commit into
mainfrom
improve/ai-efe-figure
Jun 5, 2026
Merged

feat(active_inference): Expected Free Energy decomposition figure#20
docxology merged 1 commit into
mainfrom
improve/ai-efe-figure

Conversation

@docxology

Copy link
Copy Markdown
Owner

Layer 2 of the EFE addition (follows #19, which landed the closed-form decomposition). Adds figure_efe_decomposition — a two-panel byte-deterministic chart: left stacks G(π)=risk+ambiguity per T-maze policy (goal-seeking minimiser marked); right shows the equal-and-opposite pragmatic/epistemic split. Registered across all four figure contracts (FIGURE_GENERATORS, figures.yaml alt+caption, REQUIRED_OUTPUTS, figure_source_map provenance). Figure tests 12/12; full active_inference suite 286/287 at 90.3% (≥90% gate); ruff/mypy clean.

…agmatic/epistemic)

Visualise the closed-form Expected Free Energy decomposition added in the prior
commit. figure_efe_decomposition (src/visualizations/figures.py) renders a
two-panel byte-deterministic chart: left stacks G(pi)=risk+ambiguity per T-maze
policy with the goal-seeking minimiser marked; right shows the equal-and-opposite
pragmatic/epistemic split. Computed in closed form (no sampling).

Registered across all four figure contracts so every gate stays green:
FIGURE_GENERATORS, figures.yaml (alt + caption), gates REQUIRED_OUTPUTS, and
build_figure_source_map provenance (-> all_figures_mapped stays true). Figure
tests 12/12; full active_inference suite 286/287, 90.3% (>=90% gate); ruff/mypy
clean.
@docxology docxology merged commit d268376 into main Jun 5, 2026
35 checks passed
@docxology docxology deleted the improve/ai-efe-figure branch June 6, 2026 05:02
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.

1 participant