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)
- Writing: 14m31s with LLM vs 24m41s without
- Seconds per planted bug: 37.1 in self-written code, 60.4 in own LLM-generated code, 108.5 in unseen code
- Bugs found: 88.5% / 80% / 66.9%
- 59.3% of bugs in self-written code were found "from memory" vs 34.3% in generated code
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.
More from coding & agent
- Devs create /human folders to reclaim design decisions AI keeps making for them — VraserX · 2026-11-29
- Open-source tool verifies whether your AI agent's "done" actually happened — Extension_Pitch9081 · 2026-11-29
- Valid JSON, empty insides: the new failure mode of structured output, and two fixes — Playful-Force5982 · 2026-11-29
- Building a diabetes drug knowledge graph with Stardog, Snowflake and MCP — adnan_hashmi · 2026-11-29
- Agentic Harness Engineering: The 4 Pillars of the Agent Orchestration Layer — adnan_hashmi · 2026-11-29
- Vibe-coded Three.js 3D map of La Plagne colors 139 ski runs by gradient — IgorCarron · 2026-11-29