Skip to content

Commit b4ea123

Browse files
committed
Add interactive hardest-case dynamics and circadian internals view
1 parent 0179a99 commit b4ea123

7 files changed

Lines changed: 964 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ for versioning even while in research-stage development.
6060
- Updated README, model card, and core module docs to document new circadian controls.
6161
- Enhanced benchmark visuals with a compact combined overview figure (static + interactive) and linked it in README/dashboard for faster comparison.
6262
- Added hardest-case dynamics GIF (training progression + inference decision-map evolution) and surfaced it near the top of README and docs dashboard.
63+
- Added an interactive Plotly hardest-case dynamics page with playback controls and circadian internals visualization (node/edge weights, chemical/plasticity state) on the docs dashboard.
6364
- Refreshed README benchmark section with a latest master verification run on 2026-02-28 and added raw output artifact under `docs/benchmarks/`.
6465
- Repositioned repository messaging to Circadian Predictive Coding as the primary focus.
6566
- Updated `README.md` with:

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ flowchart LR
3838

3939
![Hardest-Case Dynamics](docs/figures/hardest_mode_dynamics.gif)
4040

41+
Interactive version (Plotly, with internals replay):
42+
43+
- [Hardest-Case Dynamics Interactive](https://optimumaf.github.io/Circadian-Predictive-Coding/figures/interactive_hardest_mode_dynamics.html)
44+
4145
## Core Idea
4246

4347
The circadian algorithm models wake and sleep phases:

docs/figures/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This folder stores visual assets used by `README.md`.
99
- `benchmark_train_speed.png`
1010
- `benchmark_inference_latency_p95.png`
1111
- `hardest_mode_dynamics.gif`
12+
- `interactive_hardest_mode_dynamics.html`
1213
- `circadian_sleep_dynamics.gif`
1314
- `interactive_benchmark_overview.html`
1415
- `interactive_benchmark_accuracy.html`
@@ -21,7 +22,7 @@ Run:
2122

2223
```powershell
2324
python scripts/generate_readme_figures.py --summary-csv benchmark_multiseed_cifar100_summary.csv --output-dir docs/figures
24-
python scripts/generate_hardest_mode_dynamics.py --output-path docs/figures/hardest_mode_dynamics.gif
25+
python scripts/generate_hardest_mode_dynamics.py --gif-output-path docs/figures/hardest_mode_dynamics.gif --interactive-output-path docs/figures/interactive_hardest_mode_dynamics.html
2526
```
2627

2728
The GIF is illustrative and intended for communication in the README.
10.1 KB
Loading

docs/figures/interactive_hardest_mode_dynamics.html

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.

docs/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@
109109
background: #fff;
110110
}
111111

112+
.iframe-xl {
113+
height: 1180px;
114+
}
115+
112116
.hero-visual {
113117
width: 100%;
114118
border-radius: 10px;
@@ -165,9 +169,13 @@ <h1>Circadian Predictive Coding Benchmark Dashboard</h1>
165169

166170
<section class="section">
167171
<h2>Hardest-Case Dynamics (Training + Inference)</h2>
172+
<iframe class="iframe-xl" src="figures/interactive_hardest_mode_dynamics.html" title="Interactive hardest-case training and inference dynamics"></iframe>
173+
<p class="hero-caption">
174+
Interactive replay: slider + play controls, phase-B inference map, and circadian internals graph (node/edge weights, chemical/plasticity state).
175+
</p>
168176
<img class="hero-visual" src="figures/hardest_mode_dynamics.gif" alt="Hardest-case training and inference dynamics GIF" />
169177
<p class="hero-caption">
170-
Left: training progression and phase-B inference accuracy over time. Right: circadian inference decision map with correct/incorrect overlays during hardest-case drift.
178+
GIF fallback preview for README-compatible rendering.
171179
</p>
172180
</section>
173181

0 commit comments

Comments
 (0)