mlsanityData to 7 Oct 2026

SWE-NFI: Studying and Benchmarking Coding Agents for Non-Functional Improvements

arXiv 2607.27409 ↗First posted 29 Jul 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Although coding agents have achieved impressive performance on correctness-oriented benchmarks, their ability to make behavior-preserving non-functional improvements (NFIs) remains underexplored. In real-world software development, developers continuously improve software quality without changing observable behavior, yet existing benchmarks primarily evaluate functional correctness and provide limited support for assessing these non-functional improvements. In this paper, we present SWE-NFI, a benchmark for evaluating coding agents on NFIs beyond functional correctness. SWE-NFI contains 188 tasks constructed from real merged pull requests in open-source Python projects. We operationalize five developer-oriented NFI aspects into 92 executable rules and develop an evaluation suite that first applies task-specific functional preservation checks to assess whether key properties of the original code are preserved and then performs rule-based NFI evaluation. For outputs that pass these checks, we measure NFI improvement as the change in the normalized rule score for the task's target aspect relative to the original code. We evaluate eight commercial and open-source agent configurations and run each configuration five times on every task. At most 70.0% of valid agent outputs satisfy all task-specific functional preservation checks. Among outputs that pass these checks, NFI performance varies substantially across aspects. In particular, all evaluated configurations achieve mean Logic Patterns improvements between 0.0 and 1.3, below the Human Reference mean of 1.5. Our benchmark and findings provide a reproducible foundation for evaluating coding agents on non-functional improvements and identifying the NFI aspects where further advances are needed.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 40 of its 83 references that are in the map. First posted on arXiv 29 Jul 2026.

Builds on

40 of 83 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents14 Dec
  2. 2025RefAgent: A Multi-agent LLM-based Framework for Automatic Software Refactoring5 Nov
  3. 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench10 Jun
  4. 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents11 Apr
  5. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  7. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar

Other references · 33

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  4. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  5. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  6. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  7. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  8. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  9. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
  10. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
  11. 2024Evaluating Language Models for Efficient Code Generationcited by 69
  12. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
21 more
  1. 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
  2. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 55
  3. 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
  4. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
  5. 2024LLMs Meet Library Evolution: Evaluating Deprecated API Usage in LLM-based Code Completioncited by 29
  6. 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 24
  7. 2023Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstractioncited by 19
  8. 2024NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variationscited by 19
  9. 2025COFFE: A Code Efficiency Benchmark for Code Generationcited by 18
  10. 2025Assessing and Advancing Benchmarks for Evaluating Large Language Models in Software Engineering Taskscited by 17
  11. 2024VersiCode: Towards Version-controllable Code Generationcited by 14
  12. 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 13
  13. 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarioscited by 11
  14. 2025Good Vibrations? A Qualitative Study of Co-Creation, Communication, Flow, and Trust in Vibe Codingcited by 10
  15. 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarioscited by 5
  16. 2023Are They All Good? Studying Practitioners' Expectations on the Readability of Log Messagescited by 4
  17. 2024Understanding Practitioners' Expectations on Clear Code Review Commentscited by 4
  18. 2024Copilot-in-the-Loop: Fixing Code Smells in Copilot-Generated Python Code using Copilotcited by 2
  19. 2025LLM4Perf: Large Language Models Are Effective Samplers for Multi-Objective Performance Modelingcited by 2
  20. 2025SWE-IF: Aligning Code Evaluation with Human Preferencecited by 1
  21. 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring
  2. 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents
  3. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
  4. 2026PERFOPT-Bench: Evaluating Coding Agents on Software Performance Optimization
  5. 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
  6. 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution
  7. 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios
  8. 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models