bishmoy commited on
Commit
b45db7b
·
verified ·
1 Parent(s): 33cce30

leaderboard row value update

Browse files
Files changed (1) hide show
  1. leaderboard.py +3 -3
leaderboard.py CHANGED
@@ -40,11 +40,11 @@ def get_scores(df):
40
 
41
  if c == 'Overall':
42
  mask = df.label == 0
43
- elif c == 'Under 25s':
44
  mask = (df.label == 0) & (df.duration < 26)
45
- elif c == '26s - 55s':
46
  mask = (df.label == 0) & (df.duration >= 26) & (df.duration < 56)
47
- elif c == '56s - 125s':
48
  mask = (df.label == 0) & (df.duration >= 56) & (df.duration < 126)
49
  else:
50
  raise ValueError
 
40
 
41
  if c == 'Overall':
42
  mask = df.label == 0
43
+ elif c == 'Under 26 s':
44
  mask = (df.label == 0) & (df.duration < 26)
45
+ elif c == '55 s':
46
  mask = (df.label == 0) & (df.duration >= 26) & (df.duration < 56)
47
+ elif c == '125 s':
48
  mask = (df.label == 0) & (df.duration >= 56) & (df.duration < 126)
49
  else:
50
  raise ValueError