r/ChatGPTCoding • u/Dedap85 • 15m ago
Discussion Small experiment: devs finished ~10 min faster with an LLM chat, then took ~60% longer to find planted bugs in that same code (arXiv 2611.24216)
A paper from Nov 18 that I think is worth a few minutes if you code with a chat model all day.
Setup. 35 people (students, academics, working devs) each did two small Java tasks in a crossover design: one with LLM chat, one without. Afterwards, the researchers planted bugs (mutations like off-by-one) in each person's own solution and in some unseen code, and timed how long people took to find them.
Results (averages)
- Writing: 14m31s with the LLM vs 24m41s without.
- Seconds per planted bug found: 37.1 in self-written code, 60.4 in their own LLM-generated code, 108.5 in code they'd never seen.
- Share of bugs found: 88.5% / 80% / 66.9%.
- 59.3% of bugs found in self-written code were found "from memory", vs 34.3% in generated code.
Both versions passed the same test suites. The authors' line: "cognitive debt can accumulate behind working code and passing tests."
The part I found most practical. It wasn't uniform. High reliance on the chat plus low engagement with the task went with clearly lower comprehension. Writing your own prompts and leaning less on generated code predicted faster bug-finding.
Caveats
- n=35 and small tasks. The authors say the effect is "less pronounced for small tasks".
- Finding mutations is a proxy for comprehension, which the authors flag themselves.
- The LLM group still came out well ahead on total time for these tasks.
If you only read one part, read the bug-finding section before the headline speed numbers.
1
u/Dedap85 14m ago
Paper: https://arxiv.org/abs/2611.24216 (HTML: https://arxiv.org/html/2611.24216v1)
1
u/Longjumping-Sweet818 6m ago
Developing with AI is a new paradigm, and as always, people are too slow to adapt and are asking the wrong questions.
This is like going from Java to Rust and asking "How do I write an EventListener?"
1
u/WordWithinTheWord 6m ago
Did the planted bugs pass unit tests?
My experience with these comparisons is that they don’t follow the typical path of how human-developed code gets to a PR stage.