Study: devs finish 10 min faster with an LLM, then take 60% longer to find planted bugs

Dedap85 · reddit · 2026-11-29

A Nov 18 study (arXiv 2611.24216) examined the "cognitive debt" of LLM-assisted coding with a crossover design.

Setup: 35 participants (students, academics, working devs) each did two small Java tasks, one with LLM chat and one without. Researchers then planted mutation bugs (e.g. off-by-one) in each person's own code and timed bug-finding.

Results (averages)

Both versions passed the same test suites. The authors: "cognitive debt can accumulate behind working code and passing tests."

Most practical finding: the effect isn't uniform—high chat reliance plus low engagement predicted clearly worse comprehension; writing your own prompts and leaning less on generated code predicted faster bug-finding.

Caveats: n=35, small tasks (effect "less pronounced" there), bug-finding is a proxy for comprehension, and the LLM group still won on total time.

Original post →

More from coding & agent

coding & agent channel →