How to compare coding models on the same real task
Use clean checkouts, identical acceptance criteria and total cost across attempts. Include unsuccessful runs in the results.
Example
Two agents must fix the same bug and pass the same targeted test. One emits a small patch and the other succeeds only after a second round.
What to do
- Create scratch branches with identical starts. Freeze dependencies and give each model the same test, files and task instructions.
- Record calls, input and output usage, time, and whether the output passes human review. Eliminate context from earlier runs.
- Repeat on tasks of different complexity. Select defaults from accepted changes and use expensive models where they improve outcomes.
How to verify
Another engineer can reproduce the setup and compare invoices or token usage with the success criteria.
Limits
Benchmark results apply to the tested codebase, model versions and tasks. Some failures only appear at wider scope.