Commit Graph
141 Commits
Author SHA1 Message Date
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
andrew bdba7ab283 Update config schema 2023-05-03 17:30:09 -04:00
andrew c32dbef9dd Add report_rate and workload_size options to Tests 2023-04-06 01:12:02 -04:00
andrew 7d820d85d9 Let the server loop until artifacts exist 2023-04-03 19:21:14 -04:00
andrew b18cbce31f Resolve infinite recursion on illegal logins 2023-03-16 16:50:57 -04:00
andrew f22883647d Finalize hiding public information in settings 2023-03-08 04:16:44 -05:00
andrew c02e0782b6 Add Support for Private source engines
Private source engines must be located on Github.
All test branches must come from the same repo as stated in the config.
Repo must have an openbench.yml file that produces artifacts for the
workers.
Basic name scheme: windows-avx2-pext, linux-avx512-pext, ...

Desired artifacts can be set in the engine config under ['build']['artifacts']
Server must have a private key, housed in credentials.enginename.
Client must have a private key, housed in credentials.enginename.
enginename is lowercase and with spaces removed.

Private engines cannot build their NNUE files directly into them.
They must therefore support being run from the CMD line, with additional options.
Namely: ./engine "setoption name EvalFile value path/to/file" "bench" "quit".
2023-03-07 23:13:29 -05:00
andrew 4e4da633d6 Allow blocking of public access to OpenBench 2023-02-22 06:15:31 -05:00
andrew 0643dda80f Revert "Reworked CSS (#103)"
This reverts commit e8fcc6a787.
2022-12-02 15:37:41 -05:00
Luecx e8fcc6a787 Reworked CSS (#103)
Recklessly merging, YOLO.
2022-11-22 03:13:40 -05:00
Andrew Grant 2491503422 Send PGNs of crashes to the server; Send compiler output 2022-09-13 01:28:30 -04:00
Andrew Grant a1db59d782 allow engine-specific Network views 2022-06-18 04:26:23 -04:00
Andrew Grant c31a9a0b2d Allow non-browser requests to upload Networks and create tests 2022-05-19 08:16:10 -04:00
Andrew Grant 5dd468ebb5 Fix time control parsing for repeating TCs.
Breaks backwards clients
2021-10-06 15:40:13 -04:00
Andrew Grant e3380f21f5 Sortable Networks; Disable noobhack 2021-08-10 23:25:43 -04:00
Andrew Grant 4d5e79e5b9 Noob hack should be based on unique engines, not tests 2021-07-23 06:43:44 -04:00
Andrew Grant 453fb16830 Fix namespace issue with Noob hack 2021-07-06 17:19:01 -04:00
Andrew Grant f0f014ea20 Keep Noob workers on more active frameworks 2021-07-06 16:22:35 -04:00
Andrew Grant 2482865155 Fix authentication by-pass when failing twice in a row
Also cleanup the code to a single client authentication function
2021-07-03 00:57:55 -04:00
Andrew Grant c53ef0c6e5 Apply fastAuthenticate() everywhere doing client-server communication 2021-07-02 10:44:25 -04:00
Andrew Grant 7b9b6f05e5 Short-circuit Authentication of incoming game results
Attempt to resolve requests to an IP address, and then save that with each worker. A worker can compare against the IP address of his last request, and use that comparison to skip the password hashing steps
2021-07-02 10:24:17 -04:00
Andrew Grant f97e45b07d Fix the hack? 2021-06-28 21:22:47 -04:00
Andrew Grant 2e34ca6aaa Make Noobpwn machines jump around queues 2021-06-28 21:18:45 -04:00
Andrew Grant 0da47c267c Massive Server/Client changes, listed below:
1. Reduce the time between workloads by dropping the number of games, as well as requesting them more often.

2. Add a Client version to do compatibility checks with the Server.

3. Add a Fleet Mode, to enable Noobpwnftw's workers to act as desired. Add this to the command line, as well the ability to pass the Syzygy WDL path from the command line to avoid modifying the Client.

4. Delete Syzygy DTZ components, as they are not needed. Replace with a working WDL check. Each test can decide for Syzygy Adjudication and Syzygy WDL (Gameplay) to be REQUIRED, OPTIONAL, or DISABLED.

5. Change the name of the binaries to be cutechess-ob, to avoid naming conflicts with those who have installed the Cutechess GUI and placed it onto the system path.

6. Implement Fixed Games test modes, defaulting to 20,000 games per test. Simplify some of the SPRT options by using the [A, B] format explicity.

7. Reduce the activity update rate to 5 minutes per machine, down from 15 minutes.

8. Have throughputs defined for each test mode (STC, LTC, SMPSTC, SMPLTC)
2021-06-28 17:37:18 -04:00
Andrew Grant ed7cb14287 No longer flag time losses as errors on the main page 2021-06-15 13:26:34 -04:00