Commit Graph
24 Commits
Author SHA1 Message Date
andrew 098649d8b1 Fix bug where --rebuild is ignored for bench_all.py
Code was not appending the branch name to the engine name, thus failing to find old binaries, and delete them
2024-06-30 19:16:50 -04:00
Andrew Grant 9e94da6b1f Limit benching to 60s, before killing engines/threads and raising an exception (#225)
Adds a fourth possible OpenBenchBadBenchException exception during benching, for exceeding the max bench duration. This ensures that engines that infinitely stall, do not also lock up OpenBench clients. Additionally, make sure to clean up possible zombie processes that existed even in the case of a proper bench.
2024-06-17 11:53:45 -04:00
andrew a5e031a148 Add --scale option to archive2nps.py
--scale will scale the time spent based on the ScaleFactor header in the PGN. In practice, this should get your engines NPS values very close to the configuration speeds.

This produces a functional change in the % output reported
2024-04-15 15:02:26 -04:00
andrew d76d911a82 Add games reporting to archive2nps; Extra fix for last commit 2024-04-09 12:41:28 -04:00
andrew a0d76f32ec Turn an archive into a single pgn file, via stdout 2024-03-19 23:19:16 -04:00
andrew f71a068949 Convert VERBOSE OpenBench PGN archive to NPS reporting 2024-03-19 19:30:29 -04:00
andrew 27d9296ce1 Update NPS values; Bugfixes for bench_all.py 2024-02-26 20:12:03 -05:00
andrew 8efe0f919c Hack fix for relative import issue.
Alternatives are to use a setup-install util, which is an over-solution
2024-02-15 22:31:56 -05:00
andrew c268b47e4d Modernize running benchmarks and reporting errors 2024-02-02 05:35:19 -05:00
andrew 8f250c2c3f Reuse utils.py in worker.py; Add many exceptions for safety 2024-02-02 05:35:19 -05:00
andrew a280e63dba Finalized bench_all.py 2023-12-08 12:05:42 -05:00
andrew f4f619fbd2 Add /api/buildinfo/ for bulk collection of configs and networks 2023-12-08 10:50:02 -05:00
andrew 3af603dbe3 Finish bench_all.py, minus cmdline arguments 2023-12-07 16:26:10 -05:00
andrew 2a461ecfaa Initial steps for build_all.py 2023-12-06 13:32:46 -05:00
andrew 5d6ae6a06b Update download_network.py script, and bench_engine.py script 2023-07-14 22:50:30 -04:00
andrew 353e9e6f3c Update upload_network.py script 2023-07-14 21:42:10 -04:00
andrew 01d99a86df Implement support for cross-engine play
Also support for time odds
2023-06-01 09:40:33 -04:00
Andrew Grant b4b6302c58 Apply env. solution to more .py files 2022-08-29 21:01:24 -04:00
Andrew Grant 402086ce7d Split out the bench_engine so it can be run alone 2022-07-19 00:06:27 -04:00
Andrew Grant 325abb70d2 Remove unused arguments; streamline error reporting 2022-07-16 23:24:40 -04:00
Andrew Grant 7d860f07c5 Single file to download networks by their SHA 2022-07-12 17:41:42 -04:00
Andrew Grant 9aa4c608a5 Push utility to build and bench all engines using default networks 2022-06-20 07:30:05 -04:00
Andrew Grant f374953e78 Fix formating of scripts 2022-05-19 08:17:37 -04:00
Andrew Grant c31a9a0b2d Allow non-browser requests to upload Networks and create tests 2022-05-19 08:16:10 -04:00