AI generated pull requests overwhelming, hard to review carefully

DOC: Add Create a Pull Request section with draft PR guidance by blowekamp · Pull Request #5975 · InsightSoftwareConsortium/ITK · GitHub

Thanks @blowekamp , really cool!

I think it’s important that we keep understanding our own code, even when it is generated and reviewed with the help of AI. Let’s prevent cognitive debt !

The term “cognitive debt” is explained by Imran Gardezi in a YouTube (10 minutes), that I would very much recommend: AI Cognitive Debt: The Crisis Nobody Sees Coming (Thanks for the link to my LKEB/LUMC colleague Baldur van Lew.) Quoting Imran Gardezi:

“Cognitive debt accumulates when AI writes code that humans lose shared understanding of”

The term was introduced in the context of AI generated code by Margaret-Anne Storey. It appears to be a much bigger threat than the traditional technical debt. The following picture from her article How Generative and Agentic AI Shift Concern from Technical Debt to Cognitive Debt illustrates the difference between technical debt and cognitive debt:

Careful human code review is essential to avoid cognitive debt.