Skip to content

Commit

Permalink
Rebase, format, raise version
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Jan 9, 2025
1 parent e134c0e commit f10794f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import threading
import time
from base64 import b64decode
from contextlib import ExitStack
from datetime import datetime, timedelta, timezone
from pathlib import Path
from queue import Empty, Queue
Expand Down Expand Up @@ -387,7 +386,7 @@ def establish_validated_net(remote, testing_dir, net, global_cache):
)
time.sleep(waitTime)


def run_single_bench(engine, queue):
bench_sig = None
bench_nps = None
Expand Down Expand Up @@ -439,7 +438,8 @@ def verify_signature(engine, signature, active_cores):
multiprocessing.Process(
target=run_single_bench,
args=(engine, queue),
) for _ in range(active_cores)
)
for _ in range(active_cores)
]

for p in processes:
Expand All @@ -462,7 +462,7 @@ def verify_signature(engine, signature, active_cores):
sig,
)
raise RunException(message)

bench_nps += nps

bench_nps /= active_cores
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 247, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "fnKb7BjtNafSyeNEDD4R8km3YFzO0SvQHVdn252B3lDsV2wxLr3mG6SxqCVw8Sqg", "games.py": "8UyMjj/55AlxsO+2R1R92NasutgdHbLH6K9rxJfTD4cq02JTyOP93IoOZ1H7we9R"}
{"__version": 247, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "fnKb7BjtNafSyeNEDD4R8km3YFzO0SvQHVdn252B3lDsV2wxLr3mG6SxqCVw8Sqg", "games.py": "+vEUs1UNUaF+sZvJ9BHKZlJqP4rrwQvVq2vrlBGtp9nbLb1/W0NK0sdpi3vUQNl4"}

0 comments on commit f10794f

Please sign in to comment.