choco9966 commited on
Commit
0ec5231
1 Parent(s): b5c6339

Update src/display/utils.py

Browse files
Files changed (1) hide show
  1. src/display/utils.py +7 -8
src/display/utils.py CHANGED
@@ -146,12 +146,11 @@ EVAL_TYPES = [c.type for c in fields(EvalQueueColumn)]
146
  BENCHMARK_COLS = [t.value.col_name for t in Tasks]
147
 
148
  NUMERIC_INTERVALS = {
149
- "?": pd.Interval(-1, 0, closed="right"),
150
- "~1.5": pd.Interval(0, 2, closed="right"),
151
- "~3": pd.Interval(2, 4, closed="right"),
152
- "~7": pd.Interval(4, 9, closed="right"),
153
- "~13": pd.Interval(9, 20, closed="right"),
154
- "~35": pd.Interval(20, 45, closed="right"),
155
- "~60": pd.Interval(45, 70, closed="right"),
156
- "70+": pd.Interval(70, 10000, closed="right"),
157
  }
 
146
  BENCHMARK_COLS = [t.value.col_name for t in Tasks]
147
 
148
  NUMERIC_INTERVALS = {
149
+ "Unknown": pd.Interval(-1, 0, closed="right"),
150
+ "0~3B": pd.Interval(0, 3, closed="right"),
151
+ "3~7B": pd.Interval(3, 7.3, closed="right"),
152
+ "7~13B": pd.Interval(7.3, 13, closed="right"),
153
+ "13~35B": pd.Interval(13, 35, closed="right"),
154
+ "35~60B": pd.Interval(35, 60, closed="right"),
155
+ "60B+": pd.Interval(60, 10000, closed="right"),
 
156
  }