Choosing a model for coding
Match the model and tool environment to implementation, review or debugging.
How to use it
- Name the job: explaining a function, reviewing a diff or modifying a repository. Repository changes require access to files, project instructions and relevant test commands.
- Use representative issues from your stack. Keep acceptance tests hidden where practical, and inspect the patch for unnecessary scope, compatibility and maintainability.
- Compare successful completed tasks per unit cost and human correction time. A fast code suggestion is not equivalent to a verified repository change.
Compare the options
| Option | Best fit | What to check |
|---|---|---|
| Chat assistant | Explain isolated code and discuss a proposed fix. | Cannot verify repository state without tools or supplied outputs. |
| Repository agent | Implement changes with file access and executable checks. | Tool permissions, environment setup and actual test evidence. |
| Review workflow | Inspect a diff and trace concrete regressions. | Access to callers and reproducible findings. |
Prompt template
Resolve {{issue}} in {{repository}}. Acceptance: {{criteria}}. Inspect relevant code, implement the change and run available checks. Report commands, observed results and unresolved failures. Keep the diff focused on the requested behavior.Check the result
- Use tasks with a known failure and independently check the patch against regression cases.
- Record tool errors and human intervention in the comparison.
Common mistakes
- Do not rank models from a single toy function or a self-reported test pass.