Skip to search boxSkip to navigationSkip to main content

CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classes

  • Mark Liffiton
    ,
  • Brad Sheese
    ,
  • Jaromir Savelka
    ,
  • Paul Denny
Scholarship:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research

Open access

Abstract

Computing educators face significant challenges in providing timely support to students, especially in large class settings. Large language models (LLMs) have emerged recently and show great promise for providing on-demand help at a large scale, but there are concerns that students may over-rely on the outputs produced by these models. In this paper, we introduce CodeHelp, a novel LLM-powered tool designed with guardrails to provide on-demand assistance to programming students without directly revealing solutions. We detail the design of the tool, which incorporates a number of useful features for instructors, and elaborate on the pipeline of prompting strategies we use to ensure generated outputs are suitable for students. To evaluate CodeHelp, we deployed it in a first-year computer and data science course with 52 students and collected student interactions over a 12-week period. We examine students’ usage patterns and perceptions of the tool, and we report reflections from the course instructor and a series of recommendations for classroom use. Our findings suggest that CodeHelp is well-received by students who especially value its availability and help with resolving errors, and that for instructors it is easy to deploy and complements, rather than replaces, the support that they provide to students.

Scholarship

Output type

Scholarship:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research

Original language

English

Article number

3631830

Publication milestones

  • Published - 13/11/2023

Publication status

Published - 13/11/2023

Publisher

Association for Computing Machinery

Publication series

  • Publication series name: ACM International Conference Proceeding Series

ISBN (Electronic)

9798400716539

Publication IDs

  • Scopus: 85179185850

Host publication title

Proceedings of 23rd International Conference on Computing Education Research, Koli Calling 2023