Y. Eddie Lu
  • me
  • research
  • vitae
  • repositories

Research

Working Papers

AI and Technical Debt: Evidence From 4 Billion Lines of Code

With João Dimas and Labros Pnevmatikos

After first detected AI use, code issues per line fall more in projects with weaker initial development practices. Estimates are scaled by each group's pre-detection mean. Error bars show 95% confidence intervals.

Does writing code with AI make software harder to maintain? After we first detected agentic AI use, comparable firms’ public software projects saw faster codebase growth and declines in both code issues and estimated repair costs per line. Quality gains came in projects that started with weaker development discipline, including less established routines for testing and reviewing code. Their development practices improved after detection.

Supported by Sonar Research Program

Back to top
© Y. Eddie Lu | Last updated: | Made with Quarto