Training a code localizer from the fixer's likelihood for small coding agents
Fixer-Guided Localization proposes several localizations, scores each by how likely a frozen fixer is to produce a verified patch from it, and trains the localizer with weighted SFT, without running tests or RL. The pipeline is built on Gemma 4 E4B for a…
Why it matters
It gives practical lessons for training small coding agents under tight time budgets.
What happened
1 min readFixer-Guided Localization proposes several localizations, scores each by how likely a frozen fixer is to produce a verified patch from it, and trains the localizer with weighted SFT, without running tests or RL. The pipeline is built on Gemma 4 E4B for a Kaggle competition from 1,629 verified Kimi K3 trajectories. The FGL target matches the teacher's bug-finding rate with 27.5% less code, and the trained agent solves up to 11 of 78 tasks versus 8 for the base model.
Our analysis
The core point, that the code a fixer needs to read differs from the code it changes, is sound and practical. Absolute numbers are small (8 vs 6 tasks solved on the dev set), so the gains are not statistically strong. The analysis of what limits a 4B agent (time, repetition loops, edit quality) is valuable for anyone building small local coding agents.