DDBench: A Benchmark for Agentic Debugging on Distributed Systems

Yibo Yan, Huijuan Wang, Junzhou He, Yizhuo Liang, Shaoyu Wang, Huanchen Sun, Seo Jin ParkNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Top AI coding agents now score in the high 70s on standard single-process bug benchmarks, making them look almost interchangeable. DDBench tests them on a much harder frontier: 60 real-world bugs from distributed systems, where faults span multiple processes, nodes, and non-deterministic timings. On this terrain, frontier models that were neck-and-neck suddenly spread out by over 40 percentage points—and giving them a small, curated bundle of debugging context (logs, traces, and code notes) boosts weaker models' success rates while slashing token costs for stronger ones.

What Problem Does This Paper Address?

If you've ever debugged a distributed system, you know the pain: the bug rarely lives in a single stack trace. Instead, it hides in the spaces between processes—a timeout firing a millisecond too early, a race condition across replicas, or a protocol invariant quietly breaking under load.

Existing AI coding benchmarks (like SWE-bench) focus almost exclusively on single-process codebases. Because frontier LLMs now cluster tightly in the 74–81% range on SWE-bench Verified, it's getting hard to tell them apart or measure whether they can actually reason about cross-process causality. Furthermore, while developers rely heavily on logs, traces, and runtime state to narrow down distributed bugs, no controlled study had quantified how much this external "debugging context" actually helps an AI agent—or when it might hurt.

Methods

DDBench evaluates coding agents using a controlled, two-condition harness inside an isolated container (using mini-swe-agent as the scaffold):

  1. Symptom-Only Condition: The agent receives only a description of the fault (SYMPTOM.md) and the buggy codebase. It has to explore the repo, run commands, and piece together the root cause on its own.
  2. Context-Augmented Condition: The agent gets the exact same codebase and symptom, plus a bounded debug-context bundle—1 to 3 short Markdown files (median 321 tokens) containing realistic debugging artifacts like crash stack traces, test outputs, or targeted code-investigation notes.
FIGURE 3: The flow of evaluating a DDBENCH bug case. The buggy codebase and agent are containerized together, and the agent can access the codebase and a Markdown symptom description. In the context-augmented condition, the agent also has access to a debug-context bundle (green). After the agent concludes its patch, a hidden oracle runs against the codebase and returns PASS/FAIL as the final evaluation.

To build the benchmark without leaking answers, the authors used a semi-agentic pipeline: an LLM agent mined candidate issues and synthesized initial artifacts, followed by automated oracle hardening (ensuring tests reliably fail pre-patch and pass post-patch) and a manual audit by five distributed-systems researchers.

Datasets

DDBench consists of 60 historical bugs mined from 13 open-source distributed systems across five languages (Go, C++, Java, Erlang, and Rust), covering key-value stores, consensus libraries, messaging systems, service meshes, streaming engines, and a storage engine.

The cases are divided into three reasoning-scope tiers:

  • Tier-1 (31 cases): The hardest set, requiring reasoning over distributed protocol state and concurrent interleavings.
  • Tier-2 (15 cases): Bugs spanning multi-process state.
  • Tier-3 (14 cases): Single-process, input-triggered crashes within distributed systems.

Key Insights and Ideas

  • Single-process benchmarks mask a huge capability gap: Models that look nearly identical on SWE-bench Verified diverge sharply when forced to reason across processes and non-deterministic schedules.
  • Debugging context helps everyone, but in different ways: Weaker models use the extra context to actually solve bugs they otherwise couldn't, whereas stronger models already have the reasoning horsepower to brute-force explore—so for them, context mainly acts as a diagnostic accelerator that cuts down wasted steps and token costs.
  • Better tools can beat better models: Because debug-context shifts both accuracy and cost, a weaker, cheaper model armed with good debugging context can outperform a stronger, more expensive model flying blind.
  • The "abstraction distance" trap: More context isn't automatically better. When the observation in the debug-context sits many causal steps away from the actual bug, even a faithful log or measurement can anchor a strong model on the wrong layer of the system (e.g., chasing a storage engine threshold when the real fault is a blocked replication socket).

Key Results

The authors evaluated 10 proprietary and open-weight models on DDBench (capped at 450 steps, $5, and 30 minutes per case):

FIGURE 1: DDBENCH sharply differentiates models on distributed debugging. Under the symptom-only condition, six models span 42 pp on DDBENCH tier- 1 (n=31), compared with only 7 pp on SWE-bench Verified (n=500).
  • Sharp model separation: Under the symptom-only condition on Tier-1, the 10 models spanned 45 percentage points (from 6.5% for GPT OSS 120B to 51.6% for Claude Opus 4.6). Among the six models with public SWE-bench Verified scores, the spread was only 7 pp on SWE-bench, compared to 42 pp on DDBench Tier-1.
  • Broad lift from debug-context: Adding the debug-context bundle raised the aggregate Tier-1 pass rate from 31.0% to 50.0% (+19.0 pp). Every single model improved, with 72 cases flipping from FAIL to PASS versus only 13 flipping the other way.
  • Asymmetric gains: Weaker models saw massive pass-rate jumps (e.g., GLM 4.7 jumped from 9.7% to 48.4%), while stronger models saw huge efficiency gains (Claude Opus 4.6's token usage dropped 61%, from 3.11M to 1.21M tokens per case, with 39% fewer steps).
  • Leaderboard reshuffling: Context-augmented GPT 5.4 reached 67.7% pass rate, overtaking symptom-only Opus 4.6 (51.6%) while consuming 70% fewer tokens.
  • Scaling with search-space size: As expected, the pass-rate lift from debug-context shrank as the diagnostic search space narrowed: +19.0 pp on Tier-1, +14.7 pp on Tier-2, and +9.3 pp on Tier-3.

Limitations and Future Work

The authors note several limitations:

  • Single agent scaffold: Only mini-swe-agent was tested due to compute constraints; multi-scaffold comparisons (e.g., with Claude Code or Codex) are left for future work.
  • No content-level ablation: The debug-context bundle was tested as an all-or-nothing unit, so we don't yet know which specific artifact (logs vs. stack traces vs. code notes) drives the most gain.
  • Single context generator: All bundles were generated by Claude Code driving Claude Opus 4.6.
  • Hermetic containers: Logical cluster nodes run as native processes inside a single container over loopback sockets, meaning orchestration-level failures (like Kubernetes pod or container-networking faults) are not represented.

Summary updated

BibTeX
@inproceedings{yan2026ddbench,
  author = {Yibo Yan and Huijuan Wang and Junzhou He and Yizhuo Liang and Shaoyu Wang and Huanchen Sun and Seo Jin Park},
  title = {{DDBench: A Benchmark for Agentic Debugging on Distributed Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xeI7yaisrf},
}

Loading related content...

Figure