The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs

preprint OA: closed
Full text JSON View at publisher

Abstract

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.
Full text 11,704 characters · extracted from preprint-html · click to expand
The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs Muntasir Adnan, Carlos C. N. Kuhn This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-6955423/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 18 Dec, 2025 Read the published version in Scientific Reports → Version 1 posted 10 You are reading this latest preprint version 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. Physical sciences/Engineering Physical sciences/Mathematics and computing Full Text Additional Declarations No competing interests reported. Supplementary Files appendix.pdf Cite Share Download PDF Status: Published Journal Publication published 18 Dec, 2025 Read the published version in Scientific Reports → Version 1 posted Editorial decision: Revision requested 29 Sep, 2025 Reviews received at journal 28 Sep, 2025 Reviews received at journal 20 Sep, 2025 Reviewers agreed at journal 17 Sep, 2025 Reviewers agreed at journal 16 Sep, 2025 Reviewers invited by journal 16 Sep, 2025 Editor assigned by journal 17 Jul, 2025 Editor invited by journal 24 Jun, 2025 Submission checks completed at journal 23 Jun, 2025 First submitted to journal 23 Jun, 2025 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-6955423","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":487359081,"identity":"f68ba83b-374a-483b-b599-1617c28c5075","order_by":0,"name":"Muntasir Adnan","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABH0lEQVRIiWNgGAWjYBACNoYEMM3YAMQPgIwEqAQzTi38SFqYDYjSItmA0MImQZQWg+O5Bz8XMNjJbmc/e6ziR82dPH7psw8/MFRYJzawnzHAquXMu2TpGQzJxjt78tJu9hx7VizZl24swXAmPbGBJwe7lhs5BtI8DMyJGw7kmN1mYDucuOEMG4MEY9vhxAYG7Frsb+QY/+ZhqE/ccP6NWTHDv8OJ+8+wMf9gBDIa+N/gssUMaAvQcCCDGWT4Bh42NgnGBqAWCRwOO/PGzJrH4LjxhhtvjCV7+w4XS5xhY7NIOJZu3CbxrAB7iOUY3+apqJbdcD7H8MOPb4fz+HvYmG98qLGW7edP3oA9mMEa0QUSGEAJYxSMglEwCkYBuQAAazFi02vdDhkAAAAASUVORK5CYII=","orcid":"","institution":"Open Source Institute, University of Canberra","correspondingAuthor":true,"prefix":"","firstName":"Muntasir","middleName":"","lastName":"Adnan","suffix":""},{"id":487359082,"identity":"96e34a9a-a77d-4ef2-b7d2-e84a64b11ba7","order_by":1,"name":"Carlos C. N. Kuhn","email":"","orcid":"","institution":"Open Source Institute, University of Canberra","correspondingAuthor":false,"prefix":"","firstName":"Carlos","middleName":"C. N.","lastName":"Kuhn","suffix":""}],"badges":[],"createdAt":"2025-06-23 09:53:34","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-6955423/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-6955423/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1038/s41598-025-27846-5","type":"published","date":"2025-12-18T15:58:40+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":98814039,"identity":"e8d18cf0-f796-4464-82cd-94713d687c5e","added_by":"auto","created_at":"2025-12-22 16:10:00","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1091699,"visible":true,"origin":"","legend":"","description":"","filename":"DDI.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6955423/v1_covered_bc6d0681-0bae-4231-b89e-53b6abd7ef81.pdf"},{"id":91142238,"identity":"dc09b39f-9ca0-41f8-9c9b-c5f5531002f4","added_by":"auto","created_at":"2025-09-12 05:02:45","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"supplement","size":75257,"visible":true,"origin":"","legend":"","description":"","filename":"appendix.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6955423/v1/320187d93fd988d0def4ac24.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"scientific-reports","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"scirep","sideBox":"Learn more about [Scientific Reports](http://www.nature.com/srep/)","snPcode":"","submissionUrl":"","title":"Scientific Reports","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Scientific Reports","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-6955423/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-6955423/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"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.","manuscriptTitle":"The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-12 05:02:40","doi":"10.21203/rs.3.rs-6955423/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-09-29T06:09:33+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-09-28T19:39:07+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-09-20T14:13:53+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"19079944418309938074083508691654211046","date":"2025-09-17T12:14:15+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"30732427416017318891246735311200209050","date":"2025-09-16T08:32:55+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-09-16T05:02:14+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-07-17T09:00:22+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"","date":"2025-06-24T09:43:07+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-06-23T11:21:15+00:00","index":"","fulltext":""},{"type":"submitted","content":"Scientific Reports","date":"2025-06-23T09:46:52+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"scientific-reports","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"scirep","sideBox":"Learn more about [Scientific Reports](http://www.nature.com/srep/)","snPcode":"","submissionUrl":"","title":"Scientific Reports","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Scientific Reports","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"421a637d-912a-4aba-8414-a737f3a0e4e3","owner":[],"postedDate":"September 12th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[{"id":51742765,"name":"Physical sciences/Engineering"},{"id":51742766,"name":"Physical sciences/Mathematics and computing"}],"tags":[],"updatedAt":"2025-12-22T16:03:39+00:00","versionOfRecord":{"articleIdentity":"rs-6955423","link":"https://doi.org/10.1038/s41598-025-27846-5","journal":{"identity":"scientific-reports","isVorOnly":false,"title":"Scientific Reports"},"publishedOn":"2025-12-18 15:58:40","publishedOnDateReadable":"December 18th, 2025"},"versionCreatedAt":"2025-09-12 05:02:40","video":"","vorDoi":"10.1038/s41598-025-27846-5","vorDoiUrl":"https://doi.org/10.1038/s41598-025-27846-5","workflowStages":[]},"version":"v1","identity":"rs-6955423","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-6955423","identity":"rs-6955423","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00