Evil Martians·
Type errors cost our coding agents under 1% of their time
TL;DR
Evil Martians tested whether static types help AI coding agents by reanalyzing public benchmarks and running its own Ruby, Rust, and TypeScript experiments. At comparable task difficulty, typed and dynamic languages had similar success rates; fixing type-related errors took under 1% of the Ruby agents’ time, while requiring type checks added overhead without improving results. These tests suggest that understanding requirements and checking behavior matter more than type checking for agent performance.
Relevant links
- Railsevilmartians.com
- Agentic developmentevilmartians.com
- TypeScriptevilmartians.com
- JavaScriptevilmartians.com
- Rubyevilmartians.com
- Irina Nazarova CEO of Evil Martians. I build developer tools and study the market that funds them.evilmartians.com
- Octoverse 2025github.blog
- Thomas Wolfx.com
- Simon Willisonsimonwillison.net
- the official coding agent benchmarkrubyonrails.org
- GitHub’s own explainergithub.blog
- a PLDI 2025 paperarxiv.org