# Evaluate coding agents on real repositories

Coding agents fail on messy repos, flaky tests, and tool limits — not on polished benchmark prompts. AgentClash evaluates patches, test runs, artifacts, and cost on workloads your team actually ships.

Source: https://www.agentclash.dev/use-cases/coding-agent-evaluation
Markdown export: https://www.agentclash.dev/md/use-cases/coding-agent-evaluation

## What coding agent eval should check

Look for correct fixes, sane tool usage, reproducible artifacts, and stable cost/latency — not just a plausible diff in a demo.

- Specify the integer expression evaluator and its input contract.
- Test precedence, unary minus and truncation toward zero for division.

## What should a coding fixture check?

Expression evaluator tests precedence, unary minus and truncating division.

Its Python exercise is only one kind of coding work

## Coding eval workflow

### 1. Define the fixture

Specify the integer expression evaluator and its input contract.

### 2. Check edge cases

Test precedence, unary minus and truncation toward zero for division.

## Start with a real bug

Promote a failed coding-agent run into a challenge pack, then eval model and harness changes before they reach users.

- [GPT generations expression evaluator](https://www.agentclash.dev/benchmarks/gpt-generations-expression-evaluator): Read the reported expression evaluator comparison and caveats.
- [Write a challenge pack](https://www.agentclash.dev/docs/guides/write-a-challenge-pack): Author and validate a challenge pack.
- [Agent evals](https://www.agentclash.dev/agent-evals): Real-task agent evals with replay evidence and CI gates.
- [LLM agent evaluation](https://www.agentclash.dev/llm-agent-evaluation): Evaluate LLM agents on full trajectories, not one-shot answers.
- [Compare tools](https://www.agentclash.dev/compare): See how AgentClash differs from prompt-eval platforms.

## Coding agent evaluation FAQ

### Can AgentClash evaluate agents that edit code?

Yes. Challenge packs can run agents in sandboxes with repository fixtures, test commands, and artifact checks for patches and logs.

### How do teams compare coding agents fairly?

Run every candidate on the same repo state, tool policy, and time budget, then compare scorecards and replay evidence.

### Can coding agent evals run in CI?

Yes. Wire challenge packs into pull request gates so model, prompt, or tool changes cannot merge when correctness regresses.