Stale traces degrade code repair agents despite multiple revisions
Source published ·Modelwire updated
Original coverage: arXiv cs.CL ↗·How Modelwire adds context
The development
Agentic code repair systems rely on generate-test-revise loops, but this work reveals a critical reliability gap: correctness degrades under forced iteration, and stale execution traces compound the problem. Across 900 repair trajectories on HumanEval benchmarks, correctness dropped from 82% after one revision to 67% after two, yet cumulative success rose to 84.7%. A controlled replication study found that outdated traces caused 34 of 135 correct attempts to fail, versus only 4 with fresh traces, a 22-point penalty. The finding challenges the assumption that more iterations improve agent robustness and suggests that trace staleness is a material failure mode in production coding agents.
Modelwire’s AI-generated summary of coverage from arXiv cs.CL.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
The paper isolates trace staleness as a distinct failure mode, separate from agent capability limits. The 22-point penalty from stale execution traces is not about the agent failing to reason better on retry; it's about the agent reasoning from corrupted state. This distinction matters because it's fixable through engineering (state refresh) rather than requiring better models.
This builds directly on 'The Physics of Multi-Turn Long-Horizon Planning' (late July), which showed that explicit world models outperform raw data training for multi-step tasks. That work identified planning as learnable but fragile; this paper reveals one concrete fragility: agents degrade when their internal state representation becomes stale. The finding also echoes the temporal graph generation paper from the same week, which proved that distribution drift causes irreversible degradation in production systems. Here, the drift is temporal rather than distributional, but the core insight is identical: systems deployed on evolving state cannot assume their training assumptions hold across iterations.
If production coding agents (Claude, GPT-4 Code Interpreter, or Devin) adopt explicit trace refresh between revision attempts and report correctness recovery matching the 22-point gap, that confirms the finding generalizes beyond HumanEval. If they don't ship this within six months despite the paper's visibility, it suggests either the penalty doesn't matter at their scale or the engineering cost outweighs the benefit.
This interpretation is generated from the summary above and the archive coverage cited below. Our methodology · Report an error
Coverage behind this analysis
These archive entries ground the connection in our analysis. They are ordered by source publication date, with links to our coverage and the original sources.
·arXiv cs.CL
Controlled experiments reveal world models beat raw data for agent planning
Researchers have constructed a controlled experimental framework to isolate how foundation model agents develop long-horizon planning capabilities across pre-training and post-training phases. The work reveals that explicit world models built through chain-of-thought state transitions outperform models trained on raw internet data, and that atomic skill composition alone fails to generalize across multi-step tasks. This challenges…
MentionsHumanEval
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. arXiv cs.CL originally reported this story as “Looping Is Not Reliability: State-Bound Evidence and Typed Revision Contracts for Agentic Code Repair”. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.