Designing PairBuddy—A Conversational Agent for Pair Programming

Peter Robe and Sandeep Kaur Kuttal

Abstract

From automated customer support to virtual assistants, conversational agents have transformed everyday interactions, yet despite phenomenal progress, no agent exists for programming tasks. To understand the design space of such an agent, we prototyped PairBuddy—an interactive pair programming partner—based on research from conversational agents, software engineering, education, human-robot interactions, psychology, and artificial intelligence. We iterated PairBuddy’s design using a series of Wizard-of-Oz studies. Our pilot study of six programmers showed promising results and provided insights toward PairBuddy’s interface design. Our second study of 14 programmers was positively praised across all skill levels. PairBuddy’s active application of soft skills—adaptability, motivation, and social presence—as a navigator increased participants’ confidence and trust, while its technical skills—code contributions, just-in-time feedback, and creativity support—as a driver helped participants realize their own solutions. PairBuddy takes the first step towards an Alexa-like programming partner.

Venue
TOCHI 2022
Volume
ACM Transactions on Computer-Human Interaction, Volume 29
DOI
10.1145/3498326
PDF
https://dl.acm.org/doi/pdf/10.1145/3498326
Anthology ID
2022.tochi-29.35

Cite

@article{robe-kuttal-2022-designing,
    title = {{Designing PairBuddy—A Conversational Agent for Pair Programming}},
    author = {Peter Robe and Sandeep Kaur Kuttal},
    journal = {ACM Transactions on Computer-Human Interaction},
    volume = {29},
    issn = {1073-0516},
    year = {2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3498326},
    url = {https://doi.org/10.1145/3498326},
    abstract = {From automated customer support to virtual assistants, conversational agents have transformed everyday interactions, yet despite phenomenal progress, no agent exists for programming tasks. To understand the design space of such an agent, we prototyped PairBuddy—an interactive pair programming partner—based on research from conversational agents, software engineering, education, human-robot interactions, psychology, and artificial intelligence. We iterated PairBuddy’s design using a series of Wizard-of-Oz studies. Our pilot study of six programmers showed promising results and provided insights toward PairBuddy’s interface design. Our second study of 14 programmers was positively praised across all skill levels. PairBuddy’s active application of soft skills—adaptability, motivation, and social presence—as a navigator increased participants’ confidence and trust, while its technical skills—code contributions, just-in-time feedback, and creativity support—as a driver helped participants realize their own solutions. PairBuddy takes the first step towards an Alexa-like programming partner.}
}