Skip to main content
QUICK REVIEW

[论文解读] CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classes

Mark Liffiton, Brad E. Sheese|arXiv (Cornell University)|Aug 14, 2023
Software Engineering ResearchComputer Science被引用 9
一句话总结

CodeHelp 是一个由 LLM 驱动的辅导工具,具有护栏,能够按需为大规模提供编程帮助,并在 52 名学生、12 周的第一年课程中进行了评估。它受到好评,补充了教师支持。

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.

研究动机与目标

  • 解决在大规模课堂中提供及时编程支持的可扩展性挑战。
  • 设计护栏,防止直接暴露解决方案,同时引导学生走向学习。
  • 提供供教师使用的功能,观察、管理并评估学生对 CodeHelp 的参与度。
  • 展示课堂部署情况并收集学生的认知与使用分析。

提出的方法

  • 开发基于网络的工具,提供简单的学生界面,用于结构化帮助请求(语言、代码、错误、问题)。
  • 实现多提示的 LLM 工作流(充分性检查、主响应、代码移除),以生成安全且具有教育意义的输出。
  • 在充分性检查中使用链式思维提示,以确定是否需要澄清。
  • 生成两个主要响应完成,选择质量更高的,如有需要进行代码移除。
  • 通过 LTI 与 LMS 集成,实现教师无缝访问和班级配置(避免使用关键字集合)。
  • 收集使用数据和调查问卷回答,以评估课堂影响和学生认知。

实验结果

研究问题

  • RQ1学生在为期 12 周的入门编程课程中如何使用 CodeHelp?
  • RQ2学生提交哪些类型的帮助请求,CodeHelp 如何回应?
  • RQ3学生如何看待 CodeHelp 的有用性、可用性和学习价值?
  • RQ4CodeHelp 如何影响教师工作量和课堂支持动态?

主要发现

  • CodeHelp 受到学生的好评,能帮助解决错误,大多数受访者表示其有价值,并愿意在未来课程中重复使用。
  • 整个学期的使用保持一致,约一半的班级每周使用 CodeHelp,且相当一部分学生提交了大量查询。
  • 大多数学生认为 CodeHelp 帮助他们完成作业(71% 同意;9% 非常同意)并学习课程材料(56% 同意;7% 非常同意)。
  • 教师发现 CodeHelp 易于部署,并将其视为对人类支持的补充,而不是替代。
  • 该工具使课堂外也能持续访问,并提供教师视图以监控查询和响应。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。