r/ChatGPTCoding • u/Dedap85 • 6h 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.