Exercises in benchmarking and evals, part 7: DeepSWE, Senior SWE-Bench, napkin math, and winter tires
Summary
This analysis critically examines three distinct benchmarking scenarios, revealing common pitfalls in performance measurement and evaluation. The popular "sirupsen/napkin-math" GitHub repository, providing computer performance estimates, contains inaccuracies, including an understated 20ns random memory R/W latency (expected ~100ns) and flawed SSD read benchmarks that inadvertently read from cache or use unaligned accesses. Its sequential SSD read claim of 8 GiB/s exceeds documented cloud instance limits. AI coding agent benchmarks like DeepSWE and Senior SWE-Bench are also scrutinized for presenting implausible results, such as GPT-5.5 outperforming Opus 4.8, which contradicts user experience. These AI benchmarks employ subjective grading criteria, arbitrary length cutoffs for "tasteful solves," and exhibit significant LLM grading variance. Finally, the widespread belief that all-season tires become too hard below 7°C (45°F) is challenged by empirical tire performance tests, which demonstrate that all-season tires often outperform winter tires in dry or wet conditions above 0°C.
Key takeaway
For software engineers and AI scientists evaluating system performance or model capabilities, you should critically examine benchmark methodologies. Do not rely solely on headline scores from popular "napkin math" repositories or AI agent leaderboards like DeepSWE and Senior SWE-Bench. Instead, scrutinize the underlying code for caching issues, assess task representativeness, and be wary of subjective, discontinuous scoring. Your decisions on system design or model selection should be informed by benchmarks that reflect real-world workloads and employ robust, continuous evaluation metrics.
Key insights
Flawed methodology, unrepresentative tasks, and subjective scoring undermine benchmark validity and generalizability.
Principles
- Benchmarks must prevent unintended caching effects.
- Single summary scores often obscure true performance.
- Discontinuous scoring introduces arbitrary thresholds.
Method
To accurately measure memory latency, introduce data dependencies between loads to prevent parallel execution. For disk performance, account for read size, queue depth, and job count.
In practice
- Scrutinize benchmark code for caching issues.
- Validate LLM benchmark tasks against real workloads.
- Avoid benchmarks with arbitrary pass/fail cutoffs.
Topics
- Benchmarking
- Performance Evaluation
- AI Coding Agents
- LLM Evals
- System Performance
- Experimental Design
Code references
Best for: AI Engineer, NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, Software Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by danluu.com - danluu.com.