mlsanityData to 7 Oct 2026

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

arXiv 2308.06921 ↗First posted 14 Aug 2023cs.CYcited by 71

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

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.

Key facts. Cited by 71 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. First posted on arXiv 14 Aug 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 8; 2024: 35; 2025: 14; 2026: 14.

71 papers.

Sort:

By area:

  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  2. 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Designcited by 163
  3. 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testingcited by 88
  4. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  5. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
  6. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
  7. 2024Design Principles for Generative AI Applicationscited by 57
  8. 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
  9. 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decompositioncited by 29
  10. 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
  11. 2023ChoiceMates: Supporting Unfamiliar Online Decision-Making with Multi-Agent Conversational Interactionscited by 22
  12. 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
38 more
  1. 2025Can Large Language Models Match Tutoring System Adaptivity? A Benchmarking Studycited by 17
  2. 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learningcited by 16
  3. 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
  4. 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agentscited by 13
  5. 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
  6. 2023Ruffle&Riley: Towards the Automated Induction of Conversational Tutoring Systemscited by 12
  7. 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
  8. 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
  9. 2024Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novicescited by 10
  10. 2024Iris: An AI-Driven Virtual Tutor For Computer Science Educationcited by 9
  11. 2024Insights from Social Shaping Theory: The Appropriation of Large Language Models in an Undergraduate Programming Coursecited by 9
  12. 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
  13. 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
  14. 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localizationcited by 8
  15. 2024"ChatGPT Is Here to Help, Not to Replace Anybody" -- An Evaluation of Students' Opinions On Integrating ChatGPT In CS Coursescited by 6
  16. 2024Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programmingcited by 6
  17. 2024It Cannot Be Right If It Was Written by AI: On Lawyers' Preferences of Documents Perceived as Authored by an LLM vs a Humancited by 5
  18. 2023Efficient Classification of Student Help Requests in Programming Courses Using Large Language Modelscited by 4
  19. 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Educationcited by 4
  20. 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 4
  21. 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
  22. 2024One Step at a Time: Combining LLMs and Static Analysis to Generate Next-Step Hints for Programming Taskscited by 3
  23. 2025From Idea to Implementation: Evaluating the Influence of Large Language Models in Software Development -- An Opinion Papercited by 3
  24. 2024Benchmarking Educational Program Repaircited by 2
  25. 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPTcited by 2
  26. 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 2
  27. 2025Improving Student-AI Interaction Through Pedagogical Prompting: An Example in Computer Science Educationcited by 2
  28. 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implicationscited by 2
  29. 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Educationcited by 2
  30. 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbotscited by 2
  31. 2023Automated Assessment of Students' Code Comprehension using LLMscited by 1
  32. 2024A Knowledge-Component-Based Methodology for Evaluating AI Assistantscited by 1
  33. 2024Integrating AI Tutors in a Programming Coursecited by 1
  34. 2024Pensieve Discuss: Scalable Small-Group CS Tutoring System with AIcited by 1
  35. 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 1
  36. 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communitiescited by 1
  37. 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
  38. 2026CodeGuard: Improving LLM Guardrails in CS Educationcited by 1

50 most cited of 71 All 71 (JSON)