论文标题
使用大型语言模型来增强编程错误消息
Using Large Language Models to Enhance Programming Error Messages
论文作者
论文摘要
学习编程的关键部分是学习了解编程错误消息。他们可能很难解释和识别错误原因可能是耗时的。这一挑战的一个因素是,这些消息通常是针对已经知道如何编程的受众,甚至用于使用信息来突出代码中的区域的编程环境。自1960年代以来,研究人员一直在努力使这些错误更加新手友好,但是进步很慢。目前的工作通过使用大型语言模型来增强编程错误消息,从而通过解释错误和有关如何解决错误的建议来增强编程错误消息。大型语言模型可用于为编程错误消息创建有用的新手友好型增强功能,这些消息有时会超过原始编程错误消息,以解释性和可行性。这些结果提供了进一步的证据,证明了大语言模型在计算教育者中的好处,并强调了它们在已知对学生充满挑战的领域的使用。我们进一步讨论了大语言模型的好处和缺点,并突出了未来的研究流,以增强编程错误消息。
A key part of learning to program is learning to understand programming error messages. They can be hard to interpret and identifying the cause of errors can be time-consuming. One factor in this challenge is that the messages are typically intended for an audience that already knows how to program, or even for programming environments that then use the information to highlight areas in code. Researchers have been working on making these errors more novice friendly since the 1960s, however progress has been slow. The present work contributes to this stream of research by using large language models to enhance programming error messages with explanations of the errors and suggestions on how to fix the error. Large language models can be used to create useful and novice-friendly enhancements to programming error messages that sometimes surpass the original programming error messages in interpretability and actionability. These results provide further evidence of the benefits of large language models for computing educators, highlighting their use in areas known to be challenging for students. We further discuss the benefits and downsides of large language models and highlight future streams of research for enhancing programming error messages.