From Developer Pairs to AI Copilots: A Comparative Study on Knowledge Transfer
By: Alisa Welter , Niklas Schneider , Tobias Dick and more
Potential Business Impact:
AI helps coders learn, but they trust it too much.
Knowledge transfer is fundamental to human collaboration and is therefore common in software engineering. Pair programming is a prominent instance. With the rise of AI coding assistants, developers now not only work with human partners but also, as some claim, with AI pair programmers. Although studies confirm knowledge transfer during human pair programming, its effectiveness with AI coding assistants remains uncertain. To analyze knowledge transfer in both human-human and human-AI settings, we conducted an empirical study where developer pairs solved a programming task without AI support, while a separate group of individual developers completed the same task using the AI coding assistant GitHub Copilot. We extended an existing knowledge transfer framework and employed a semi-automated evaluation pipeline to assess differences in knowledge transfer episodes across both settings. We found a similar frequency of successful knowledge transfer episodes and overlapping topical categories across both settings. Two of our key findings are that developers tend to accept GitHub Copilot's suggestions with less scrutiny than those from human pair programming partners, but also that GitHub Copilot can subtly remind developers of important code details they might otherwise overlook.
Similar Papers
"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistants
Software Engineering
Helps AI write better code for programmers.
Can We Trust the AI Pair Programmer? Copilot for API Misuse Detection and Correction
Software Engineering
AI helps programmers find and fix coding mistakes early.
Will Your Next Pair Programming Partner Be Human? An Empirical Evaluation of Generative AI as a Collaborative Teammate in a Semester-Long Classroom Setting
Human-Computer Interaction
AI helps students code better with a partner.