HackerPapers

arXiv:2506.18403cs.SE

The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs

Muntasir Adnan, Carlos C. N. Kuhn

Abstract

The effectiveness of AI debugging follows a predictable exponential decay pattern; most models lose 60-80% of their debugging capability within just 2-3 attempts, despite iterative debugging being a critical capability for practical code generation systems. We introduce the Debugging Decay Index (DDI), a mathematical framework that quantifies when debugging becomes ineffective and predicts intervention points. Our strategic fresh start approach shifts from exploitation to exploration at strategic points in the debugging process, demonstrating that well-timed interventions can rescue the effectiveness of debugging. DDI reveals a fundamental limitation in current AI debugging and provides the first quantitative framework for optimising iterative code generation strategies.

arXiv comments
Journal reference
Sci Rep 15, 2025
DOI
doi:10.1038/s41598-025-27846-5
Subjects
cs.SESoftware Engineering cs.AIArtificial Intelligence

On Hacker News

Linked by 2 identifiable commenters in 3 comments across 3 threads, from Jan 2026 to Feb 2026. Found in 1 HN submission from Dec 2025 to Dec 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • Most AI coding assistants are fundamentally broken. Tools like Claude Code and OpenCode eagerly load 10k+ tokens of monolithic system prompts into a single context window before you even type. This guarantees context amnesia and destroys local inference speeds. I built late to…

      mhherView on HNParent context

    • https://arxiv.org/abs/2512.13914 Among many more of them with similar results. This one gives a 39% drop in performance. https://arxiv.org/abs/2506.18403 This one gives 60-80% after multiple turns.

      mhherView on HNParent context

    • LLMS like Opus, Gemini 3, and GPT-5.2/5.1-Codex-max, are phenomenal for coding and have only very recently crossed that gap between being "eh" and being quite fantastic to let operate on their own agentically. The major trade-off being a fairly expensive cost. I ran up $200 per…

      dudeinhawaiiView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.