With REQUIRE_SIGNIN_VIEW off, public Gitea repositories can be read
anonymously, so the token is no longer required. Without one, the server
calls the Gitea API without credentials and hands workers the plain
<repo>/archive/<commit>.zip link, like Github. With a token, private
repositories still go through the signed /giteaSource/ proxy.
When a lookup fails without a token, the error says the repository must
be public.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
settings.py, SECRET_KEY included, is part of the public repository, so
links signed with it could be forged to read any repository the token can
see. The token in Config/credentials.gitea is gitignored and is now the
signing key. Without a token, Gitea tests are refused at creation and no
link validates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests, tunes and datagen could only use https://github.com/<user>/<repo>.
Gitea servers listed under "gitea_hosts" in Config/config.json are now
accepted too, starting with https://gitea.rektdie.com.
- OpenBench/git_hosts.py holds all host logic: repo validation, API base,
resolving a branch/tag/sha, compare counts, diff links and source URLs.
- The server talks to Gitea with the token in Config/credentials.gitea and
sends it nowhere else; Github requests stay unchanged.
- Gitea may require a login even to read, so workers cannot download the
archive themselves. The server gives them a /giteaSource/ link signed with
an HMAC of repo and commit (SECRET_KEY), and streams the archive from the
Gitea API. No client change, no client version bump.
- Diff links, the out-of-date check and the profile page handle Gitea repos;
the repo fields of the forms accept every configured prefix.
- Private engines stay Github-only, they depend on Github Actions artifacts.
- Static version bumped to v5 for the changed default_text.js.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rigby is a PUCT search engine, so its tree needs far more memory than an
alpha-beta hash: STC and LTC run with Hash=64 and Hash=256. Non-regression
presets are included for simplifications. Reference nps is calibrated
against Eleanor on the same machine (1.10M measured for 800k reference,
Rigby measures 1.08M).
The source points at a GitHub mirror, because test creation only accepts
github.com repositories.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
- 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.
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.
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
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
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