option
Home
News
AI Code Performance Overstated in Real-World Tests, Study Finds

AI Code Performance Overstated in Real-World Tests, Study Finds

May 9, 2026
273

Research from the METR institute indicates that the widely used SWE-bench Verified benchmark for evaluating AI programming capabilities may significantly overstate AI agents' performance in real-world software development. The study found that approximately half of the AI-generated code solutions marked as "passed" by the benchmark would likely be rejected by actual project maintainers during code review, highlighting a substantial gap between automated assessment results and real-world code quality.

SWE-bench Verified has long been regarded as a key standard for evaluating AI-assisted software engineering, testing whether models can solve genuine programming tasks in open-source projects and verifying if code changes pass the project's automated test suite. Several AI companies, including Anthropic and OpenAI, frequently cite results from this benchmark to demonstrate model advancements.

QQ20260312-093454.jpg

In this study, the METR team enlisted four experienced developers who maintain the open-source projects scikit-learn, Sphinx, and pytest to manually review 296 pieces of AI-generated code. These code samples were produced by five different models: Claude 3.5 Sonnet, Claude 3.7 Sonnet, Claude 4 Opus, Claude 4.5 Sonnet, and GPT-5. The results revealed that the actual acceptance rate by maintainers was, on average, about 24 percentage points lower than the automated scores from SWE-bench—a statistically significant difference.

The study also determined that the rejected AI code was not primarily due to stylistic issues but rather more substantial engineering flaws. Maintainers categorized the problems into three main types: code quality failing to meet project specifications, disruption of the existing code structure, and fundamental functional errors. A significant portion of the cases involved functional errors where, despite passing automated tests, the code did not correctly solve the intended problem.

Regarding model comparison, the research found that upgrading from Claude 3.5 Sonnet to Claude 3.7 Sonnet significantly improved the benchmark pass rate, but the number of functional errors flagged by maintainers also increased. The transition from Claude 3.7 Sonnet to Claude 4 Opus saw a shift toward more code quality issues, while Claude 4.5 Sonnet showed improvements in code quality. In contrast, GPT-5 performed notably worse overall than the Anthropic model series in this manual assessment.

Artificial intelligence brain, large model

The research team also performed an estimated analysis of "task completion time": according to SWE-bench automated evaluation results, it would take Claude 4.5 Sonnet approximately 50 minutes of human effort to complete tasks with a 50% success rate. However, based on the maintainers' scores, the estimated time drops to only about 8 minutes, suggesting the benchmark may overestimate capabilities by up to sevenfold.

However, the researchers also emphasized that this study does not imply a fundamental limit on AI programming agents' capabilities. With improved prompting strategies, more human feedback, or multiple iteration cycles, the gap between automated evaluation and manual review could be reduced. Additionally, the experimental setup differs from real development processes—for instance, AI agents had only one submission attempt, whereas human developers can typically iteratively modify code based on feedback.

In summary, the study concludes that relying solely on benchmark scores to assess the practical utility of AI programming agents may introduce systematic bias. As AI coding models evolve rapidly, developing evaluation systems that better reflect real-world development environments has become a crucial research direction in AI software engineering.

Related article
OpenAI Unveils ChatGPT Health Integration with Apple Health and EMRs, Serving 300M Weekly Users OpenAI Unveils ChatGPT Health Integration with Apple Health and EMRs, Serving 300M Weekly Users OpenAI has officially eliminated the waitlist for ChatGPT Health, making it accessible to all U.S. users aged 18 and older. Individuals on any subscription tier—including Free, Go, Plus, and Pro—can now access the health features directly via the Cha
Startup bets India’s gig workforce can train global robots Startup bets India’s gig workforce can train global robots India’s online food delivery sector has expanded rapidly in recent years, marked by the public listings of Zomato and Swiggy and a surge in cloud kitchens. Concurrently, on-demand home service startups like Urban Company, Snabbit, and Pronto have see
HP Rolls Out ZBook Ultra G3a 16 With 192GB Unified Memory, Running 300B-Parameter Models Locally HP Rolls Out ZBook Ultra G3a 16 With 192GB Unified Memory, Running 300B-Parameter Models Locally The IT sector is witnessing a surge in edge AI computing capabilities. HP unveiled its latest mobile workstation, the ZBook Ultra G3a16, yesterday. Designed for power users and advanced developers, this device has garnered significant industry intere
Related Special Topic Recommendations
Design & Art Top AI Illustration Tools: Create Editorial Scenes and Cover Art Faster
Top AI Illustration Tools: Create Editorial Scenes and Cover Art Faster

2026 Latest Top-rated AI Illustration Tools: Our curated list features the best powerfully designed tools for creating stunning editorial scenes and eye-catching cover art quickly. Each option has gone through rigorous real-world tests, offering a free vs paid comparison to help you find the perfect match for your workflow. Try these must-try solutions today to unlock your AI edge and boost your creative productivity. Explore now at XIX.AI.

10 tools
xix.ai
Education and Learning Top AI Tutors for Exam Prep: Practice Math, Science, and English
Top AI Tutors for Exam Prep: Practice Math, Science, and English

2026 Latest Top-Rated Best AI Tutors for Exam Prep are here on XIX.AI! Our curated list features powerful game-changing tools that offer free vs paid comparison, real-world tests, and weekly updated rankings. They help boost your writing efficiency, simplify complex topic learning, and unlock your academic potential. Explore now to Discover your perfect exam prep tool and Start creating today to Unlock your AI edge!

10 tools
xix.ai
Finance AI Budget Planning Tools for Personal Money Management
AI Budget Planning Tools for Personal Money Management

2026 Latest Best Top-Rated AI Budget Planning Tools for Personal Money Management are here on XIX.AI! This curated collection features powerful, game-changing solutions that help you conduct real-world tests, understand spending habits, and create personalized plans to boost productivity. Enjoy a free vs paid comparison along with detailed rankings. Must-try tools designed to simplify money management and unlock your AI edge. Explore now!

11 tools
xix.ai
Health & Wellness AI Sleep Tracking Assistants: Improve Recovery with Better Bedtime Habits
AI Sleep Tracking Assistants: Improve Recovery with Better Bedtime Habits

2026 Latest Best Top-Rated AI Sleep Tracking Assistants curated for ultimate recovery. This fully updated weekly guide features powerful tools that deliver real-world tests, free vs paid comparison, and detailed rankings to help you find the must-try solution that boosts sleep quality and supports better bedtime habits. Explore now at XIX.AI to Unlock your AI edge.

10 tools
xix.ai
Data Analysis AI SQL Copilots for Product and Revenue Analytics
AI SQL Copilots for Product and Revenue Analytics

2026 Latest Best Top-Rated AI SQL Copilots for Product and Revenue Analytics! XIX.AI has curated a powerful, game-changing collection of must-try tools that undergo real-world tests through weekly updated rankings. These tools help users boost productivity significantly by accelerating data analysis, streamlining complex queries, and generating accurate insights to drive smarter business decisions. Explore now to Discover your perfect tool for unlocking your AI edge!

14 tools
xix.ai
Education and Learning Best AI Homework Helpers That Teach: Learn Concepts, Not Just Answers
Best AI Homework Helpers That Teach: Learn Concepts, Not Just Answers

2026 Latest Best Top-Rated AI Homework Helpers That Teach Core Concepts Not Just Answers Powerful Tools for Students Must-Try Curated List Weekly Updated Free vs Paid Comparison Real-World Tests Accurate Rankings to Help You Unlock Your Full Learning Potential Explore now to Discover your perfect tool for smarter studying.

10 tools
xix.ai
Comments (2)
0/500
MichaelMartinez
MichaelMartinez June 27, 2026 at 2:00:18 PM EDT

Interesting findings! I've always suspected those benchmarks were too good to be true. Real-world coding is messy, and it's no surprise that AI agents struggle with edge cases. 😅

GregoryRamirez
GregoryRamirez May 16, 2026 at 8:00:16 AM EDT

Interessant, aber irgendwie auch nicht überraschend. Benchmarks sind oft zu optimistisch, weil sie in einer kontrollierten Umgebung laufen. In der echten Welt mit Legacy-Code, unklaren Anforderungen und Teamarbeit sieht es dann anders aus. 🤔 Vielleicht sollten wir weniger auf die Marketing-Hypes hören und mehr auf praktische Tests setzen. Wer hat schon Erfahrung mit AI-Coding-Tools im Alltag gemacht?

OR