Digital download · English · Spec + tests + prompt scripts + scorecard
AI Coding Agent Benchmark Kit
Compare Claude Code, Cursor, Codex and Trae the way real development works: the same project, the same rules, the same 7 rounds of prompts and the same 46 acceptance tests. The only variable is the tool – and you run it with your own accounts and models.
Secure checkout and instant download via Creem, our Merchant of Record. 14-day refund if you haven’t downloaded the files – see our Refund Policy.
How the benchmark works
| Fixed | What’s in the kit |
|---|---|
| One project | ShortLink Lite: a standard-library Python URL shortener with 9 features (create, redirect with UTM, stats, auth, delete, health, list, persistence, robustness) and a complete error-code table |
| One rules file | Word-for-word identical rules for each tool: CLAUDE.md, .cursor/rules/shortlink.mdc, AGENTS.md, .trae/rules/project_rules.md |
| Same 7 rounds | Plan, skeleton, core features, remaining features, acceptance, code review, docs – identical task text, with per-tool notes on how to send each prompt. Headless scripts for Claude Code and Codex |
| Same 46 tests | HTTP acceptance tests that score any implementation in one command, including a restart to check persistence |
| Same scorecard | Pass rate, minutes, extra prompts, rule violations and your ratings turned into a weighted 0-100 score (weights are editable) |
Real output: the tests catch real bugs
$ python run_acceptance.py --project ../03-reference-impl TOTAL 46/46 pass rate 100.0% $ python mutation_check.py CAUGHT deleted link returns 404 instead of 410 44/46 CAUGHT UTM overwrites keys already in the target 45/46 CAUGHT API endpoints skip authentication 42/46 CAUGHT pagination accepts limit up to 1000 45/46 CAUGHT data does not survive a restart 45/46 CAUGHT 16 KB body limit removed 45/46 CAUGHT reserved words accepted as codes 43/46 7/7 planted bugs caught by the acceptance tests
A worked example from a real run
We ran Claude Code (2.1.287, headless) through all 7 rounds with zero extra prompts: 46/46 acceptance, 471 self-written unit tests, about 21 minutes and an API-equivalent cost of about $4.36. The report shows each round’s time, cost and behaviour – including how it stopped to ask about gaps in the spec and what the review round found. That run used the Chinese edition of the same tasks, so the kit includes the measured report, not the Chinese code.
Cursor, Codex and Trae are runnable scripts we have not run. The kit contains no scores for them and no AI-simulated results – you produce the real comparison on your machine.
What’s inside
| Part | Details |
|---|---|
| Spec | PRD with 9 features, constraints and 11 error codes |
| Acceptance | 46 tests, one-command scoring with JSON output, mutation check |
| Reference implementation | About 410 lines of standard-library Python, 24 unit tests, Docker files |
| Tool folders (x4) | Rules file, .gitignore, 7-round script; plain-text prompts and headless scripts for the CLI tools |
| Prompt log | Prompt library in Excel (40 prompts including 12 rescue prompts), log template |
| Scorecard | Excel with formulas and an example column from the real run |
Is it right for you?
Good fit: developers and team leads choosing a coding agent for real work; teams writing an internal evaluation; trainers who need a fair, repeatable exercise. You can swap in your own PRD and tests to evaluate any new tool.
Not a fit: if you want a ready-made ranking of the four tools, this isn’t it – the point is that you measure them yourself. You’ll need accounts for the tools you compare.
FAQ
What do I need? Python 3.10+ and pytest, plus the coding tools you want to compare (their subscriptions or credits are not included).
How long does it take? About 30-60 minutes per tool, so an afternoon for all four.
Can I use the reference implementation? Yes, freely in your own projects. Please don’t resell the kit.
Questions? Email support@aistacknav.com. We reply within 3 business days.
AI Stack Nav is independent and not affiliated with Anthropic, Anysphere (Cursor), OpenAI or ByteDance. Claude Code, Cursor, Codex and Trae are trademarks of their owners. No subscriptions or credits are included.