“It’s Weird That it Knows What I Want”: Usability and Interactions with Copilot for Novice Programmers

James Prather, Brent N. Reeves, Paul Denny, Brett A. Becker, Juho Leinonen, Andrew Luxton-Reilly, Garrett Powell, James Finnie-Ansley and Eddie Antonio Santos

Abstract

Recent developments in deep learning have resulted in code-generation models that produce source code from natural language and code-based prompts with high accuracy. This is likely to have profound effects in the classroom, where novices learning to code can now use free tools to automatically suggest solutions to programming exercises and assignments. However, little is currently known about how novices interact with these tools in practice. We present the first study that observes students at the introductory level using one such code auto-generating tool, Github Copilot, on a typical introductory programming (CS1) assignment. Through observations and interviews we explore student perceptions of the benefits and pitfalls of this technology for learning, present new observed interaction patterns, and discuss cognitive and metacognitive difficulties faced by students. We consider design implications of these findings, specifically in terms of how tools like Copilot can better support and scaffold the novice programming experience.

Venue
TOCHI 2024
Volume
ACM Transactions on Computer-Human Interaction, Volume 31
DOI
10.1145/3617367
PDF
https://dl.acm.org/doi/pdf/10.1145/3617367
Anthology ID
2024.tochi-31.9

Cite

@article{prather-etal-2024-its,
    title = {{“It’s Weird That it Knows What I Want”: Usability and Interactions with Copilot for Novice Programmers}},
    author = {James Prather and Brent N. Reeves and Paul Denny and Brett A. Becker and Juho Leinonen and Andrew Luxton-Reilly and Garrett Powell and James Finnie-Ansley and Eddie Antonio Santos},
    journal = {ACM Transactions on Computer-Human Interaction},
    volume = {31},
    issn = {1073-0516},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3617367},
    url = {https://doi.org/10.1145/3617367},
    abstract = {Recent developments in deep learning have resulted in code-generation models that produce source code from natural language and code-based prompts with high accuracy. This is likely to have profound effects in the classroom, where novices learning to code can now use free tools to automatically suggest solutions to programming exercises and assignments. However, little is currently known about how novices interact with these tools in practice. We present the first study that observes students at the introductory level using one such code auto-generating tool, Github Copilot, on a typical introductory programming (CS1) assignment. Through observations and interviews we explore student perceptions of the benefits and pitfalls of this technology for learning, present new observed interaction patterns, and discuss cognitive and metacognitive difficulties faced by students. We consider design implications of these findings, specifically in terms of how tools like Copilot can better support and scaffold the novice programming experience.}
}