Commit Graph
34 Commits
Author SHA1 Message Date
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
Eren Araz 154cdd961b Add 'Impact' to engine list in config.json 2026-06-02 00:15:32 +03:00
rektdie 9bcd45bc8b added sp 2026-03-10 20:01:04 +01:00
rektdie 9e54d91636 Fix duplicate extension in config.json 2026-01-15 18:40:47 +01:00
rektdie 0ae20d2643 Fix file extension for DFRC_4852_v1 in config 2026-01-15 18:37:32 +01:00
rektdie 1415068cc7 added DFRC_4852_v1.epd.json 2026-01-15 18:35:20 +01:00
Jonathan Hallström 9af04380ac Enable engine throughput balancing 2026-01-01 23:12:15 +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 a9d280d221 Added Eleanor engine 2024-10-14 22:23:01 +02:00
Andrew Grant 076f7af5ea Have server provide explicit int32 seeds 2024-09-20 20:32:46 -04:00
Andrew Grant 795f1a0528 Correct massive flaws in Datagen genfens seeding 2024-09-18 23:10:52 -04:00
andrew 8a150343be Kick Client/Server to v30 2024-08-08 17:24:06 -04:00
andrew 0a135674e2 Kick to v29; Force timeout on fleet workers 2024-06-30 23:41:11 -04:00
andrew 6937b2cf81 Kick Client/Server to v28 2024-04-19 21:22:14 -04:00
andrew e877d6f70b Kick Server/Client to v27 2024-03-12 21:22:58 -04:00
Andrew Grant 2fcb7329ce Implement support for DATAGEN Workloads through the genfens interface (#200) 2024-03-12 21:22:07 -04:00
andrew 824b48fbf9 Kick to v26
Forces clients to refresh, to accept Equi
2024-02-04 04:49:09 -05:00
andrew c10614220b Add Equisetum 2024-02-04 04:43:28 -05:00
andrew fdbec02818 Kick to v25 2024-02-02 05:35:19 -05:00
andrew 35b9e409bd Add UHO filtered by Berserk, and by Torch 2024-01-31 00:02:19 -05:00
Andrew Grant 884265289e Allow for --focus ENGINE1 [ENGINE2 ....] to prioritize Workload Assignments (#187) 2024-01-30 23:44:45 -05:00
andrew 9d464e5b7d Add balance_engine_throughputs as a configuration option
Load balances tests with relation to each engine. If set to true, the effective throughput during work allocation will be scaled linearly with the number of tests which share the same dev engine.

Namely, it can be used in a large framework to ensure equal allocation of resources across various engines. This comit will be followed by one which allows the user to specify an engine to the client, via --engine MyEngine, to force their worker to selfishly select their engine.

We will account for cases where the selfish-engine is not a top-prio workload, and not play the low prio one.
We will account for the other workers, by ignoring this worker's contribution to overall worker distrubtion. This ensures that it is a strict net gain to attach your own machines to a framework
2024-01-11 21:17:59 -05:00
andrew 0807d2c2d5 Kick Server/Client to v23 2023-12-04 07:57:33 -05:00
andrew 1ac76bdcc1 Optimize default SPSA to avoid CPU downtime
Left Column indicates the number of threads of a match
N= represents the number of games ( not game pairs )
The values in the table are the % of CPU time wasted.

This is based on LTC data from Torch.
The Single Modeling area can be used to understand SPRT tests as well.

We find that sufficiently large N is needed to avoid massive waste.
Multiple distribution is significanly more prone to waste CPU time

Results for Single Modeling:
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
|    |      N=1 |      N=2 |       N=3 |      N=4 |       N=8 |      N=16 |      N=32 |
+====+==========+==========+===========+==========+===========+===========+===========+
|  1 |        0 |        0 |         0 |        0 |         0 |         0 |         0 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 16 | 0.187964 | 0.154541 | 0.0953438 | 0.111055 | 0.0682209 | 0.0419675 | 0.0234031 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 30 | 0.233956 | 0.250168 |  0.247093 | 0.160325 |   0.17584 | 0.0490092 | 0.0233125 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 60 |   0.3319 | 0.283755 |  0.310635 | 0.315316 | 0.0914697 | 0.0474954 | 0.0229517 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+

Results for Multiple Modeling:
+----+----------+----------+----------+----------+----------+----------+-----------+
|    |      N=1 |      N=2 |      N=3 |      N=4 |      N=8 |     N=16 |      N=32 |
+====+==========+==========+==========+==========+==========+==========+===========+
|  1 |        0 |        0 |        0 |        0 |        0 |        0 |         0 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 16 | 0.187964 | 0.108087 | 0.112321 |  0.18708 | 0.178225 | 0.109092 | 0.0847329 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 30 | 0.233956 | 0.228522 |  0.26862 | 0.263978 | 0.167372 | 0.182215 | 0.0831574 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 60 |   0.3319 | 0.352034 | 0.270229 | 0.291731 | 0.219136 | 0.178662 | 0.0936702 |
+----+----------+----------+----------+----------+----------+----------+-----------+
2023-11-22 16:25:08 -05:00
andrew 5b56253dcf Force reimport of libs in some python versions 2023-11-18 09:47:36 -05:00
andrew d4917c6c35 Kick to v21... 2023-11-18 09:25:44 -05:00
andrew c64725f181 Kick to v20; additionally chmod cutechess-ob from worker.py 2023-11-18 09:14:07 -05:00
andrew 64523f93e0 Generic, public settings for config.json example 2023-11-16 20:32:02 -05:00
andrew 74f613ac78 Return to master, and the base config 2023-11-16 20:25:11 -05:00
andrew ec427d0ef2 Auto updating step 1 2023-11-16 20:25:11 -05:00
andrew 4ec9d5b529 First step towards auto-extracting client
client.py will pull from github, as requested by the server
client.py will extract and put all files locally ( except replacing itself ? )

Moved cutechess directly into the Client folder to it gets pulled.
May need to chmod +x the cutechess-ob for Linux on demand.

In the future, the cleanup script will delete everythinge except:
client.py, and any credentials.* files.
Such that one can run an openbench client in any directory, from a single file.
2023-11-16 20:25:11 -05:00
andrew b101e5be23 Finalize config changes 2023-11-16 20:25:11 -05:00
andrew 37cc4a5b96 Load modular configs for Books + Engines
Produce some verification of correctness for those configs
Begin future client auto-updating things, with new config fields

client_repo_url, and client_repo_ref specifically.
2023-11-16 20:25:11 -05:00