zzc0208 commited on
Commit
3189c39
1 Parent(s): c7ded20

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -24,7 +24,7 @@ def update_model_stats(model1_name, model2_name, winner, turn, anony, language):
24
  "tstamp": tstamp
25
  })
26
 
27
- def calculate_elo(winner_elo, loser_elo, k=30, outcome=1):
28
  """
29
  winner_elo: Elo score of the winner before the game
30
  loser_elo: Elo score of the loser before the game
 
24
  "tstamp": tstamp
25
  })
26
 
27
+ def calculate_elo(winner_elo, loser_elo, k=28, outcome=1):
28
  """
29
  winner_elo: Elo score of the winner before the game
30
  loser_elo: Elo score of the loser before the game