Skip to content

Commit 223b90b

Browse files
fixed :bug in summary_df
1 parent 57656d8 commit 223b90b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scoring/score_submissions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def get_summary_df(workload, workload_df, include_test_split=False):
9595
if x['val target reached'] else np.nan,
9696
axis=1)
9797
summary_df['time to target on val (s)'] = workload_df.apply(
98-
lambda x: x['accumulated_submission_time'][int(x['index to target on val'])]
98+
lambda x: x['accumulated_submission_time'][int(x[
99+
'index to target on val'])]
99100
if x['val target reached'] else np.inf,
100101
axis=1)
101102

0 commit comments

Comments
 (0)