Skip to content

Commit

Permalink
Use fast-chess in comments / strings
Browse files Browse the repository at this point in the history
  • Loading branch information
vondele committed Jul 21, 2024
1 parent a208ea8 commit 43fbd41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ def run_games(
start_game_index = opening_offset + input_total_games
run_seed = int(hashlib.sha1(run["_id"].encode("utf-8")).hexdigest(), 16) % (2**30)

# Format options according to fastchess syntax.
# Format options according to fast-chess syntax.
def parse_options(s):
results = []
chunks = s.split("=")
Expand Down Expand Up @@ -1531,7 +1531,7 @@ def make_player(arg):
if any(substring in book.upper() for substring in ["FRC", "960"]):
variant = "fischerandom"

# Run fastchess binary.
# Run fast-chess binary.
fastchess = "fast-chess" + EXE_SUFFIX
cmd = (
[
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": "fF/2yzobPMjsU42K0O7P0gGn2Ss/gXLXhwAbP0nKkHnGnKQ0WSGEuFiCy/qt2T1E", "games.py": "7RjSD5X3UP0DIgQecSpaRKTVFmf/4POUAHpNskuPVWNkdscE7+2PTQGfqHklIwho"}
{"__version": 242, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "BiGlU/DUb/C4IdELbaJnPNqrY4GsSu68cLjPXXs5FQxwr7aTyUXVlS4GfEIcIUZg", "games.py": "2sAfBWL3NXZapSqw9SZCwMPtpzRUO1hDlVin3cOSp+s6CIyRLiS45ZO/JyopfTT8"}
4 changes: 2 additions & 2 deletions worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def get_credentials(config, options, args):


def verify_required_fastchess(fastchess_path, fastchess_sha):
# Verify that fastchess is working and has the required minimum version.
# Verify that fast-chess is working and has the required minimum version.

if not fastchess_path.exists():
return False
Expand Down Expand Up @@ -473,7 +473,7 @@ def setup_fastchess(worker_dir, compiler, concurrency, global_cache):
+ fastchess_sha
)

print("Building fast chess from sources at {}".format(item_url))
print("Building fast-chess from sources at {}".format(item_url))

should_cache = False
blob = cache_read(global_cache, fastchess_sha + ".zip")
Expand Down

0 comments on commit 43fbd41

Please sign in to comment.