Trade-offs for substituting a human with an agent in a pair programming context: the good, the bad, and the ugly

SK Kuttal, B Ong, K Kwasny, P Robe - … of the 2021 CHI Conference on …, 2021 - dl.acm.org
SK Kuttal, B Ong, K Kwasny, P Robe
Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, 2021dl.acm.org
Pair programming has a documented history of benefits, such as increased code quality,
productivity, self-efficacy, knowledge transfer, and reduced gender gap. Research
uncovered problems with pair programming related to scheduling, collocating, role
imbalance, and power dynamics. We investigated the trade-offs of substituting a human with
an agent to simultaneously provide benefits and alleviate obstacles in pair programming.
We conducted gender-balanced studies with human-human pairs in a remote lab with 18 …
Pair programming has a documented history of benefits, such as increased code quality, productivity, self-efficacy, knowledge transfer, and reduced gender gap. Research uncovered problems with pair programming related to scheduling, collocating, role imbalance, and power dynamics. We investigated the trade-offs of substituting a human with an agent to simultaneously provide benefits and alleviate obstacles in pair programming. We conducted gender-balanced studies with human-human pairs in a remote lab with 18 programmers and Wizard-of-Oz studies with 14 programmers, then analyzed results quantitatively and qualitatively. Our comparative analysis of the two studies showed no significant differences in productivity, code quality, and self-efficacy. Further, agents facilitated knowledge transfer; however, unlike humans, agents were unable to provide logical explanations or discussions. Human partners trusted and showed humility towards agents. Our results demonstrate that agents can act as effective pair programming partners and open the way towards new research on conversational agents for programming.
ACM Digital Library