Reproduce “Extracting Fix Ingredients using Language Models” 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

Julian Aron Prenner, Romain Robbes

This paper empirically demonstrates the importance of identifier ingredients for automated program repair, revealing that many necessary identifiers reside outside typical neural model context windows. It introduces ScanFix, a two-stage approach that uses a specialized scanner model to extract relevant identifiers from broader code contexts to improve repair model performance, showing that while such extraction helps, larger context windows for repair models offer greater benefits.

Key insights

  • A significant portion (39% for Defects4J, 51% for TSSB-3M) of necessary fix ingredients (identifiers) are located outside the standard context window of neural repair models.
  • Bugs requiring more fix ingredients, especially those outside the immediate context, are substantially harder for automated program repair tools to fix.
  • Repair models can effectively utilize fix ingredients even when accompanied by low-precision, irrelevant identifiers, suggesting a tolerance for noise in augmented inputs.

Summary by alphaXiv.

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