core_leaderboard / config.py
benediktstroebl's picture
added automatic download for results
1783518
raw
history blame
624 Bytes
import pandas as pd
TYPES = [
"str",
"number",
"number"
]
SWEBENCH_ON_LOAD_COLUMNS = [
"agent_name",
"results_accuracy",
"results_total_cost",
]
SWEBENCH_SEARCH_COLUMNS = ['results_total_cost']
NUMERIC_INTERVALS = {
"?": pd.Interval(-1, 0, closed="right"),
"~1.5": pd.Interval(0, 2, closed="right"),
"~3": pd.Interval(2, 4, closed="right"),
"~7": pd.Interval(4, 9, closed="right"),
"~13": pd.Interval(9, 20, closed="right"),
"~35": pd.Interval(20, 45, closed="right"),
"~60": pd.Interval(45, 70, closed="right"),
"70+": pd.Interval(70, 10000, closed="right"),
}