Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Book (2211.02265v1)

Published 4 Nov 2022 in cs.SE and cs.HC

Abstract: Advances in natural language processing have resulted in 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Stephen MacNeil (37 papers)
  2. Andrew Tran (8 papers)
  3. Arto Hellas (31 papers)
  4. Joanne Kim (8 papers)
  5. Sami Sarsa (17 papers)
  6. Paul Denny (67 papers)
  7. Seth Bernstein (6 papers)
  8. Juho Leinonen (41 papers)
Citations (152)