Date
Publisher
arXiv
Large Language Models (LLMs) now excel at generative skills and can create
content at impeccable speeds. However, they are imperfect and still make
various mistakes. In a Computer Science education context, as these models are
widely recognized as "AI pair programmers," it becomes increasingly important
to train students on evaluating and debugging the LLM-generated code. In this
work, we introduce HypoCompass, a novel system to facilitate deliberate
practice on debugging, where human novices play the role of Teaching Assistants
and help LLM-powered teachable agents debug code. We enable effective task
delegation between students and LLMs in this learning-by-teaching environment:
students focus on hypothesizing the cause of code errors, while adjacent skills
like code completion are offloaded to LLM-agents. Our evaluations demonstrate
that HypoCompass generates high-quality training materials (e.g., bugs and
fixes), outperforming human counterparts fourfold in efficiency, and
significantly improves student performance on debugging by 12% in the
pre-to-post test.
Study at a glance
- Question: Can teaching an AI agent to fix code errors help students improve their own debugging skills?
- Setting and data: Novice students; sample size, location, and timing not stated in the abstract.
- Method: Pre- and post-test evaluation (pre-to-post test) and system performance comparison.
Why it matters
Although large language models excel at generating content quickly, they still make mistakes. As these models are widely recognized as AI pair programmers, it becomes increasingly important to train students to evaluate and debug LLM-generated code.
Key findings
- In computer science education, using an AI teachable agent was linked to a 12% gain in students' debugging performance from pre- to post-tests.
- The AI tool generated instructional programming materials four times more efficiently than human creators.
- The AI tool produced high-quality training materials, specifically computer programming bugs and their fixes.
Summary drafted with AI from the paper’s abstract and may contain errors. See the full paper for details.
What is the application?
Who is the user?
Who age?
Why use AI?

