Skip to content

Commit 076c1a7

Browse files
fixed :bug in summary_df
1 parent 223b90b commit 076c1a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scoring/score_submissions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ def get_summary_df(workload, workload_df, include_test_split=False):
9696
axis=1)
9797
summary_df['time to target on val (s)'] = workload_df.apply(
9898
lambda x: x['accumulated_submission_time'][int(x[
99-
'index to target on val'])]
100-
if x['val target reached'] else np.inf,
99+
'index to target on val'])] if x['val target reached'] else np.inf,
101100
axis=1)
102101

103102
# test metrics

0 commit comments

Comments
 (0)