aboutsummaryrefslogtreecommitdiff
path: root/src/nn_train.py
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-09-20 08:28:09 +0100
committertslil <tslil@posteo.de>2026-09-20 08:29:22 +0100
commit6a2197328065fe38ac62d9e76e3e943fd297e73c (patch)
treecac839be5aadeeadb8ae2b383dc5992738652ab5 /src/nn_train.py
parent9f5f953a95c8617cd2fdd24f7402af632c1b07c2 (diff)
try combining loops
Diffstat (limited to 'src/nn_train.py')
-rwxr-xr-xsrc/nn_train.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nn_train.py b/src/nn_train.py
index 23cf38b..ae78e43 100755
--- a/src/nn_train.py
+++ b/src/nn_train.py
@@ -696,7 +696,7 @@ def run_step(
total_rated_games = sum(c.rated_games for c in candidates)
print(
- f"Tournament standings ({total_rated_games:,} rated games, {total_rated_games / len(candidates):,} games/candidate):"
+ f"Tournament standings ({total_rated_games:,} rated games, {total_rated_games // len(candidates):,} games/candidate):"
)
for idx, cand in sorted(
enumerate(candidates), key=lambda t: t[1].elo, reverse=True