Spaces:
Sleeping
Sleeping
ping98k
commited on
Commit
·
a7a5116
1
Parent(s):
37e55ed
Remove extra progress logs
Browse files
main.py
CHANGED
|
@@ -127,7 +127,6 @@ def run_tournament(
|
|
| 127 |
return sum(vals) / len(vals) if vals else 0.0
|
| 128 |
return float(data.get("score", 0))
|
| 129 |
|
| 130 |
-
yield from log("Scoring players …")
|
| 131 |
with ThreadPoolExecutor(max_workers=max_workers) as ex:
|
| 132 |
scores = {
|
| 133 |
p: s
|
|
@@ -205,7 +204,6 @@ def run_tournament(
|
|
| 205 |
candidates = list(set(finalists + semifinalists + get_candidates(champion, lost_to)))
|
| 206 |
return playoff(candidates, executor)[:num_top_picks]
|
| 207 |
|
| 208 |
-
yield from log("Running tournament …")
|
| 209 |
with ThreadPoolExecutor(max_workers=max_workers) as ex:
|
| 210 |
top_k = get_top(top_players, ex)
|
| 211 |
else:
|
|
|
|
| 127 |
return sum(vals) / len(vals) if vals else 0.0
|
| 128 |
return float(data.get("score", 0))
|
| 129 |
|
|
|
|
| 130 |
with ThreadPoolExecutor(max_workers=max_workers) as ex:
|
| 131 |
scores = {
|
| 132 |
p: s
|
|
|
|
| 204 |
candidates = list(set(finalists + semifinalists + get_candidates(champion, lost_to)))
|
| 205 |
return playoff(candidates, executor)[:num_top_picks]
|
| 206 |
|
|
|
|
| 207 |
with ThreadPoolExecutor(max_workers=max_workers) as ex:
|
| 208 |
top_k = get_top(top_players, ex)
|
| 209 |
else:
|