Why Small-Code Benchmarks Misjudge Agents Debugging Distributed Systems
Judging an outage-diagnosis agent by its score on self-contained coding tasks picks the wrong tool: that ability only shows up on a benchmark built from real distributed-system failures and graded by root-cause code localization [1].
On this page
Wei Li runs the transaction systems at a payments company. At two in the morning the settlement path starts timing out in bursts, and the only thing in the log is one unreadable error line, no file name, no hint of where things went wrong. On his desk is a shortlist from vendors selling automated bug-finding assistants, each with a glossy sheet of public scores. He has half an hour to decide whether one of them should lead the hunt tonight, or whether he should wake his team and read code by hand. His current rule is simple: trust whoever scores highest on public tests. That rule will steer him wrong. Those scores mostly come from asking a program to complete a small, self-contained piece of code, while the failure in front of him stretches across several machines and several languages. Paper [1] is about building an exam that looks far more like that night.
The Wrong Exam: A Code-Completion Score Says Little About Outage Diagnosis
Start with what Wei is actually staring at. A distributed system is software where one job is split across several machines that talk to each other over a network, so a small decision on one box can surface as a failure only after a detour through two others. To choose a tool for finding bugs in such software you first need a shared exam, a benchmark, which is simply a curated set of real failures on which different tools are graded under the same rules. The trouble, as paper [1] points out, is with the exams we already have.
Existing benchmarks mostly sit in small-scale settings, above all self-contained Python modules: hand the model a snippet and an error, ask for a patch, and check whether the patch passes tests. On competitive programming and code synthesis, LLM agents genuinely shine, where an LLM agent is a large language model wired up with tools to search code and run commands so it can investigate step by step. But distributed systems, the class of software that actually runs production, are barely examined by these exams [1].
One more distinction is worth pinning down. Repository-scale datasets such as Defects4J, ManyBugs and SWE-bench-style instances score the patch a model submits; benchmarks such as OpenRCA and RCAEval follow a separate root-cause-analysis line. DistDebug-Bench scores neither a patch nor a fix: it scores root-cause localization directly, which means naming the exact code blocks that are the true source of the failure without editing anything [1]. That is also what Wei actually needs at two in the morning, which lines to open first rather than a mergeable fix.
So a high score on that shortlist answers whether a tool can complete a standalone snippet, not whether it can circle the culprit across a dozen machines' logs. Re-rank those same tools on an exam built from real distributed failures and graded by which lines they point at, and the order can change completely. That is precisely what [1] sets out to test.
What the Exam Holds: The Makeup of 120 Real Failures
First, the scale. Paper [1] curates 120 high-quality real-world bugs from 11 widely used distributed systems, spanning 5 programming languages and 10 failure patterns. It does not simply dump existing issue reports into a pile: each incident is curated and labelled, then released as a reusable set, with the evaluator and agent traces made public as well.
The numbers describe the difficulty better than adjectives do. The benchmark marks 218 gold buggy blocks in total; 45.0% of incidents, that is 54 of them, need more than one block to express the root cause; 23.3%, or 28 incidents, span multiple files; and the median labelled block length is five lines. Harder still, in 83 of the 120 reports, about 69.2%, the exact gold method never appears in the title or body, so a tool cannot cheat by reading a function name off the report [1].
Whether a report carries clues splits the questions into very different tiers. One tier is called opaque reports: no stack trace and no method named, exactly the kind of single error line Wei saw at night, meaning the report says little more than that something broke. The paper says 50 of the 120 benchmark bugs are opaque, so this is not an edge case but a large, ordinary slice [1]. It is also where agents fall apart most sharply, as the results below show.
| Dimension | Number | What it means |
|---|---|---|
| Real bugs | 120 | Curated from 11 distributed systems |
| Programming languages | 5 | Cross-language, not Python only |
| Failure patterns | 10 | Different ways things break |
| Gold buggy blocks | 218 | The answer key for localization |
| Incidents needing multiple blocks | 45.0% (54) | The cause is not in one place |
| Incidents spanning multiple files | 23.3% (28) | Cannot stare at one file |
| Reports not naming the method | 69.2% (83) | No shortcut via a function name |
An anti-cheating detail deserves its own note. The authors worry a tool might not be diagnosing at all, but simply reciting answers memorized from public repositories. Their leakage guard tests this: reveal the issue ID and function coverage is 17.3%, hide the ID and it is 21.4%, so the ID buys no advantage; only when the tool is given access to the whole repository does coverage jump to 45.5%. In short, memorizing an issue number or title earns nothing; finding the right place in the code is what counts [1].
How It Is Graded: Which Lines Count as a Hit
The grading rules have to be clear before any score means anything. The primary metric is block coverage, roughly the share of the true buggy code blocks that a diagnosis manages to circle. Paired with it is block precision, the share of the blocks a tool reports that are actually buggy. One rewards casting a wide net, the other rewards not crying wolf, and they pull in opposite directions [1].
The paper also tracks mention coverage and a flaky-bug rate: a bug is flaky when block coverage swings by more than 0.2 across repeated attempts, meaning a lucky hit rather than a reliable one. Uncertainty is reported as 95% bug-level bootstrap confidence intervals, where bootstrap simply means resampling the 120 questions many times to estimate how stable a score is; per agent and per bug, the first three valid scored attempts are averaged to damp single-run luck [1].
There is a tension a buyer can easily miss. Coverage and precision trade off: an agent can report a broad swathe of suspicious blocks and look good on coverage while looking bad on precision, or report only its most confident few lines and show the reverse. In Table 1 of [1], Mini-SWE-Agent reaches 56.4% block coverage at 43.1% block precision; Codex CLI has lower coverage, 46.5%, but the highest block precision, 49.3%; OpenCode sits between them at 50.0% coverage and 47.7% precision. Ordering on a single headline score is pretending this trade-off does not exist.
Where Agents Falter: Accuracy Collapses When Clues Disappear
Split the strongest configurations by report type and the gap is stark [1]. On questions with a method named and clear clues, block coverage reaches 95.8% for local-or-adjacent method-named bugs and 94.8% for no-stack method-named bugs. Switch to the 42 no-stack opaque bugs and even the best configuration manages only 65.0%; switch to the seven cross-component opaque bugs and it falls to 40.5%. Same model, different wording in the report, and its locating ability looks like a different machine [1].
The pattern holds for a fixed baseline. Mini-SWE with GPT-5.2-Codex scores 82.8% on no-stack method-named bugs, drops to 44.7% on no-stack opaque bugs and to 14.3% on cross-component opaque ones; another configuration lifts opaque coverage to 65.0%, still 29.8 percentage points below its own 94.8% on method-named bugs. The authors single out the 50 opaque reports precisely because such questions are not trick exceptions but a large block of these real failures [1].
The gains are not free. GPT-5.5 raises aggregate block coverage from 56.4% to 65.1% relative to GPT-5.2-Codex, but block precision falls from 43.1% to 34.7%, meaning it reports more broadly and less accurately. Some models are expensive: MiMo v2.5 Pro reaches 58.5% block coverage and 72.6% mention coverage while using 2.6M tokens per run on average; Kimi K2.6 reaches 58.3% block coverage at 2.8M tokens per run; a more conservative 3.5 Flash has the highest block precision, 51.1%, but only 47.5% coverage [1].
Two finer findings echo the abstract's phrase tunnel vision, which here means a lack of explicit reasoning structure, so the agent commits to one path and does not reopen the search. First, agents rarely recover late: only 21.0% of parseable runs show late recovery, and only 11.25% of successful runs do. Second, diagnosis quality flows downstream: high-coverage diagnoses led the repair agent to edit the gold block in 50.0% of attempts, versus 11.1% with no diagnosis and 0% with low-coverage diagnoses [1].
Boundaries: What This Exam Cannot Answer
To be blunt, the paper [1] does not declare any agent the winner, does not publish a purchase ranking to copy, and does not claim that a high-coverage diagnosis is automatically a good fix. What it offers is a way of building and grading an exam closer to production reality, plus the gaps that repeatedly show up under that exam. Push it past that claim and you will make it say things it never said.
The following limits are either drawn by the authors or follow directly from their material.
- It grades localization, not repair: DistDebug-Bench scores root-cause pointing directly, and whether a patch is correct or safe to deploy sits outside this exam [1];
- The set has a fixed scope: conclusions come from these 120 bugs, 11 systems and 5 languages, so a different stack or failure type needs a fresh measurement, not extrapolation;
- The labels carry subjectivity: the paper reports annotation agreement with Krippendorff's alpha and pairwise Jaccard similarity on 51 incidents, so which lines count as the cause is not uniquely given;
- Thin cells are explicitly exploratory: for a cell with a single bug the paper gives no confidence interval, and small-cell comparisons are labelled exploratory, not conclusive [1];
- The repair link is an observation, not a promise: the correlation between high-coverage diagnosis and the repair agent editing the right place comes from attempt statistics, not a guarantee that a live outage gets fixed.
One line to close it: this approach applies when you already have an automated debugging agent and accept being graded on real distributed failures by root-cause code blocks. If what you really need to know is whether it can fix an outage on its own, whether it transfers to another stack, or whether to trust it on that single error line at night, this exam cannot answer that. It measures how far an agent still is from finding the culprit; it cannot measure the act of standing watch for you [1].
