| name | quick-rerun |
| description | Run a single benchmark task locally to verify a fix. Uses haiku for speed. Triggers on quick rerun, rerun task, verify fix, test task. |
| user-invocable | true |
Quick Rerun
Run a single benchmark task with minimal settings to verify a fix works.
Input
User provides:
- A benchmark task path:
benchmarks/csb_sdlc_pytorch/sgt-005
- Or a task from a failed run to re-test:
sgt-005
- Or says "rerun the task I just fixed"
Steps
1. Resolve the task path
If user gave a task name, find the benchmark path:
cd ~/CodeScaleBench
find benchmarks -type d -name "TASKNAME" | head -5
2. Determine the MCP type
Ask the user or infer from context:
none — baseline, no MCP tools
base — Sourcegraph base tools (keyword search)
deepsearch — Sourcegraph full (keyword + deep search)
Default to none (baseline) for fastest verification.
3. Set up environment
cd ~/CodeScaleBench
source .env.local 2>/dev/null ||
PYTHONPATH=
configs/_common.sh
ensure_fresh_token