Commit Graph
17 Commits
Author SHA1 Message Date
rektdieandclaude 754283d95e Sign Gitea source links with the Gitea token
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>
2026-11-15 00:45:17 +01:00
rektdieandclaude e8cd615d83 Rigby: take sources from Gitea
Needs the Gitea source support from the gitea-sources branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 00:43:28 +01:00
rektdieandclaude c721cc6b5b Accept engine sources from Gitea servers
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>
2026-11-15 00:42:43 +01:00
rektdieandclaude 619d29b12e Add Rigby (MCTS engine) to the engine list
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>
2026-11-15 00:36:42 +01:00
rektdie 0e39c20ef3 Merge pull request 'Spsa panel' (#12) from spsa-panel into master
Reviewed-on: #12
2026-10-11 21:31:09 +02:00
rektdie f80349de11 Ignore generated static files 2026-10-09 22:27:57 +02:00
rektdie 2730d8643c Configure production settings for Raspberry Pi 2026-10-09 22:26:28 +02:00
rektdie 5b253544e6 Merge pull request 'Modern redesign' (#9) from modern-redesign into master
Reviewed-on: #9
2026-10-09 22:22:47 +02:00
rektdie 8bb8bd421b speedups + llr history graph z-index fix 2026-03-20 01:38:34 +01:00
rektdie 4e8c6c9423 interpolation with estimated llr and peak locking 2026-03-15 22:48:09 +01:00
rektdie 2884a7ccf8 LLR history graph!!! 2026-03-15 21:49:10 +01:00
rektdie 9bcd45bc8b added sp 2026-03-10 20:01:04 +01:00
rektdie 393a371ee8 added fortresses book 2025-12-29 14:37:36 +00:00
rektdie 9d32dd8161 sync 2025-12-29 14:14:25 +00:00
rektdie c68c3ef8b8 fixed Eleanor config 2024-10-15 00:01:24 +02:00
rektdie 37527d4fc9 adjusted settings of Eleanor 2024-10-14 23:53:22 +02:00
rektdie a9d280d221 Added Eleanor engine 2024-10-14 22:23:01 +02:00