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

08/14/2023
by   Mark Liffiton, et al.
0

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.

READ FULL TEXT

page 5

page 6

page 8

research
07/31/2023

Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generators

With their remarkable ability to generate code, large language models (L...
research
08/31/2023

Exploring the Potential of Large Language Models to Generate Formative Programming Feedback

Ever since the emergence of large language models (LLMs) and related app...
research
11/30/2019

Introduction to Computational Thinking: a new high school curriculum using CodeWorld

The Louisiana Department of Education partnered with the Gordon A. Cain ...
research
10/19/2022

GILP: An Interactive Tool for Visualizing the Simplex Algorithm

The Simplex algorithm for solving linear programs-one of Computing in Sc...
research
04/02/2018

TipsC: Tips and Corrections for programming MOOCs

With the widespread adoption of MOOCs in academic institutions, it has b...
research
09/06/2022

Cognitive Assistance for Inquiry-Based Modeling

Inquiry-based modeling is essential to scientific practice. However, mod...
research
06/06/2023

Can large language models democratize access to dual-use biotechnology?

Large language models (LLMs) such as those embedded in 'chatbots' are ac...

Please sign up or login with your details

Forgot password? Click here to reset