diff options
| author | tslil <tslil@posteo.de> | 2026-09-20 08:28:09 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-09-20 08:29:22 +0100 |
| commit | 6a2197328065fe38ac62d9e76e3e943fd297e73c (patch) | |
| tree | cac839be5aadeeadb8ae2b383dc5992738652ab5 /src | |
| parent | 9f5f953a95c8617cd2fdd24f7402af632c1b07c2 (diff) | |
try combining loops
Diffstat (limited to 'src')
| -rwxr-xr-x | src/nn_train.py | 2 |
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 |
