ProDebug:Prolog的自动化调试系统
ProDebug: An Automated Debugging System for Prolog
AI总结:
提出结合大语言模型、频谱和变异技术的Prolog自动调试系统ProDebug,用于识别学生作业中的错误并生成修复方案。
摘要:
Prolog是一种著名的声明式编程语言,常用于逻辑与推理入门课程。然而,许多学生发现Prolog具有挑战性,因为它缺乏命令式语言中常见的调试机制。在大班教学中,这一困难因提供及时个性化反馈的挑战而加剧。在这项工作中,我们介绍了ProDebug,这是首个将大语言模型(LLMs)与基于频谱和基于变异的技术相结合,用于Prolog作业自动调试的工具。ProDebug自动识别错误并为学生的Git提交提出错误修复。错误检测使用三种方法——基于频谱、基于变异和LLM推理——而修复则使用基于变异的技术和LLMs生成。我们对来自本科编程课程的1499个有错误的学生提交进行了评估,展示了自动化、LLM增强的反馈系统在扩展声明式编程教育支持方面的潜力。
英文摘要:
Prolog is a well-known declarative programming language commonly used in introductory courses on logic and reasoning. However, many students find Prolog challenging because it lacks the familiar debugging mechanisms found in imperative languages. In large classes, this difficulty is exacerbated by the challenge of providing timely and personalized feedback to students. In this work, we introduce ProDebug, the first tool to combine Large Language Models (LLMs) with spectrum-based and mutation-based techniques for automated debugging of Prolog assignments. ProDebug automatically identifies faults and proposes bug repairs for student Git submissions. Faults are detected using three approaches--spectrum-based, mutation-based, and LLM reasoning--while repairs are generated using mutation-based techniques and LLMs. Our evaluation on 1499 buggy student submissions from a bachelor's level programming class demonstrates the potential of automated, LLM-augmented feedback systems to scale support for declarative programming education.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。