Spaces:
Runtime error
Runtime error
Commit ·
ee85d80
1
Parent(s): 36dd7e8
24 hours wait time and enable validation
Browse filesFiles changed (3)
33 unmodified lines343536373839404133 unmodified lineslogger = get_logger(__name__)ENSURE_ALL_PRESENT = False # TODO: Switch to True.SPLIT = "warmup" # TODO templbdb = F1Data(cp_ds_name=CODE_PROBLEMS_REPO,33 unmodified lines343536373839404133 unmodified lineslogger = get_logger(__name__)ENSURE_ALL_PRESENT = TrueSPLIT = "core" # warmup for debuglbdb = F1Data(cp_ds_name=CODE_PROBLEMS_REPO,
79 unmodified lines8081828384858679 unmodified lineslogger.info(f"Loaded results df with {len(full_df)} entries")# TODO: Forbid multiple submissions under the same name?# Keep only the latest entry per unique (System Name, System Type, Organization) tripletfinal_df = (full_df.sort_values("Submitted On", ascending=False)79 unmodified lines80818283848579 unmodified lineslogger.info(f"Loaded results df with {len(full_df)} entries")# Keep only the latest entry per unique (System Name, System Type, Organization) tripletfinal_df = (full_df.sort_values("Submitted On", ascending=False)
19 unmodified lines2021222324252619 unmodified lineslogger = get_logger(__name__)MIN_WAIT_TIME_PER_USER_HRS = 0.1 # TODO set to 24 for productionRATE_LIMIT_WINDOW_HRS = 24MAX_SUBMISSIONS_PER_WINDOW = 1019 unmodified lines2021222324252619 unmodified lineslogger = get_logger(__name__)MIN_WAIT_TIME_PER_USER_HRS = 24RATE_LIMIT_WINDOW_HRS = 24MAX_SUBMISSIONS_PER_WINDOW = 10
app.py+2-2
src/populate.py-1
src/submission/submit.py+1-1