Skip to content

A skill to stop your coding agent from burying the answer. ADHD-friendly output.

Merge main into PR #125, preserving eval runner isolation

ayghrifcd0e2fb5393
diff --cc scripts/run_evals.py
index c369e90,064d763..568b7dc
--- a/scripts/run_evals.py
+++ b/scripts/run_evals.py
@@@ -256,14 -292,14 +292,15 @@@ def run_evaluations(args: argparse.Name
invocation.append(prompt)
completed = None
for attempt in range(args.retries + 1):
- completed = subprocess.run(
- invocation,
- check=False,
- capture_output=True,
- text=True,
- cwd=ROOT,
- stdin=subprocess.DEVNULL,
- )
+ with _neutral_cwd() as cwd:
+ completed = subprocess.run(
+ invocation,
+ check=False,
+ capture_output=True,
+ text=True,
+ cwd=cwd,
++ stdin=subprocess.DEVNULL,
+ )
if completed.returncode == 0:
break
if attempt < args.retries: