Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Book
Not on the map. Why?
Abstract (arXiv)
Advances in natural language processing have resulted in large language models (LLMs) that are capable of generating understandable and sensible written text. Recent versions of these models, such as OpenAI Codex and GPT-3, can generate code and code explanations. However, it is unclear whether and how students might engage with such explanations. In this paper, we report on our experiences generating multiple code explanation types using LLMs and integrating them into an interactive e-book on web software development. We modified the e-book to make LLM-generated code explanations accessible through buttons next to code snippets in the materials, which allowed us to track the use of the explanations as well as to ask for feedback on their utility. Three different types of explanations were available for students for each explainable code snippet; a line-by-line explanation, a list of important concepts, and a high-level summary of the code. Our preliminary results show that all varieties of explanations were viewed by students and that the majority of students perceived the code explanations as helpful to them. However, student engagement appeared to vary by code snippet complexity, explanation type, and code snippet length. Drawing on our experiences, we discuss future directions for integrating explanations generated by LLMs into existing computer science classrooms.
Key facts. Cited by 84 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Nov 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 32; 2024: 32; 2025: 13; 2026: 6.
84 papers.
Sort:
By area:
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 84
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 64
- 2023Computing Education in the Era of Generative AIcited by 52
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 48
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 46
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 39
- 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 35
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
38 more
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2023Next-Step Hint Generation for Introductory Programming Using Large Language Modelscited by 20
- 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 17
- 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
- 2025EduBench: A Comprehensive Benchmarking Dataset for Evaluating Large Language Models in Diverse Educational Scenarioscited by 16
- 2023Can Language Models Employ the Socratic Method? Experiments with Code Debuggingcited by 15
- 2023Enhancing Large Language Models for Secure Code Generation: A Dataset-driven Study on Vulnerability Mitigationcited by 15
- 2024Feedback-Generation for Programming Exercises With GPT-4cited by 14
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 14
- 2023ChatGPT in the Classroom: An Analysis of Its Strengths and Weaknesses for Solving Undergraduate Computer Science Questionscited by 13
- 2023Explaining Competitive-Level Programming Solutions using LLMscited by 13
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 13
- 2023Can We Trust AI-Generated Educational Content? Comparative Analysis of Human and AI-Generated Learning Resourcescited by 12
- 2023More Robots are Coming: Large Multimodal Models (ChatGPT) can Solve Visually Diverse Images of Parsons Problemscited by 11
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 10
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factorscited by 10
- 2024Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novicescited by 10
- 2025How Do Programming Students Use Generative AI?cited by 10
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
- 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainercited by 9
- 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?cited by 8
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2023Learning from Teaching Assistants to Program with Subgoals: Exploring the Potential for AI Teaching Assistantscited by 7
- 2023A Case Study in Engineering a Conversational Programming Assistant's Personacited by 6
- 2023Mapping the Design Space of Interactions in Human-AI Text Co-creation Taskscited by 6
- 2023Exploring Large Language Models for Code Explanationcited by 6
- 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Modelscited by 6
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024Experimenting with Multi-Agent Software Development: Towards a Unified Platformcited by 6
- 2024Using Grammar Masking to Ensure Syntactic Validity in LLM-based Modeling Taskscited by 6
- 2024Synthetic Students: A Comparative Study of Bug Distribution Between Large Language Models and Computing Studentscited by 6
- 2023Semantic Similarity Loss for Neural Source Code Summarizationcited by 5
- 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Modelscited by 5
- 2024Understanding the Role of Temperature in Diverse Question Generation by GPT-4cited by 5
- 2024ASSERTIFY: Utilizing Large Language Models to Generate Assertions for Production Codecited by 4
50 most cited of 84 All 84 (JSON)
- 2026Is Solving Better Than Evaluating GenAI Solutions?30 Jul 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026CourseBlueprint: A Structured Pipeline for Adaptive Pedagogical Video Generation Grounded in Course Corpora22 May 2026
- 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbots10 Feb 2026
- 2026From Code-Centric to Concept-Centric: Teaching NLP with LLM-Assisted "Vibe Coding"2 Feb 2026
- 2026Rewarding How Models Think Pedagogically: Integrating Pedagogical Reasoning and Thinking Rewards for LLMs in Education21 Jan 2026
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
- 2025GenAI Voice Mode in Programming Education12 Sep 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025MathEDU: Feedback Generation on Problem-Solving Processes for Mathematical Learning Support23 May 2025
- 2025EduBench: A Comprehensive Benchmarking Dataset for Evaluating Large Language Models in Diverse Educational Scenarios22 May 2025
38 more
- 2025SNAPE-PM: Building and Utilizing Dynamic Partner Models for Adaptive Explanation Generation19 May 2025
- 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communities14 Apr 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Education27 Feb 2025
- 2025Deception at Scale: Deceptive Designs in 1K LLM-Generated Ecommerce Components19 Feb 2025
- 2025To Google or To ChatGPT? A Comparison of CS2 Students' Information Gathering Approaches and Outcomes21 Jan 2025
- 2025How Do Programming Students Use Generative AI?17 Jan 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Selective Shot Learning for Code Explanation17 Dec 2024
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners17 Dec 2024
- 2024DialogAgent: An Auto-engagement Agent for Code Question Answering Data Production11 Dec 2024
- 2024ASSERTIFY: Utilizing Large Language Models to Generate Assertions for Production Code25 Nov 2024
- 2024On the Opportunities of Large Language Models for Programming Process Data1 Nov 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024Synthetic Students: A Comparative Study of Bug Distribution Between Large Language Models and Computing Students11 Oct 2024
- 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainer3 Sep 2024
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Era9 Aug 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Integrating AI Tutors in a Programming Course14 Jul 2024
- 2024Using Grammar Masking to Ensure Syntactic Validity in LLM-based Modeling Tasks8 Jul 2024
- 2024GPT-Powered Elicitation Interview Script Generator for Requirements Engineering Training17 Jun 2024
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AI11 Jun 2024
- 2024Experimenting with Multi-Agent Software Development: Towards a Unified Platform8 Jun 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers28 May 2024
- 2024Benchmarking Educational Program Repair8 May 2024
- 2024Understanding the Role of Temperature in Diverse Question Generation by GPT-414 Apr 2024
- 2024LLM-aided explanations of EDA synthesis errors7 Apr 2024
- 2024Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novices2 Apr 2024
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factors22 Mar 2024
- 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models14 Mar 2024
- 2024Feedback-Generation for Programming Exercises With GPT-47 Mar 2024
- 2024Human-AI Co-Creation of Worked Examples for Programming Classes26 Feb 2024
- 2024Advancing Building Energy Modeling with Large Language Models: Exploration and Case Studies14 Feb 2024
- 2024Enhancing Programming Error Messages in Real Time with Generative AI12 Feb 2024
- 2024The Landscape and Challenges of HPC Research and LLMs3 Feb 2024
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs20 Jan 2024
50 newest of 84 All 84 (JSON)
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 84
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 64
- 2023Computing Education in the Era of Generative AIcited by 52
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 48
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 46
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 39
- 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 35
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
12 most cited of 78 All 78 (JSON)
- 2026Is Solving Better Than Evaluating GenAI Solutions?30 Jul 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026CourseBlueprint: A Structured Pipeline for Adaptive Pedagogical Video Generation Grounded in Course Corpora22 May 2026
- 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbots10 Feb 2026
- 2026From Code-Centric to Concept-Centric: Teaching NLP with LLM-Assisted "Vibe Coding"2 Feb 2026
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
- 2025GenAI Voice Mode in Programming Education12 Sep 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025MathEDU: Feedback Generation on Problem-Solving Processes for Mathematical Learning Support23 May 2025
- 2025EduBench: A Comprehensive Benchmarking Dataset for Evaluating Large Language Models in Diverse Educational Scenarios22 May 2025
- 2025SNAPE-PM: Building and Utilizing Dynamic Partner Models for Adaptive Explanation Generation19 May 2025
12 newest of 78 All 78 (JSON)