Misraj proposes FGL: train a code localizer from a frozen fixer's likelihood, 27.5% less code read

Misraj · hf · 2026-11-24

Misraj researchers propose Fixer-Guided Localization (FGL) for training code localizers. Conventional training teaches the localizer to predict files a reference patch edits — but the code a fixer needs to read differs from what it changes.

FGL works by having the localizer propose candidate localizations, then a frozen fixer scores each by how likely it yields a verified patch. The localizer is trained on these scores via weighted supervised fine-tuning — no test execution and no reinforcement learning.

The full pipeline is built on Gemma 4 E4B for the Kaggle Gemma-4 Developer Agent competition, using 1,629 test-verified Kimi K3 trajectories. The FGL target helps the fixer find the bug as often as the teacher's localization while reading 27.5% less code; one EM round moves the agent as expected on the dev set.

Original post →

More from coding & agent

coding & agent channel →