← Latest papers
🤖 machine learning

SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution

The paper introduces SWE Atlas, a new benchmark suite designed to evaluate coding agents on underrepresented professional workflows like codebase Q&A, test writing, and refactoring by assessing both functional correctness and software engineering quality, revealing that while top-tier models lead, significant challenges remain in handling edge cases and adhering to best practices.

Original authors: Mohit Raghavendra, Soham Dan, Miguel Romero Calvo, Yannis Yiming He, Johannes Baptist Mols, Gautam Anand, Cole McCollum, Edgar Arakelyan, Vijay Bharadwaj, Andrew Park, Jeff Da, MohammadHossein Rezaei
Published 2026-05-12
📖 6 min read🧠 Deep dive

Original authors: Mohit Raghavendra, Soham Dan, Miguel Romero Calvo, Yannis Yiming He, Johannes Baptist Mols, Gautam Anand, Cole McCollum, Edgar Arakelyan, Vijay Bharadwaj, Andrew Park, Jeff Da, MohammadHossein Rezaei, Bing Liu, Brad Kenstler, Yunzhong He

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

The Big Picture: From "Patch Workers" to "Master Architects"

Imagine you have hired a team of incredibly smart, super-fast construction robots (these are the AI Coding Agents) to help build and maintain a massive city (a software codebase).

For the last few years, we've been testing these robots by giving them simple, specific jobs: "Fix this broken window" or "Install this new door." If the robot fixes the window without breaking the frame, we give it a gold star. This is what previous tests (like SWE-Bench) did. They measured if the robot could patch things.

SWE Atlas says: "Wait a minute. Being a good construction worker isn't just about fixing broken windows. It's also about understanding the whole city, writing the safety manuals, and redesigning old buildings so they don't collapse in 10 years."

The researchers built a new, harder test called SWE Atlas to see if these robots can act like professional engineers, not just patch workers.


The Three New Challenges (The "Atlas" Tasks)

Instead of just fixing bugs, SWE Atlas gives the robots three types of professional jobs:

1. Codebase Q&A: The "City Tour Guide"

  • The Old Way: "Here is a map. Tell me where the library is." (The robot just reads the map).
  • The SWE Atlas Way: "I'm new here. I need to know how the traffic lights behave when it rains and the power grid is failing. I don't just want a map; I want you to drive the car, watch the traffic lights in real-time, and tell me exactly what happens when things go wrong."
  • The Catch: The robot has to actually run the software, watch it struggle under stress, and explain the live behavior. It can't just guess based on reading the code.

2. Test Writing: The "Safety Inspector"

  • The Old Way: "Write a test to make sure the door opens." (The robot writes a test that checks if the door opens).
  • The SWE Atlas Way: "Write a test that tries to break the door. What if someone tries to open it while it's locked? What if the hinges are rusted? What if the wind blows too hard?"
  • The Catch: The robot must be an adversary. It needs to think of every weird, edge-case scenario that could cause a crash. If the robot writes a test that only checks the "happy path" (everything works perfectly), it fails the test.

3. Refactoring: The "Renovation Expert"

  • The Old Way: "Paint the wall blue." (The robot changes the color).
  • The SWE Atlas Way: "This room is a mess. The wiring is tangled, the plumbing is in the wrong place, and the furniture is blocking the door. Rearrange the whole room so it's easier to live in, but do not move a single piece of furniture or change how the room functions. Also, throw away all the old, broken tools we don't need anymore."
  • The Catch: The robot has to clean up the code (make it maintainable) without accidentally breaking anything that currently works. It's like performing heart surgery while the patient is running a marathon.

How They Graded the Robots (The "Rubric")

In the past, tests were like a multiple-choice quiz: Did the code run? Yes/No.

SWE Atlas uses a Teacher's Rubric. Imagine a strict art teacher grading a student's painting.

  • Did you paint the sky? (Yes/No)
  • Did you use the right brush strokes? (Yes/No)
  • Did you leave the paintbrushes on the floor? (Yes/No - this is a "Negative Rubric" because it's bad practice).

The researchers used a second AI (a "Judge") to look at the robot's work and check these detailed boxes. They cared about:

  • Cleanliness: Did the robot leave "dead code" (trash) behind?
  • Organization: Is the new code easy for a human to read later?
  • Completeness: Did the robot miss any edge cases?

What They Found (The Results)

The researchers tested the smartest AI models available (like GPT-5.4 and Opus 4.7) and some open-source ones. Here is the verdict:

  1. The "Patch Workers" are Great, but the "Engineers" are Struggling:
    The top AI models are excellent at fixing simple bugs (the "patch" work). But when asked to do the messy, complex work of professional engineering (like deep refactoring or writing robust tests), their scores drop significantly.

  2. The "Consistency" Problem:
    If you ask a top robot to solve a problem 3 times, it might get it right once and fail the other two. They are not reliable enough to be trusted with critical infrastructure yet.

  3. The "Exploration" Gap:
    The best robots succeeded because they didn't just read the code; they ran the code. They set up the software, broke it, fixed it, and watched the logs. Robots that just "read" the code without running it failed the "Codebase Q&A" tasks.

  4. The "Happy Path" Trap:
    When writing tests, the robots tended to write tests that only checked if things worked normally. They failed to write tests that checked for disasters (the "adversarial" mindset).

  5. Open vs. Closed Models:
    The most powerful, expensive, "closed" models (from big tech companies) performed much better than the free, "open" models. The open models were often too confused to handle the complex, multi-step tasks.

The Bottom Line

SWE Atlas is a wake-up call. It tells us that while AI is getting very good at writing small snippets of code or fixing simple errors, it is not yet ready to be a Professional Software Engineer.

It still struggles with:

  • Thinking ahead about what could go wrong.
  • Cleaning up messy code without breaking it.
  • Understanding how a system behaves in the real world (not just on paper).

The paper concludes that we need to stop just asking "Did it work?" and start asking "Is it good engineering?" because the future of AI coding depends on the latter.

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 →