← Latest papers
💻 computer science

SWE-Together: Evaluating Coding Agents in Interactive User Sessions

This paper introduces SWE-Together, a multi-turn benchmark derived from real user-agent coding sessions that utilizes a reactive LLM-based user simulator to evaluate coding agents based on both final repository correctness and the number of corrective feedback turns required, revealing that stronger agents achieve higher success rates with fewer interventions.

Original authors: Yifan Wu, Zhuokai Zhao, Songlin Li, Ho Hin Lee, Jiacheng Zhu, Shirley Wu, Tianhe Yu, Serena Li, Lizhu Zhang, Xiangjun Fan, Shengzhi Li

Published 2026-06-30
📖 4 min read☕ Coffee break read

Original authors: Yifan Wu, Zhuokai Zhao, Songlin Li, Ho Hin Lee, Jiacheng Zhu, Shirley Wu, Tianhe Yu, Serena Li, Lizhu Zhang, Xiangjun Fan, Shengzhi Li

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 you are hiring a new software engineer. In the past, to test them, you would hand them a perfectly written, 10-page instruction manual and say, "Build this feature." You'd wait for them to finish, look at the final code, and give them a grade. If the code worked, they got an A. If it didn't, they got an F.

The Problem: Real life isn't like that. In a real job, you don't have a perfect manual. You start with a vague idea, the engineer builds something, you realize you forgot to mention a crucial detail, you correct a mistake they made, and you clarify your goal halfway through. The old tests didn't measure how well an engineer handles this messy, back-and-forth conversation. They only measured the final product, ignoring how much hand-holding the engineer needed to get there.

The Solution: SWE-Together
The authors of this paper created a new testing ground called SWE-Together. Think of it as a "replayable video game" for coding agents (AI programmers).

Here is how it works, broken down into simple parts:

1. The Source Material: Real-Life Footage

Instead of inventing fake test questions, the researchers went fishing in the real world. They looked at 11,260 actual conversations between real humans and AI coding assistants. From this massive pile, they carefully selected 109 specific tasks that were perfect for a test.

  • The Filter: They threw away conversations that were too messy, had no clear goal, or couldn't be reproduced. They kept only the ones where the human had a clear goal, the AI did real work, and the result could be checked.

2. The "Robot User" Simulator

This is the cleverest part. To test a new AI, they can't just replay the old human's messages, because the new AI might take a different path. If the new AI makes a different mistake, the old human's next message might not make sense.

So, they built a Smart Robot User.

  • How it works: Imagine a director watching a play. The director knows exactly what the original human wanted to achieve. As the new AI actor performs, the Robot User watches. If the AI goes off-track or misses a point the original human would have noticed, the Robot User steps in and says, "Wait, I actually meant X," or "You forgot Y."
  • The Goal: The Robot User acts exactly like the original human would have, but it adapts its timing to the new AI's performance. This ensures every AI is tested against the same "intent," even if they take different routes.

3. The New Scorecard

In the old tests, you only got one score: Did the code work?
In SWE-Together, they use a two-part scorecard:

  • Part A: The Final Grade (Correctness): Did the AI eventually build what was asked?
  • Part B: The "Hand-Holding" Score (User Correction): This is the big innovation. They count how many times the Robot User had to correct the AI.
    • Analogy: Imagine two students taking a math test. Both get the right answer.
      • Student A figured it out on their own.
      • Student B got the right answer, but only after the teacher had to nudge them three times and correct a major error.
    • In SWE-Together, Student A gets a better score because they required less intervention. The paper calls this "User Correction."

What They Found

The researchers tested seven of the smartest AI models available. Here is what happened:

  1. Smarter AI needs less help: There was a clear pattern. The "smarter" AI models (like Claude Opus 4.8) got higher final scores and required fewer corrections from the Robot User. The "weaker" models got lower scores and needed the Robot User to constantly nudge and correct them.
  2. The Robot User is convincing: They tested if humans could tell the difference between the Robot User and a real human. They couldn't. The simulation was so good that humans couldn't reliably tell them apart.
  3. Efficiency: Some models were faster and used fewer "tokens" (words/computing power) to get the job done, while others were slower but more accurate.

The Bottom Line

The paper argues that we need to stop testing AI coders like they are taking a written exam with a perfect answer key. We need to test them like they are working in a real office.

SWE-Together proves that the best coding agents aren't just the ones that can eventually fix the code; they are the ones that can listen, understand vague instructions, and fix their own mistakes without needing a human to constantly step in and say, "No, that's not what I meant."

In short: It's a benchmark that rewards AI for being a good collaborator, not just a good code generator.

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 →