cs.SEApr 8, 2026

Chatbot-Based Assessment of Code Understanding in Automated Programming Assessment Systems

Authors: Eduard Frankford, Erik Cikalleshi, Ruth Breu

Organizations: University of Innsbruck, Department of Computer Science, Innsbruck, Austria

Abstract

Large Language Models (LLMs) challenge conventional automated programming assessment because students can now produce functionally correct code without demonstrating corresponding understanding. This paper makes two contributions. First, it reports a saturation-based scoping review of conversational assessment approaches in programming education. The review identifies three dominant architectural families: rule-based or template-driven systems, LLM-based systems, and hybrid systems. Across the literature, conversational agents appear promising for scalable feedback and deeper probing of code understanding, but important limitations remain around hallucinations, over-reliance, privacy, integrity, and deployment constraints. Second, the paper synthesizes these findings into a Hybrid Socratic Framework for integrating conversational verification into Automated Programming Assessment Systems (APASs). The framework combines deterministic code analysis with a dual-agent conversational layer, knowledge tracking, scaffolded questioning, and guardrails that tie prompts to runtime facts. The paper also discusses practical safeguards against LLM-generated explanations, including proctored deployment modes, randomized trace questions, stepwise reasoning tied to concrete execution states, and local-model deployment options for privacy-sensitive settings. Rather than replacing conventional testing, the framework is intended as a complementary layer for verifying whether students understand the code they submit.

Figures & tables

Explore similar work

CardsList
  1. Exploring the Effectiveness of Using LLMs for Automated Assessment of Student Self Explanations in Programming Education

    May 20, 2026Arun-Balajiee Lekshmi-Narayanan, Mohammad Hassany, Peter BrusilovskyLLM-as-a-JudgeProgramming Education

  2. Conv-to-Bench: Evaluating Language Models Via User-Assistant Dialogues In Code Tasks

    Apr 7, 2026Victor M. dos Santos, Andre C. Castro, Samuel L. de S. Toledo +5LLM EvaluationSynthetic Benchmark Generation