Prerequisites
- AgentCompass is installed from the repository root.
MODEL_BASE_URLpoints to a local OpenAI-compatible GLM-5.2 endpoint, such ashttp://localhost:8000/v1.MODEL_API_KEYis exported. Use a real key if your local endpoint requires one, orEMPTYfor local servers that ignore API keys.- Docker is installed, the daemon is running, and the host can pull SWE-bench task images.
- SWE-bench and mini-SWE-agent dependencies are installed:
Command
What This Does
| Part | Meaning |
|---|---|
swebench_verified | Benchmark that loads curated repository repair tasks. |
mini_swe_agent | Harness that runs mini-SWE-agent against the prepared workspace. |
glm-5.2 | Model id recorded in results and sent to the local endpoint. |
docker | Runs the task in a local container selected by the SWE-bench recipe. |
Expected Outputs
Results are written toresults/swebench_verified/glm-5.2/<timestamp>/.
| File | Use |
|---|---|
details/*.json | Per-sample prediction, status, and scoring payload. |
summary.md | Run-level metrics. |
progress.jsonl | Structured execution events. |
logs/*.log | Setup and model-call logs. |
Common Adjustments
| Need | Change |
|---|---|
| Run another SWE-bench instance | Replace the id inside sample_ids. |
| Run more tasks | Provide multiple ids or remove sample_ids after the smoke test passes. |
| Use another local endpoint | Change model id, base URL, key, and protocol. |
| Avoid local install activation | Prefix with uv run when using the project .venv. |
