0 cumulative citations
View corpus contextA new benchmark finds LLM coding agents struggle on distributed-system bugs but improve substantially with curated logs and traces: providing bounded debugging context increases fix rates by about 18 percentage points and reshuffles the model leaderboard, with weaker models gaining capability while stronger models mainly reduce cost.
Citation observations
Cumulative provider counts captured on specific dates; providers are never combined.
LLM-based coding agents have advanced rapidly on single-process SWE tasks, with frontier models now clustering in the high-70s on SWE-bench Verified. Distributed-system debugging, however, remains an under-explored regime: bugs span processes, nodes, and protocol interactions, with root causes rarely recoverable from source alone and brute-force exploration intractable across non-deterministic interleavings. This leaves two gaps in LLM and agent evaluation: no code-repair benchmark targets distributed-system bugs, and no controlled study isolates how much externally provided debugging context changes agent success on them. We introduce DDBench, a code-repair benchmark of 60 historical bugs mined from 13 open-source distributed systems, partitioned into three difficulty tiers. DDBench evaluates every case under two matched conditions: a symptom-only condition where the agent receives only the bug symptom and repository, and a context-augmented condition where it additionally receives a bounded debugging context (logs, traces, runtime state, and targeted code-investigation notes), isolating the effect of debugging context from model capability. The evaluation of ten LLMs on DDBench reveals several findings. First, distributed debugging exercises a reasoning dimension that single-process benchmarks do not surface: models' pass rates span 61 pp, and pairwise bootstrap separates 9 of 15 top-tier model pairs at p < 0.05 on DDBench's hardest case-set. Second, bounded debugging context lifts aggregate pass rate by +18.1 pp, and the lift is asymmetric: weaker models gain pass rate, while stronger models gain efficiency. Third, debugging context requires careful curation, as even faithful debugging context can sometimes mislead LLMs.
Summary
Main Finding
DDBENCH is a new, controlled benchmark for source-level code repair on distributed-system bugs. It shows (1) distributed debugging separates model capabilities much more than single-process benchmarks do (tier-1 cases produced a 61 percentage‑point spread across 10 models vs. ~7 pp on SWE-bench for the same subset of models), and (2) supplying bounded, curated debugging context (logs/traces/targeted exploration notes) raises aggregate pass rate by +18.1 percentage points while substantially reducing token cost and steps-to-completion for stronger models. The benefits are asymmetric: weaker models gain most in success rate, stronger models gain most in efficiency; but context must be curated carefully because it can sometimes mislead models.
Key Points
-
Dataset and scope
- DDBENCH: 60 historical bugs from 13 open-source distributed systems; partitioned into tiers by difficulty: tier-1 (31 cases, hardest), tier-2 (15), tier-3 (14).
- Case types span protocol/recovery, replication/consistency, concurrency hazards, input-triggered crashes, and resource/delivery anomalies.
- Languages: Go, C++, Java, Erlang, Rust.
-
Debug-context as an experimental knob
- Each case has two matched conditions: symptom-only (repo + symptom file) and context-augmented (adds a bounded debug-context bundle: logs/traces/runtime snapshots/targeted static notes).
- Bundles: 1–3 short Markdown files; median 321 tokens (max 1,403). They exclude the fix itself or direct pointers to it.
- The debug-context slot is extensible: tools (tracers, static analyzers) can populate it and be compared head-to-head.
-
Evaluation setup
- Agents: mini-swe-agent scaffold (tool access, repo access); same agent used across models.
- Models: 10 LLMs (proprietary and open-weight)—examples include Claude Opus 4.6, Claude Sonnet 4.6, GPT 5.4 (and mini), GLM family, Gemma 4, Kimi K2.5, GPT OSS.
- Resource bounds: max 450 steps per case, $5 token budget per case, 30 minutes wall time.
- Metrics: pass rate (hidden oracle), tokens consumed, steps-to-first-edit, total steps, action distributions.
- Statistical methods: paired bootstrap for pairwise model differentiation (10k resamples over tier-1 cases); mixed-effects logistic regression to estimate overall debug-context effect controlling for model and case random effects.
-
Core empirical findings
- Model separation: On tier-1 symptom-only, pass rates spanned 61 pp (top 67.7% vs bottom 6.5%). For six models with reported SWE-bench scores, the same models spanned only ~7 pp on SWE-bench but 58 pp on DDBENCH tier-1—showing distributed debugging exercises a distinct reasoning axis.
- Debug-context impact: Aggregate pass rate rose from 32.6% to 50.6% (+18.1 pp) when context was provided. Nine of ten models improved (one tied). Examples: GLM 4.7 improved from 9.7% → 48.4% (+38.7 pp). Strong models (e.g., Opus 4.6) saw modest or no pass-rate gains but large efficiency gains (≈69% lower token usage and ≈41% fewer steps-to-completion for Opus 4.6).
- Leaderboard reshuffling: context-augmented condition changed relative rankings and capability-cost Pareto—some models matched higher-tier symptom-only performance while consuming far fewer tokens.
- Risks: Faithful debug-context can sometimes mislead agents, especially if the observed signal is distant from the fault; careful curation matters.
Data & Methods
-
Dataset construction
- Semi-agentic pipeline: an LLM-based agent performed first-pass mining and artifact synthesis; human researchers validated, sanitized (to avoid answer leakage), and accepted cases.
- Admission criteria: bug must be confirmed and fixed upstream; diagnosis must require cross-process or interleaving-aware reasoning.
- Oracles: Reproducers and hidden PASS/FAIL oracles were hardened (iteratively) so they pass only on correct repairs; patches need not be textual matches to upstream fixes—functional correctness is sufficient.
-
Experimental design
- Two-condition within-case evaluation (symptom-only vs context-augmented) isolates the marginal value of externally provided debugging context.
- Agents had identical tooling in both conditions and could pursue their own exploration; only the additional debug-context bundle differed.
- Statistical control: mixed-effects logistic regression modeled pass probability as a function of debug-context with random intercepts for model and case; pairwise bootstrap tested differences between specific models.
-
Reproducibility & extensibility
- DDBENCH is agent-agnostic; the debug-context slot is designed to accept outputs from other automated tools for comparative studies.
- Full curation involved human review by distributed-systems researchers to ensure cases genuinely require distributed reasoning.
Implications for AI Economics
-
Value of information (VoI) and asymmetric returns
- The debug-context channel is a classic VoI case: bounded, targeted information significantly increases success probability (+18.1 pp) and reduces operational costs (tokens, time).
- Returns are asymmetric: investing in context generation/instrumentation yields higher effectiveness for weaker/cheaper models (making them viable substitutes) and efficiency gains for top-tier models. This suggests two economically interesting deployment strategies:
- Instrument + use smaller/cheaper models: if curated context raises a low-cost model’s pass rate enough, total cost per successful repair (compute + context generation) can be reduced relative to using a large-model-only strategy.
- Instrument + use frontier models: if the priority is latency/cost per attempt rather than marginal success, furnishing context reduces token/time costs for higher-tier models—lowering operational spend without sacrificing success rate.
-
Pricing, procurement, and productization
- Providers and vendors can monetize debug-context generation (tracing, log aggregation, targeted static analysis) as a value-added service or bundle it with model access—there is clear economic value in shipping curated context to LLMs.
- Procurement decisions for enterprises should consider not just raw model capability (e.g., benchmark scores) but the interaction of model choice with instrumentation investment. Benchmarks like DDBENCH highlight that benchmarking with and without context changes the cost-effectiveness ordering of models.
- Benchmark-driven purchasing: since context can reshuffle leaderboards, vendors’ advertised single-process metrics may underrepresent real-world value in distributed debugging scenarios. Enterprises should demand context-augmented evaluations for relevant workflows.
-
Cost-efficiency and ROI modeling
- Operational spend depends on (a) model token/time cost, (b) success rate, (c) cost to generate/curate debug-context, (d) cost of failed attempts (time/engineer attention).
- DDBENCH provides empirical parameters: large reductions in token consumption (e.g., ~69% for Opus 4.6) translate to direct dollar savings; improvements in pass rate translate to fewer human escalations / shorter mean time to repair—both have measurable economic benefit.
- A practical ROI analysis should compare (a) cost per fixed bug using a high-end model symptom-only vs (b) cost per fixed bug using a cheaper model + curated context, accounting for context-generation engineering costs and risk of misdirection.
-
Market dynamics & innovation incentives
- Opportunity for tools market: automated, trustworthy debug-context generators (tracers, distributed recorders, invariant checkers) will be valuable complementary products to LLMs.
- Platform lock-in vs composability: vendors that pipe curated context into their models (closed stack) could offer superior bundled economics; conversely, open tooling that produces sharable context bundles enables competitive mixing of cheaper models + instrumentation.
- Benchmarking and SLA design: enterprises and cloud providers should update SLAs, procurement tests, and pricing models to reflect context-augmented performance and the asymmetric value of context for different model classes.
-
Curation cost and risk
- Generating useful debug-context is not free: instrumentation, storage, sanitization, and human curation have costs. Furthermore, the paper shows that even faithful context can mislead models—introducing operational risk that must be priced.
- Economically, investments in instrumentation must be evaluated against both expected gains in repair success/time and the risk-adjusted cost of misleading context.
-
Research & policy implications
- Benchmarks that ignore the information environment understate the economic trade-offs in deploying LLMs for complex tasks. Evaluations should include realistic auxiliary data channels.
- For model vendors, demonstrating performance under context-augmented regimes will become important to capture enterprise contracts where instrumentation is standard.
Caveats and limits - DDBENCH contains 60 curated cases (quality-focused, not maximal scale). Results are high-quality but may not fully represent all distributed systems or every operational stack. - Debug-context in this release is deliberately bounded and curated (median 321 tokens); larger or differently structured instrumentation could change model behavior. - Agents and resource caps (tokens, steps) influence measured cost and effectiveness—real-world deployments may use different scaffolds or orchestration, modifying cost/benefit trade-offs.
Short takeaway for decision-makers - Investing in lightweight instrumentation that produces targeted debug-context can substantially improve the economics of LLM-based distributed-system debugging: either by enabling cheaper models to reach acceptable success rates or by cutting operational costs for top-tier models. However, tooling cost, curation effort, and risk of misleading signals must be explicitly considered when estimating ROI and deciding procurement strategies.
Assessment
Claims (10)
| Claim | Direction | Outcome | Confidence & Evidence | Details |
|---|---|---|---|---|
| DDBENCH is a code-repair benchmark containing 60 historical distributed-system bugs mined from 13 open-source distributed systems. Other | positive | Benchmark coverage of distributed-system code-repair tasks |
Reading fidelity
high
Study strength
medium
|
n=60
|
| Under the symptom-only condition on the tier-1 cases, the 10 evaluated models differed by 61 percentage points in pass rate. Output Quality | positive | Agent pass rate on distributed-system code repair |
Reading fidelity
high
Study strength
medium
|
n=310
61 pp
|
| On the tier-1 case set, pairwise bootstrap tests significantly distinguished 9 of 15 pairs among six top-tier models at p < 0.05. Output Quality | positive | Statistical separation of model pass rates |
Reading fidelity
high
Study strength
medium
|
n=31
9 of 15 pairs at p < 0.05
|
| Six models with publicly reported SWE-bench Verified scores spanned 58 percentage points on DDBENCH tier-1, compared with only 7 percentage points on SWE-bench Verified. Output Quality | positive | Cross-model dispersion in code-repair pass rates |
Reading fidelity
high
Study strength
medium
|
n=6
58 pp on DDBENCH versus 7 pp on SWE-bench Verified
|
| Adding curated debugging context increased aggregate pass rate from 32.6% to 50.6%, an increase of 18.1 percentage points. Output Quality | positive | Aggregate agent pass rate |
Reading fidelity
high
Study strength
medium
|
n=620
+18.1 pp
|
| Debugging context improved pass rates for nine of the ten evaluated models, left one unchanged, and caused no model to regress on tier-1. Output Quality | positive | Per-model code-repair pass rate |
Reading fidelity
high
Study strength
medium
|
n=310
9 improved, 1 tied, 0 regressed
|
| The pass-rate benefit of debugging context was larger for weaker models; for example, GLM 4.7 increased from 9.7% to 48.4%, a 38.7-percentage-point gain. Output Quality | positive | GLM 4.7 code-repair pass rate |
Reading fidelity
high
Study strength
medium
|
n=31
+38.7 pp
|
| For Claude Opus 4.6, adding debugging context reduced token consumption by 69% and reduced steps to completion by 41%, while its tier-1 pass rate remained 67.7% in both conditions. Developer Productivity | positive | Agent token consumption and steps to completion, with pass rate as a control outcome |
Reading fidelity
high
Study strength
medium
|
n=31
69% lower token consumption; 41% fewer steps-to-completion
|
| Context-augmented GPT 5.4 matched Claude Opus 4.6's symptom-only pass rate while consuming 60% fewer tokens. Developer Productivity | positive | Token consumption at a comparable code-repair pass rate |
Reading fidelity
high
Study strength
medium
|
n=31
60% fewer tokens
|
| Faithful debugging context can sometimes mislead even strong models when the observed symptom is far from the underlying fault. Ai Safety And Ethics | mixed | Correct diagnosis and repair under context augmentation |
Reading fidelity
high
Study strength
low
|
not reported
|