Navigation menu
Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood
Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood
Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, Safwan AlModhayan
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
No HTML full text was available; this digest is based on the abstract only.
TL;DR
Fixer-Guided Localization trains a code localizer on a frozen fixer's likelihood scores for verified patches, using weighted supervised fine-tuning without tests or reinforcement learning.
Problem
Code localizers are usually trained to predict the files a reference patch edits, but the code a fixer needs to read is not the same as the code it changes. The paper addresses training a localizer to propose the code a fixer needs. It builds the full pipeline on Gemma 4 E4B for the Kaggle Gemma-4 Developer Agent competition.
Method
FGL has the localizer propose several localizations. A frozen fixer scores each localization by how likely it makes a verified patch. The localizer is trained on these scores with weighted supervised fine-tuning. The pipeline does not run tests and does not use reinforcement learning. It is built on Gemma 4 E4B from 1,629 test-verified Kimi K3 trajectories.
Results
- The FGL target helps the fixer find the bug as often as the teacher's localization while using less code. §Abstract
- On the development set, one EM round gives more tasks that reach a patch compared with a matched control. §Abstract
- One EM round gives fewer tasks stuck reading files that do not exist. §Abstract
- One EM round gives more tasks solved. §Abstract
- Trained agents explore more than the base model and write far fewer wrong patches. §Abstract
- The single agent solves up to 11 of 78 tasks against 8 for the base model. §Abstract
Limitations
- The abstract reports one EM round on the development set, so gains over multiple rounds or other splits are left open.
- The evaluation is for a 4B model under an 8-minute budget; applicability to other model sizes or time budgets is not established in the abstract.
- The analysis covers 13 evaluation runs, so robustness beyond that sample is left open.
- The pipeline avoids test execution and reinforcement learning by design; the abstract does not report performance when those signals are available.
Key points
- Code localizers are usually trained to predict files edited by a reference patch, but a fixer may need to read different code. §Abstract
- FGL uses a frozen fixer to score localizer proposals by likelihood of a verified patch. §Abstract
- The localizer is trained with weighted supervised fine-tuning, without running tests and without reinforcement learning. §Abstract
- The pipeline is built on Gemma 4 E4B from 1,629 test-verified Kimi K3 trajectories. §Abstract
- FGL uses 27.5% less code while helping the fixer find the bug as often as the teacher's localization. §Abstract
- On the development set one EM round gives 53 vs. 46 tasks reaching a patch, 43 vs. 54 stuck on nonexistent files, and 8 vs. 6 solved. §Abstract
- Trained agents explore about three times more and write far fewer wrong patches. §Abstract
- The single agent solves up to 11 of 78 tasks versus 8 for the base model, and a 13-run analysis identifies time, repetition loops and edit quality as limits. §Abstract
Mind map
Related papers
SWE-CoWork: Benchmarking Coding Agents as Digital Employees in Organizations
SWE-CoWork benchmarks coding agents as digital employees in simulated engineering organizations, where 101 assignments require recovering distributed requirements and delivering tested code; leading models satisfy about 63% of F2P tests but complete fewer than 8% of assignments.
SWE-Trail: History-Guided Trajectory Collection for Coding Agent Training
SWE-Trail uses prior attempts as collector-side history to choose where to compare candidate actions during coding-agent rollouts, then trains students on the resulting trajectories.
CrossSWE: Benchmarking Cross-Repository Joint Development for Coding Agents
CrossSWE is a 171-instance benchmark for cross-repository joint development, where tasks require coordinated changes across interdependent repositories and are verified by joint-necessity testing.
Longtail-SWE: High-Quality SWE Tasks for Underrepresented Languages
Longtail-SWE is a 202-task repository-level issue-resolution benchmark across 13 underrepresented programming languages, built with a solver–judge–repairer pipeline that revises task descriptions and tests to retain challenging candidates.
💬 Related discussions
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

