idolezal commited on
Commit
66ea54e
1 Parent(s): 07329a3

task_score * 100

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -128,7 +128,7 @@ class LeaderboardServer:
128
  num_of_competitors += 1
129
  if tournament_results[submission_id][competitor_id][task]:
130
  num_of_wins += 1
131
- task_score = num_of_wins / num_of_competitors # TODO: if num_of_competitors > 0 else ???
132
  win_score.setdefault(task_category, []).append(task_score)
133
 
134
  if category == task_category:
 
128
  num_of_competitors += 1
129
  if tournament_results[submission_id][competitor_id][task]:
130
  num_of_wins += 1
131
+ task_score = num_of_wins / num_of_competitors * 100 # TODO: if num_of_competitors > 0 else ???
132
  win_score.setdefault(task_category, []).append(task_score)
133
 
134
  if category == task_category: