Reproduce “DepRepair: LLM-Based Source-Code Repair for Dependency Breaking Changes” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shenghao Yang, Bo Lu, Yaochen Liu, Yu Kang, Qiongfang Zhang, Chetan Bansal, Saravan Rajmohan, Minghua Ma

DepRepair repairs dependency upgrades by turning upstream documentation into migration rules, locating affected code, and generating a patch in one LLM call. On DepBench, its GPT-5.5 system passes 85 of 95 instances (89.5%), significantly exceeding a same-backbone direct LLM baseline (82.1%). It is not significantly better than the strongest agent; test passage does not establish correctness beyond test coverage.

Key insights

  • Dependency breaking-change repair is fundamentally a cross-repository problem, where crucial repair evidence (e.g., release notes, API diffs) originates outside the consumer project.
  • Raw, unstructured upstream evidence consistently degrades LLM and agent performance, while structured, distilled evidence significantly improves outcomes, highlighting that processing external context is critical.
  • The 'empty patch' (LLM failing to emit a usable fix) is a dominant failure mode for LLMs and agents in this domain, which DepRepair's structured evidence processing substantially reduces.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.