Skip to content

Commit

Permalink
Fix num games finished, updated fast-chess
Browse files Browse the repository at this point in the history
  • Loading branch information
vondele committed Aug 2, 2024
1 parent 58fe4db commit 13254f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,12 @@ def shorten_hash(match):
spsa["losses"] = fastchess_WLD_results["losses"]
spsa["draws"] = fastchess_WLD_results["draws"]

num_games_finished = fastchess_WLD_results["games"]
num_games_finished = (
fastchess_WLD_results["games"]
+ saved_stats["wins"]
+ saved_stats["losses"]
+ saved_stats["draws"]
)

fastchess_ptnml_results = None
fastchess_WLD_results = None
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 242, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "guhlz0acUIvnunjuptp0oXIJR9MGcQrpcBmG8xTw+Qwfp3dDL5iEfIjIppDfrDP2", "games.py": "fRFEGLGxC6j9v+l1KGNgT4jpFKgZ4bl+XufUzmqAUCXH5feGsk5HT/U7fQIG0+hR"}
{"__version": 242, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "7I4OpNFG+m7siiP09PHNSbCJTxyF7bHyK8AHlZO0T9V6nk4TN//cVJzSvQTUiZdb", "games.py": "pVNV9x9pcqKWto8g/Nn1GDRVZUeZDVC0afDC2kxKBse5ntMYZzHc444Wa6ypXHpj"}
2 changes: 1 addition & 1 deletion worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def setup_fastchess(worker_dir, compiler, concurrency, global_cache):
testing_dir = worker_dir / "testing"
testing_dir.mkdir(exist_ok=True)

fastchess_sha = "fa97613da09b885fede60c7e9578e4eb39c59495"
fastchess_sha = "3564c85837060d9a39baac2257e6e43456de84df"
username = "Disservin"

fastchess = "fastchess" + EXE_SUFFIX
Expand Down

0 comments on commit 13254f6

Please sign in to comment.