Spsa panel #12

Merged
rektdie merged 7 commits from spsa-panel into master 2026-10-11 21:31:10 +02:00
7 Commits
Author SHA1 Message Date
claude 22bb0b934d Tune page: live updates that keep the SPSA panel interactive
live.js already polled /tune/<id>, but patching the page in place would have
wiped the chart, reordered the parameter rows under their listeners, dropped
pinned lines and closed any fold the reader had opened.

- live.js: leave the chart, the parameter list and its empty notice alone, keep
  the 'open' attribute of folds, and fire a 'live:patched' event with the fresh
  page after every patch.
- spsa_chart.js: on that event, hand the new history to the existing chart
  (pinned lines and the inspected point stay), or build it if the first results
  have just arrived.
- spsa_panel.js: on that event, refresh the numbers, bars and limit markers of
  each row in place, and re-sort when sorted by movement without jumping the
  scroll position.
2026-10-11 20:43:21 +02:00
claude 0167e19057 Tune page: collapsible Results by Machine, padding inside the progress panel and below Modify
- Results by Machine is a fold on Tune pages, closed by default, like the other
  secondary sections.
- .card has no padding of its own, so the content of the Tuning progress panel
  ran up to the border. It now keeps 16px clear on both sides and at the bottom.
- The Actions card ended on the Modify button with 4px below it; it now has 16px.
2026-10-11 20:42:25 +02:00
claude efc0a42f8b Tune page: keep the SPSA parameter list to a bounded, scrollable height
The list used to grow with the number of parameters and pushed the results
table far down the page. It now scrolls inside the panel, with the filter and
sort bar staying in view, and jumps back to the top when the order or filter
changes.
2026-10-11 20:35:16 +02:00
claude 87886c5771 Revert "Tune page: chart and parameter list side by side, every secondary section collapsed"
This reverts commit 7269fd96e9. Restores workload.html and spsa_chart.css to the state of de5ec59.
2026-10-11 20:34:13 +02:00
claude 7269fd96e9 Tune page: chart and parameter list side by side, every secondary section collapsed
The progress summary, the movement chart and a scrollable parameter list now
share one panel. Settings, Actions, Parameter details and Contributors are
single-line folds, closed by default, so the page fits on roughly one screen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
2026-10-11 18:52:04 +02:00
claude de5ec59ece Tune page: parameter history chart, two-column layout, collapsed settings
Record every SPSA parameter value as results arrive (media/spsa_history/<id>.json,
same idea as the LLR history). The Tune page plots how far each parameter has
moved from its start, as a share of its allowed range. Hovering or pinning a
parameter name follows its line. The page is now a main column (progress,
history, results, details) plus a side column (actions, settings), and the
settings and parameter details start collapsed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
2026-10-11 18:43:54 +02:00
claude 9aa7678b62 Tune page: visual SPSA parameter panel
Each parameter gets a range track (min to max) with its start tick, current
value and the drift between them. The panel header shows iteration progress.
Parameters can be filtered by name and sorted by how far they moved. The old
table stays below as "Parameter details".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
2026-10-11 18:37:35 +02:00