Search and Filter

Repository Feedback

Your feedback helps us improve the repository's content relevance and usability. Please share your thoughts to help us better serve researchers and practitioners.

Submit feedback

Submit a research study

Contribute to the repository:

Add a paper

Relationships Between Trust, Compliance, And Performance For Novice Programmers Using AI Code Generation

Date
Publisher
arXiv
Objective. To explore how novice programmers' trust in Artificial Intelligence-driven Development Environments (AIDEs) relates to their coding performance and AI compliance while programming under time pressure. Background. Computer programming has undergone rapid upheaval due to state-of-the-art AIDEs, which provide clever automation for many aspects of software development. A longstanding interest of researchers of automation more generally has been the attitude of trust. Decades of research seek to explain how influencing trust can help to achieve desirable outcomes in different domains, but very limited work has provided similar focus on trust in AIDEs. Method. We collected subjective measures of trust along with objective measures of performance and AIDE compliance from a diverse group of 27 novice programmers between two study locations. Results. Our results corroborated traditional understandings of how trust changes through experiences. However, we did not find a relationship between trust and subsequent compliance during programming tasks. Greater compliance was associated with strong performance, and strong performance led to greater subsequent trust. Conclusion. Our findings raise new questions about the utility of trust in the context of interacting with AIDEs and generative AI. We call for further research into the effect of trust on compliance to recommendations from imperfect AI. Application. This work can inform the design of training and educational content for generative AI use within and beyond software development. Instructional designers should consider risks of AI misuse and disuse and focus on promoting desirable interaction outcomes, regardless of trust's connection to them.
Study at a glance
  • Question: How do novice programmers' trust, compliance, and coding performance relate when using an AI programming assistant?
  • Setting and data: University of Virginia and Virginia State University, Spring 2023 and Spring 2024, 27 undergraduate novice programming students.
  • Method: Repeated-measures experiment analyzed using generalized estimating equations (GEE).
Why it matters

AI coding assistants can generate incorrect or unsafe code, requiring programmers to decide when to rely on them. However, empirical evidence is limited on how novice trust relates to compliance and performance.

Key findings
  • Pre-trial trust in the AI did not significantly predict whether novice programmers complied with its code suggestions.
  • Each additional compliance with AI suggestions was associated with a roughly 2% increase in programming performance.
  • Higher programming performance was positively associated with greater subsequent trust in the AI code generator.

Summary drafted with AI from the full paper and may contain errors. See the full paper for details.

What is the application?
Who is the user?
Who age?