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(
178178 min_time_limit : float = 10 ,
179179 gt_time_limit : float = 60
180180) -> 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
183183 # shared memory objects
184184 stat = Value ("i" , _UNKNOWN )
185185 manager = Manager ()
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def trusted_check(
8787 max_stack_limit : float ,
8888 min_time_limit : float = 10 ,
8989):
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
9191 # shared memory objects
9292 times = Value ("d" , - 1 )
9393 manager = Manager ()
You can’t perform that action at this time.
0 commit comments