Commit Graph
165 Commits
Author SHA1 Message Date
Andrew Grant 2fcb7329ce Implement support for DATAGEN Workloads through the genfens interface (#200) 2024-03-12 21:22:07 -04:00
Arseniy 1e3ea617e7 Implement editing of profile repos directly (#204) 2024-03-11 19:34:13 -04:00
andrew eca8ccc613 Add a mechanism for cache-busting static files 2024-03-07 19:15:41 -05:00
andrew c268b47e4d Modernize running benchmarks and reporting errors 2024-02-02 05:35:19 -05:00
andrew f1626daad9 Merge tune.html and test.html into workload.html
Always show a network, even if it is blank due to a non NNUE engine
Redirect test/tune searches where the names are swapped
2024-01-10 20:13:44 -05:00
Andrew GrantandMinusKelvin 003148abbe Finalize Priority Group Dividers (#184)
Co-authored-by: MinusKelvin <mark.carlson@minuskelvin.net>
2024-01-09 14:11:41 -05:00
Mark Carlson 2363e7a517 Add priority group dividers (#183) 2024-01-09 14:09:34 -05:00
andrew c9b889eb9c Add PGN Archive download buttons, and API endpoint 2023-12-11 13:29:43 -05:00
andrew 468281d52e Auto consolidate .pgn.bz2 files into a .tar archive 2023-12-11 12:42:03 -05:00
andrew f4f619fbd2 Add /api/buildinfo/ for bulk collection of configs and networks 2023-12-08 10:50:02 -05:00
andrew 2a461ecfaa Initial steps for build_all.py 2023-12-06 13:32:46 -05:00
andrew 5f97fd9e6a Upload the PGNs and save them. Last step for that 2023-12-04 07:57:33 -05:00
andrew 28d4f859c2 Fix removed return statement in client authentication 2023-11-16 20:53:12 -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 91ea350f1d Natural formatting for configs in the API 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
andrew 98090b7ad3 Allow networks to be seen as previous defaults
Networks can now be default, previous-default, or neither.
Networks can can have these fields manually edited.
Networks with default or previous-default status may not be deleted.
Networks may have their names changed, iff no conflicts arise.
2023-11-08 18:19:39 -05:00
andrew 44fafff0c5 Simplify client_verify_worker to a decorator
Removes copy pasted code from 6 functions
2023-11-08 16:52:38 -05:00
andrew b3f8cc67af Add a heartbeat to the Client
Hits /clientHeartbeat/ when no data exists to report
May return a stop header to abort the workload
2023-11-08 14:56:10 -05:00
andrew 4ab3e0c31b Drop extra JSON layer on Config API responses
No need to wrap in 'config' : {}
2023-10-20 18:28:23 -04:00
andrew 1091b6be83 Don't insert keys into the config by mistake
Should be a copy of the data
2023-10-20 18:04:48 -04:00
andrew 3cff04bab1 Add some API endpoints
Add:

/api/config/ to display all engines, and all books
/api/config/<engine>/ to display the config for a specific engine
/api/networks/<engine>/ list all of the networks, and the default, for an engine
/api/networks/<engine>/<sha|name>/ download a network, given the sha or the name
2023-09-25 17:00:07 -04:00
andrew ef9d1ba68d Fix wrong use of test_mode types
FIXED should have been GAMES
2023-09-19 14:58:50 -04:00
Andrew Grant ee267381fc Implement SPSA for OpenBench (#169)
* Support Worker and Thread Limits
* Drop report_rate from the Client
* Creation page
* WIP for SPSA; Lots of code shuffling to clean it up
* Able to create a Tune in the interface
* Start to work on a display page for Tunes
* Move all workload utilities to their own dir
* Ignore config files going forward
* Able to produce an SPSA test from the Server
* Round integers with probabilities that make sense
* Client side working
* Report as results come in, don't wait
* Fix workload size comment
* Cleanup and fix Tune modifications
* Adustment to random value in tuning
* Delete engine configs
2023-09-19 14:44:52 -04:00
Alexandra 5d1ee29358 Add restore button to test view page (#164) 2023-09-11 10:36:49 -04:00
andrew f76de2bc56 Improve Searching
Fix ordering of searches to be most-recent first
Fix for fixed-game tests not matching due to wrong arguments
Display datestamps for searched tests
Modify base template block to drop the <tr> tags
2023-08-18 13:09:26 -04:00
Andrew Grant a1f8efb55a Report all errors after workload is finished (#155)
Upon completion of the workload, parse all newly created PGN files for errors. We identify these by the Termination header. Any errors found are reported to the server.

Modify the PGN naming scheme to be more versatile; Name them as <test-id>.<result-id>.<cutechess-seed>.pgn. This makes it more easy to identify PGNs and their association with tests, if someone were to look at the raw files.

Commit some code, partially based on Kimmy's efforts, which will help process PGNs without the use of python-chess' PGN libs, which are far too slow.

Cleanup some interfaces which had far too much information on them

Delete some very ancient auto-approving code that only applied to the cross-approval case. Frankly no one is running OpenBench instances with cross-approval.

Display both the base and dev NPS on the machines page
2023-08-18 12:45:42 -04:00
andrew 832f23c4eb Resolves https://github.com/AndyGrant/OpenBench/issues/149 2023-07-25 14:11:40 -04:00
andrew 36984135e8 Fix scripting interface for creating tests 2023-07-19 04:48:09 -04:00
andrew ef3104cd68 Implement Searching again 2023-07-19 04:45:44 -04:00
andrew 353e9e6f3c Update upload_network.py script 2023-07-14 21:42:10 -04:00
andrew 12c81c05dd Three different sets of changes in one commit
1. Fix the Networks API to handle duplicate Networks between engines
2. Modify end points to account for this ( breaks scripts and client )
3. Update Client to handle these changes
2023-07-14 21:12:29 -04:00
andrew abd6a42455 Revert change which uncollapsed Result objects 2023-06-26 07:13:47 -04:00
andrew fd1fa723d5 Handle optimal builds; remove need for a naming convention
throw errors on bad jsons at start time of server
2023-06-26 06:48:56 -04:00
andrew ef1f23503b Engines have specific Operating Systems they support 2023-06-26 03:29:10 -04:00
andrew 5d1d703dfa Include dev+base NPS, send private field cleanly, more Client refactoring 2023-06-22 19:25:58 -04:00
andrew a9c532f873 Allow using git tags for branch names
Now supports branch names, commit shas, and git tags. Shas must still be the full length 40-character value. Tags are a fall back on branch names. If a tag has the same name as a branch, the branch will be retrieved and not the tag
2023-06-11 06:49:38 -04:00
andrew 48e3b14c1b Fix Network downloads + Machines view
Renamed function argument from action to target, was missing for Client connections.
Machines.html needs to use a different template tag to handle workload-id to test resolution
2023-06-11 04:29:13 -04:00
andrew 41a771c69b More cleanups 2023-06-09 11:57:37 -04:00
andrew 59917f960d Work in progress on some view changes 2023-06-09 11:03:35 -04:00
rafid-dev be55d74daa Use current page for updating status and error 2023-06-09 14:06:59 +06:00
andrew b5b95ec9cf Small cleanups 2023-06-09 00:39:15 -04:00
rafid-dev 5ae64025aa multiple repos 2023-06-09 09:49:56 +06:00
andrew 01d99a86df Implement support for cross-engine play
Also support for time odds
2023-06-01 09:40:33 -04:00
andrew 97d33dcddb Support downloading Networks by their name as opposed to sha
Future file uploads cannot contain illegla characters. Legal characters are alpha numerics, dots, underscores, and dashes. Any existing files of this schema are probably unable to be downloaded.
2023-05-24 13:26:45 -04:00
andrew 6f3a0fc4c3 Collapse Results into a single object 2023-05-20 05:46:55 -04:00
andrew 36470ff7ef Split LogEvents into events, and errors 2023-05-17 20:44:48 -04:00
andrew d5fb5cf9a7 Fix missing .keys() 2023-05-17 02:27:06 -04:00
andrew 27e6017bfb Finalize? 2023-05-17 02:05:53 -04:00
andrew dd0f2ca29f Working progress 2023-05-15 18:43:35 -04:00