Most coding-agent benchmarks measure whether a model can produce correct code, but real-world engineering often requires more than that. Developers also need to refactor, optimize, and clean up code without changing what it does. A new arXiv paper argues that this class of work—non-functional improvements, or NFIs—has been largely ignored by existing evaluations.
To fill that gap, the authors introduce SWE-NFI, a benchmark and study framework for coding agents. The benchmark is built around behavior-preserving improvements: changes that keep the program's observable behavior the same while improving aspects like performance, maintainability, or readability. The paper reports that while agents have made impressive gains on correctness-oriented tasks, their ability to handle NFIs remains underexplored.
The work highlights a mismatch between benchmark success and practical software maintenance. By focusing on NFIs, SWE-NFI aims to push coding-agent evaluation closer to the kinds of tasks that occupy developers in real codebases. The paper is available on arXiv.