← Latest papers
🤖 AI

A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents

This paper introduces SWE-RPG, a unified benchmark for coding agents that evaluates not only final patch success but also intermediate reasoning steps like requirement clarification and implementation planning, revealing that implicit requirement recovery is the primary bottleneck limiting current agents' performance on repository-level tasks.

Original authors: Xin Zhou, Chun Yong Chong, Kisub Kim, Yun Peng, Rui Shu, Zihan Wu, Xu Han, Guowen Yuan, Zeyang Zhuang, Jounghoon Kim, Jeongjin Ju, Seongmin Ju, Taein Yoon, David Lo

Published 2026-08-11
📖 3 min read☕ Coffee break read

Original authors: Xin Zhou, Chun Yong Chong, Kisub Kim, Yun Peng, Rui Shu, Zihan Wu, Xu Han, Guowen Yuan, Zeyang Zhuang, Jounghoon Kim, Jeongjin Ju, Seongmin Ju, Taein Yoon, David Lo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where you have a super-smart robot assistant that can write computer code. You give it a simple instruction like, "Fix the bug in this game," or "Add a new level," and it gets to work. This is the dream of AI coding agents. For a long time, scientists have been testing these robots by giving them a task and seeing if the final result works. If the game runs without crashing, the robot gets a gold star. If it crashes, the robot gets a red X.

But here's the problem: a red X doesn't tell you why the robot failed. Did it misunderstand your instructions? Did it come up with a bad plan? Or did it just type the wrong code? It's like a student failing a math test and only getting a "0/10" score without seeing the teacher's notes on where they went wrong. To truly make these robots better, we need to see their thought process, not just the final answer. This is the big question the paper tackles: How do we stop just grading the final patch and start diagnosing the robot's brain?

Enter SWE-RPG, a new, super-detailed test designed to peek inside the robot's mind. The researchers built a benchmark (a standardized test) using 163 real-world coding tasks from 31 different software projects. Instead of just checking if the code works at the end, they created "Gold Truth" references for every single step of the robot's journey. Think of it like having a master chef's recipe book that not only shows the final dish but also lists every hidden ingredient the chef had to guess, every step of the cooking plan, and the exact moment the robot might have gone off-track.

The researchers put three popular coding agents (named Claude Code, Codex, and OpenCode) to the test, pairing them with six different "brain" models (LLMs). The results were a bit of a reality check. Even the best robots only solved about 31.5% of the tasks. That means they failed nearly two-thirds of the time! But the real magic of SWE-RPG was figuring out where they failed. The study found that the biggest bottleneck wasn't actually writing the code; it was understanding the hidden rules. About 24.5% to 46.0% of the failures happened because the robots couldn't figure out the "implicit requirements"—the things you didn't say but the robot needed to know to do the job right.

For example, if you asked a robot to "fix the TSV import," it might fix the code but accidentally break the CSV import because it didn't realize the two were related. The study suggests that to make these agents truly useful, we need to stop focusing only on making them write faster code and start teaching them how to be better detectives, capable of reading between the lines of a user's request. The paper concludes that while these agents are impressive, they still struggle with the messy, human side of software development, and SWE-RPG is the new map we need to help them navigate those tricky hidden requirements.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →