Joshua Shay Kricheli NeuroSymbolic AI
v2 v1

Release · v3.7.21

Widgets: add a Reset button that restores the…

Widgets: add a Reset button that restores the first-visit state

chore v3.7.21 July 5, 2026 Joshua Shay Kricheli 78ef05d

Details

Both interactive explainers could drift far from their opening view --
switch corpus/law/epoch/design/seed/window (scaling laws), or the dataset
plus flipped labels (EDCR), with the choice persisted -- while "Replay"
only restarts the tour on the *current* selection. Add an explicit Reset.
- Scaling laws (TPP): new "Reset" button beside Replay. v3tppwReset()
  clears the saved localStorage state and snaps corpus->RedPajama,
  law->Kaplan, epoch->First, design->Collinear, seed->0, window->full fan,
  phase->0, then resumes the auto-advancing tour; points animate to the
  reset scene.
- Neurosymbolic (EDCR): the contextual "Reset data" (unflip-only, hidden
  until perturbed) becomes an always-visible "Reset". v3exReset() restores
  the default Military-Vehicles dataset, undoes label flips, resyncs the
  dataset chips, and restarts the tour from Predict.
Verified headless: driving each widget off its defaults and clicking Reset
returns every control and state field to the original (18/18 checks), with
no page errors; 16/16 core tests pass, tsc clean, existing behaviour intact.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014c7dbCGbQxtWedKRSx4sJi

Files changed (4)

frontend/client/ts/effects/neurosymbolic-explainer.ts +24 −3
frontend/client/ts/effects/tpp/tpp-widget.ts +29 −0
frontend/jekyll/_includes/v3/explainer.html +1 −1
frontend/jekyll/_includes/v3/tpp-explainer.html +3 −1