arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.07304cs.SEcs.AI
收藏

基于聊天机器人的代码理解评估在自动化编程评估系统中的应用

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

University of Innsbruck(因斯布鲁克大学)

Eduard Frankford, Erik Cikalleshi, Ruth Breu

AI总结:

本文探讨了聊天机器人在自动化编程评估中的应用,提出混合苏格拉底框架以整合对话验证,解决代码理解评估中的挑战。

摘要:

大型语言模型(LLMs)挑战传统自动化编程评估,因为学生可以生成功能正确的代码而无需展示相应理解。本文有两个贡献:首先,报告了一种基于饱和度的范围综述,探讨编程教育中的对话评估方法,识别出三种主导架构:基于规则或模板的系统、LLM系统和混合系统。对话代理在可扩展反馈和深入探索代码理解方面显得有前途,但存在幻觉、过度依赖、隐私、完整性和部署限制等重要限制。其次,本文将这些发现整合成混合苏格拉底框架,用于整合对话验证到自动化编程评估系统(APASs)中。该框架结合确定性代码分析和双代理对话层、知识跟踪、阶梯式提问和将提示与运行时事实联系起来的护栏。本文还讨论了防止LLM生成解释的实用保障措施,包括受控部署模式、随机跟踪问题、与具体执行状态绑定的分步推理以及本地模型部署选项以满足隐私敏感设置。该框架旨在作为传统测试的补充层,验证学生是否理解他们提交的代码。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑