Commit Graph
213 Commits
Author SHA1 Message Date
andrew e378c025f2 Force Windows binaries to have .exe extensions
Technically, authors really should have their makefiles attached the .exe extension on Windows. But they seldom do. Its easier to add this hack fix, than it is to enforce that standard, and help people debug.

Worth noting that this is only an issue for Windows, in shells that don't let you execute files, IE powershell/cmd.
2024-05-02 03:12:49 -04:00
andrew 6937b2cf81 Kick Client/Server to v28 2024-04-19 21:22:14 -04:00
ArseniyandAndrew Grant 8f6d86eb5f Implement workload blacklisting (#214)
Closes #213

Co-authored-by: Andrew Grant <andrew.github@grantnet.us>
2024-04-14 15:38:33 -04:00
andrew 00ca2e524e Set Last Report after the request, not before
Extremely slow connections can cause a chain of reports without ever meaningfully exhausting the results queue, causing single pairs of results to be reported at a time, until almsot the end of time.
2024-04-13 22:09:41 -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
mhouppin 5f1e653eba Fix invalid escape sequences in pattern strings (#205)
Turn some strings to raw strings to fix errors raised by the Python 3.12 interpreter on invalid escape sequences.
2024-03-11 19:30:57 -04:00
andrew 6b268e7c20 Remove debug information 2024-02-29 21:56:13 -05:00
andrew 52e5fbd4c6 Second fix for public engines 2024-02-29 21:54:41 -05:00
andrew aecd3d02e5 Fix issues with branch names containing a slash 2024-02-29 21:50:04 -05:00
andrew fbebb2ba7c Loosen version requirements for packages 2024-02-29 20:59:48 -05:00
andrew 86a395d08d Remove final direct use of relpath instead of abspath
Fixes another possible error case when tmpfs is not on the same disk as the cwd
2024-02-26 20:28:54 -05:00
Andrew Grant b54719ee77 Fixes for relative vs absolute file paths when building (#193)
The output binary is saved alongside the makefile initially, and moved after the fact. This was done to account for Windows and cross-drive issues due to temp filesystems. Because we are saving alongside the makefile, we can just use a relative path, ie the basename of the engine binary, to avoid possible issues in some engine build scripts.

Also, check process exitcode instead of just checking for the binary when building
Also, pretty-print the compiler error, even though it is sent to the server
2024-02-20 18:10:45 -05:00
andrew bb30aab72d Standardize usage of sha256 and error reporting 2024-02-15 19:33:15 -05:00
Michał Witanowski 7f50e2c6e5 Fix case sensitivity when comparing SHA hashes (#191) 2024-02-15 19:30:01 -05:00
andrew f65be5c572 Various fixes for Windows ( and maybe Linux )
using Make to tell the compiler to produce a binary to the /Engines/ dir fails on Windows when the tmpfs is not on the same disk as the Client. This might have also occured on Windows. shutil resolves that.

Take extra care to always maintain the possible .exe extension on files when doing this. This is done twice in the shutil line; first making sure to pickup the true file output name, and secondly to only use the root of the out_path and not the basename
2024-02-12 16:20:15 -05:00
andrew 824b48fbf9 Kick to v26
Forces clients to refresh, to accept Equi
2024-02-04 04:49:09 -05:00
andrew 2db74d1b83 python3.6 support fix 2024-02-02 06:59:13 -05:00
andrew 732e7b1d61 Drop leading slash in api network requests 2024-02-02 05:42:22 -05:00
andrew fdbec02818 Kick to v25 2024-02-02 05:35:19 -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 Grant 884265289e Allow for --focus ENGINE1 [ENGINE2 ....] to prioritize Workload Assignments (#187) 2024-01-30 23:44:45 -05:00
andrew 77d34a71f7 Add -f to pkill arguments 2024-01-09 13:23:56 -05:00
andrew 0cde283d89 More robust handling of PGN processing
Fixes a bug where .pgn openings don't have the book moves shown
Fixes a bug where engines that don't report sufficent data ( either eval, or eval depth seldepth time nodes ) would have the moves not copied to the compressed pgn

Standard now has {book} for book moves
Standard now has {unknown} for moves with missing information

Added GameEndTime to VERBOSE PGNs to retroactively compute things
Added scaleFactor to all PGNs to allow adjusting the TimeControl correctly
Removed PlyCount which was not needed, and simply added more bytes
2023-12-20 16:51:03 -05:00
andrew a280e63dba Finalized bench_all.py 2023-12-08 12:05:42 -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 29e042504d Fix openbench.exit for signaling workers 2023-12-04 09:32:38 -05:00
andrew 0807d2c2d5 Kick Server/Client to v23 2023-12-04 07:57:33 -05:00
andrew 5f97fd9e6a Upload the PGNs and save them. Last step for that 2023-12-04 07:57:33 -05:00
andrew c4e27d393f Include engine name in PGN 2023-12-04 07:57:33 -05:00
andrew fda9012f63 Legal PGNS with 7-tag roster 2023-12-04 07:57:33 -05:00
andrew ff8c01bf2d Compress after playing all games 2023-12-04 07:57:33 -05:00
andrew ca630c80f2 Initial step for PGN uploading
1. Create the interface code to allow for it.
2. Create pgn_util to strip and compress PGNs
2023-12-04 07:57:33 -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 af22c9a79c Remove --proxy for Github 2023-11-16 23:01:34 -05:00
Andrew Grant 3fa1e2b984 Update permissions from a real linux box... 2023-11-16 21:34:00 -05:00
andrew 34f61092c7 Set base dir on startup like before 2023-11-16 21:28:33 -05:00
andrew a38fbf6cfb More permission for cutechess client 2023-11-16 21:12:42 -05:00
andrew 3986e8f497 chmod +X cutechess-ob; report downloading.
Tested with --clean
2023-11-16 21:03:09 -05:00
andrew bbe7cc25c1 Update cleanup.sh 2023-11-16 20:25:11 -05:00
andrew 77475b71be Minor fixes, functionally working now 2023-11-16 20:25:11 -05:00
andrew f5ce0de2ca Readd client.py 2023-11-16 20:25:11 -05:00
andrew 0799414b2c Delete client.py, to rename it lowercase.
Windows issues
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 8c765ba0bb Bump Server/Client version to v18 2023-11-08 14:57:06 -05:00