File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ def untrusted_check(
178
178
min_time_limit : float = 10 ,
179
179
gt_time_limit : float = 60
180
180
) -> Tuple [str , np .ndarray ]:
181
- time_limit = max (min_time_limit , gt_time_limit )
182
- timeout = max (os .getenv ("BIGCODEBENCH_TIMEOUT_PER_TASK" , TIMEOUT_LIMIT ), time_limit ) + 1
181
+ min_time_limit = max (min_time_limit , gt_time_limit )
182
+ timeout = max (os .getenv ("BIGCODEBENCH_TIMEOUT_PER_TASK" , TIMEOUT_LIMIT ), min_time_limit ) + 1
183
183
# shared memory objects
184
184
stat = Value ("i" , _UNKNOWN )
185
185
manager = Manager ()
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def trusted_check(
87
87
max_stack_limit : float ,
88
88
min_time_limit : float = 10 ,
89
89
):
90
- timeout = max (os .getenv ("BIGCODEBENCH_TIMEOUT_PER_TASK" , TIMEOUT_LIMIT ), time_limit ) + 1
90
+ timeout = max (os .getenv ("BIGCODEBENCH_TIMEOUT_PER_TASK" , TIMEOUT_LIMIT ), min_time_limit ) + 1
91
91
# shared memory objects
92
92
times = Value ("d" , - 1 )
93
93
manager = Manager ()
You can’t perform that action at this time.
0 commit comments