Researchers proposed Fixer-Guided Localization to train code localizers. A frozen fixer scores proposed localizations by patch likelihood. The localizer learns from these scores via weighted fine-tuning. The method uses no tests and no reinforcement learning. It was built on Gemma 4 E4B using 1,629 verified trajectories. The target helps fixers find bugs with 27.5% less code. One EM round improved task outcomes on a dev set. More tasks reached a patch and fewer got stuck. More tasks were solved overall. Trained agents explored three times more and wrote fewer wrong patches. A single agent solved up to 11 of 78 tasks. Analysis identified time, repetition and edit quality as limits. All data, code and adapters are public.
What changed
Code localizers were trained to predict files a reference patch edits.
What it unlocks
Training a code localizer using a fixer's likelihood scores without running tests or reinforcement learning.
- 1,629 test-verified trajectories
- 27.5% less code used
- 53 vs. 46 tasks reach a patch
- 43 vs. 54 tasks stuck reading non-existent files
What you need to act on it
- Gemma 4 E4B model
- Kaggle Gemma-4 Developer Agent competition dataset
Sources