AI-Written Software Beat Human Code in a Reliability Test
Researchers pitted AI-coded programs against human ones — and AI often won.
A team of computer scientists wanted an honest answer to a big marketing claim: is software written by AI actually more reliable than software written by people? So they ran a fair test. They took ten well-known Linux utility programs — the small, everyday tools that keep computers running — and had AI agents (AI that can take actions on its own) recreate them from scratch using a standard professional workflow.
Then they attacked both versions with fuzz testing, which means feeding a program millions of random, messy inputs to see if it crashes. This is how security researchers find hidden bugs. The AI-written programs held up better than expected: they were typically as reliable as the human versions, and often more reliable. They also had fewer memory errors — the kind of flaw, like a buffer overflow, that hackers can exploit to break into systems.
But there was a trade-off. The AI code was more likely to hang, meaning it froze in an endless loop instead of finishing its job. On your laptop, that's an app that spins forever and needs force-quitting. In a hospital or bank system, that's a service that quietly stops responding.
The study's other big finding is about people, not machines. Getting good code out of AI required careful human supervision — the prompts (instructions) people wrote and how they reacted to mistakes made a huge difference. The researchers also noticed the written instructions could double as documentation, helping future developers maintain the software affordably. In short: AI can code well, but it still needs a skilled human in charge.
- Researchers had AI agents rewrite ten standard Linux tools, then bombarded both AI and human versions with random junk input to find crashes.
- The AI versions were as reliable or more reliable, with fewer dangerous memory bugs — but they froze in endless loops more often.
- Good results required careful human supervision: the instructions people gave the AI strongly shaped the final code quality.
Why It Matters
AI coding tools may soon produce software you rely on daily — safer in some ways, riskier in others.