Commit Graph
831 Commits
Author SHA1 Message Date
rektdieandclaude 4bd7a68864 Gitea sources without a token: direct archive links
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>
2026-11-15 01:30:15 +01:00
claude 30032fd42d Merge pull request 'Add Rigby (MCTS engine) to the engine list' (#15) from add-rigby into master 2026-11-15 00:46:10 +01:00
claude f915c30f02 Merge pull request 'Accept engine sources from Gitea servers' (#16) from gitea-sources into master 2026-11-15 00:45:59 +01:00
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
claude d77f096932 Make the site discoverable as "RektBench" in search engines (#14) 2026-10-11 22:18:32 +02:00
claude 07935271cb Redesign site icon to match the theme (#13) 2026-10-11 21:59:44 +02: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
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
claude 4fffbf50b4 Merge pull request 'Design refresh: new theme, Ctrl+K quick search, live updates' (#11) from design-refresh into master 2026-10-11 17:52:35 +02:00
claude d5cea13fd6 Live updates: keep the LLR history graph current 2026-10-11 17:49:31 +02:00
claude deb68caa64 LLR history: redraw in place when newer data arrives 2026-10-11 17:49:25 +02:00
claude 6a024f3e5a Live updates: load live.css and live.js 2026-10-11 17:39:54 +02:00
claude 9aa9a2b447 Live updates: styles 2026-10-11 17:39:50 +02:00
claude c367dd761a Live updates: pages refresh themselves in place 2026-10-11 17:39:43 +02:00
claude 05275645f5 Quick search: build workload urls in the view 2026-10-11 17:29:32 +02:00
claude 5793204b1b Quick search: Ctrl+K palette, live test endpoint and wiring 2026-10-11 17:29:20 +02:00
claude 26a0394ca9 Quick search: palette behaviour 2026-10-11 17:28:50 +02:00
claude d2827ee8f3 Quick search: fix font fallbacks 2026-10-11 17:28:19 +02:00
claude 963ba2151e Quick search: palette styles 2026-10-11 17:28:10 +02:00
claude 977ac2e4f9 Quick search: drop the Discord entry 2026-10-11 17:27:52 +02:00
claude 0b8862cc2c Quick search: palette markup partial 2026-10-11 12:56:01 +02:00
claude cbf4e59672 Index: drop the Awaiting artifacts counter card 2026-10-11 12:47:06 +02:00
claude 0dab31718a Restore result cell styling (outline, hatching, clearer blue) 2026-10-11 12:27:50 +02:00
claude 142296006b Workload page: revert hero, Dev/Base table, action hiding and confirms; keep full author names and server-rendered timestamps 2026-10-11 12:26:12 +02:00
claude 54538edcb1 Test list: drop state class from result cell 2026-10-11 12:25:23 +02:00
claude 44d6bfe7e8 Remove result cell restyling (outline, hatching, blue); keep full author names 2026-10-11 12:25:18 +02:00
claude e67bdfaa03 Workload page: load uitags so test_status and progress_info resolve (fixes 500) 2026-10-11 12:23:03 +02:00
claude e16b2e0b60 Workload config as Dev/Base comparison, full author names, server-rendered <time> stamps
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
2026-10-11 11:59:25 +02:00
claude 236d69cfb8 Workload page: result hero, hide unavailable actions, confirm destructive ones
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
2026-10-11 11:55:32 +02:00
claude 7718d593f4 Result cells: outline for tests without a verdict, diagonal hatching for stopped tests, clearer blue 2026-10-11 01:41:03 +02:00
claude dfa7687247 Design refresh: warm graphite palette, green accent, sentence-case labels, LLR gauge for SPRT tests 2026-10-11 01:33:55 +02:00
claude 5c65feb27d Merge pull request 'UI refresh: UX layer, Users/Errors/Event redesign, board analyser' (#10) from ui-refresh into master 2026-10-10 17:05:53 +02:00
claude 3dcc3ee2ab Remove the status dot and the CSS replaced by the board analyser 2026-10-10 16:02:40 +02:00
claude 611a117a38 Pass start FEN and game data to the board analyser, load board.css, drop the status dot 2026-10-10 16:02:29 +02:00
claude 309754bb08 Event viewer: index-based move selection, new board analyser layout 2026-10-10 16:01:57 +02:00
claude 9fba5f41b7 Add board analyser: board, evaluation bar and graph, captured pieces, controls 2026-10-10 16:01:01 +02:00
claude c8aa90ee91 Add chess rules engine for the board analyser (legal moves, SAN, FEN, Chess960) 2026-10-10 15:59:25 +02:00
claude d8045ddb73 Redesign Users (STC/LTC split), Errors, and Event pages; add status dots and progress to test lists 2026-10-10 00:43:55 +02:00
claude e76aa8a977 Wire the UX layer into views.py and base.html 2026-10-10 00:42:34 +02:00
claude 2b06146e7c Add UX layer: time control buckets, event/PGN parser, template filters, styles and scripts 2026-10-10 00:42:23 +02:00
rektdie f80349de11 Ignore generated static files 2026-10-09 22:27:57 +02:00