TraceGen: Synthesizing Difficulty-Controllable Bugs for Training and Evaluating Code Repair Agents
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:39 UTC · 7c8a6da6420f ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "BD8Vlt6iUC"- }- ],- "title": "TraceGen: Synthesizing Difficulty-Controllable Bugs for Training and Evaluating Code Repair Agents",- "authors": [],- "abstract": "Training and evaluating code repair agents both demand large volumes of quality bug data, but existing synthesis methods depend on known patch locations and produce bugs without difficulty labels, leaving training data flat and evaluation unable to distinguish agents at different capability levels. We present TraceGen, a framework that mines structured causal paths, termed DefectChains, from repair traces and uses them to synthesize bugs at independently discovered code locations without access to the ground-truth patch. The causal depth of each DefectChain yields three difficulty tiers that serve a dual purpose: ordering trajectories for curriculum fine-tuning and producing calibrated evaluation gradients. On SWE-bench Verified seeds, TraceGen validates 194 of 318 attempts at a 61.0% rate, while baselines deprived of the original patch location suffer 63-92% validation drops. An agent trained via curriculum SFT on TraceGen trajectories achieves 24.7% on SWE-bench Verified at the 7B scale, surpassing SWE-Dev at 23.4%, R2E-Gym at 19.0%, and Lingma SWE-GPT at 18.2%; curriculum ordering alone contributes 3.3 percentage points over random-order SFT on identical data. All six evaluated frontier models exhibit monotonic resolve-rate increases across the three tiers, confirming the stability of the difficulty gradient.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "6de79d96-6395-4192-9a78-5a47f7f1dbbc"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "TraceGen: Synthesizing Difficulty-Controllable Bugs for Training and Evaluating Code Repair Agents",+ "authors": [],+ "abstract": "Training and evaluating code repair agents both demand large volumes of quality bug data, but existing synthesis methods depend on known patch locations and produce bugs without difficulty labels, leaving training data flat and evaluation unable to distinguish agents at different capability levels. We present TraceGen, a framework that mines structured causal paths, termed DefectChains, from repair traces and uses them to synthesize bugs at independently discovered code locations without access to the ground-truth patch. The causal depth of each DefectChain yields three difficulty tiers that serve a dual purpose: ordering trajectories for curriculum fine-tuning and producing calibrated evaluation gradients. On SWE-bench Verified seeds, TraceGen validates 194 of 318 attempts at a 61.0% rate, while baselines deprived of the original patch location suffer 63-92% validation drops. An agent trained via curriculum SFT on TraceGen trajectories achieves 24.7% on SWE-bench Verified at the 7B scale, surpassing SWE-Dev at 23.4%, R2E-Gym at 19.0%, and Lingma SWE-GPT at 18.2%; curriculum ordering alone contributes 3.3 percentage points over random-order SFT on identical data. All six evaluated frontier models exhibit monotonic resolve-rate increases across the three tiers, confirming the stability of the difficulty gradient.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}