potentialpaper

LeanRepair: Token-Efficient External Control for Local Code Repair

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:11 UTC · af5ac822409c ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "zoeZjH4nIJ"
- }
- ],
- "title": "LeanRepair: Token-Efficient External Control for Local Code Repair",
- "authors": [],
- "abstract": "Local coding agents keep source code private and give users direct control over deployment, but multi-candidate test-time reasoning incurs severe token costs that strain local serving budgets: under standard branch-and-merge search, every unguided generation, aggregation, and replayed context token burns inference computation without guaranteeing progress.\nWe introduce \\textbf{LeanRepair}, a deterministic external controller designed to improve the token efficiency of local code repair while maintaining competitive pass rates, requiring no training and no additional language-model calls.\nLeanRepair addresses two complementary sources of token expenditure: (1) context inflation, bounded by maintaining compact external edit-geometry state rather than replaying verbose histories, and (2) unproductive search persistence, mitigated via trajectory-aware early stopping that prunes remaining branch expansions when edit trajectories oscillate or stagnate.\nAcross six repair benchmarks and four instruction-tuned backbones (24 cells), LeanRepair reduces token expenditure compared to Graph-of-Thoughts by a median of 23.9\\% across cells (and 23.0\\% pooled across the five non-QuixBugs benchmarks, reaching 82.4\\% on QuixBugs where baseline search suffers pathologically long loops), while achieving a competitive 75.4\\% aggregate pass rate (vs.\\ 72.9\\% for GoT; 15 wins, 3 ties, 6 losses).\nOur findings demonstrate that lightweight, non-parametric external control can substantially reduce test-time token waste in local code repair without relying on expensive model-based reflection or learned value functions.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "b0ceda7e-e2db-479d-ad65-c5b9e73de33a"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "LeanRepair: Token-Efficient External Control for Local Code Repair",
+ "authors": [],
+ "abstract": "Local coding agents keep source code private and give users direct control over deployment, but multi-candidate test-time reasoning incurs severe token costs that strain local serving budgets: under standard branch-and-merge search, every unguided generation, aggregation, and replayed context token burns inference computation without guaranteeing progress.\nWe introduce \\textbf{LeanRepair}, a deterministic external controller designed to improve the token efficiency of local code repair while maintaining competitive pass rates, requiring no training and no additional language-model calls.\nLeanRepair addresses two complementary sources of token expenditure: (1) context inflation, bounded by maintaining compact external edit-geometry state rather than replaying verbose histories, and (2) unproductive search persistence, mitigated via trajectory-aware early stopping that prunes remaining branch expansions when edit trajectories oscillate or stagnate.\nAcross six repair benchmarks and four instruction-tuned backbones (24 cells), LeanRepair reduces token expenditure compared to Graph-of-Thoughts by a median of 23.9\\% across cells (and 23.0\\% pooled across the five non-QuixBugs benchmarks, reaching 82.4\\% on QuixBugs where baseline search suffers pathologically long loops), while achieving a competitive 75.4\\% aggregate pass rate (vs.\\ 72.9\\% for GoT; 15 wins, 3 ties, 6 losses).\nOur findings demonstrate that lightweight, non-parametric external control can substantially reduce test-time token waste in local code repair without relying on expensive model-based reflection or learned value functions.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}