Skip to content

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

Make evaluation runner test cross-platform

OMP Agente2bfffe35b55
diff --git a/tests/test_run_evals.py b/tests/test_run_evals.py
index e8a4380..12c809c 100644
--- a/tests/test_run_evals.py
+++ b/tests/test_run_evals.py
@@ -130,7 +130,11 @@ class EvaluationHarnessTest(unittest.TestCase):
json.dumps(
{
"stub": {
- "command": ["sh", "-c", f"touch {marker} && echo hi"],
+ "command": [
+ sys.executable,
+ "-c",
+ f"from pathlib import Path; Path({str(marker)!r}).touch(); print('hi')",
+ ],
"response_format": "text",
}
}