Skip to content

Commit 28f6c29

Browse files
committed
Merge branch 'main' of github.com:Zilinghan/SciCode
2 parents 2198836 + b817134 commit 28f6c29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eval/inspect_ai/scicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ def run_script(script_path):
245245
subprocess.run(['python', script_path], check=True, capture_output=True,
246246
text=True, timeout=1800)
247247
return 0
248-
except subprocess.CalledProcessError as e:
248+
except subprocess.CalledProcessError:
249249
return 1
250-
except subprocess.TimeoutExpired as e:
250+
except subprocess.TimeoutExpired:
251251
return 2
252252

253253
total_steps = len(sub_steps)

0 commit comments

Comments
 (0)