arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.14986cs.CY
收藏

AI 教授优雅编程的艺术:全球课程中及时、公平且有用的风格反馈

AI Teaches the Art of Elegant Coding: Timely, Fair, and Helpful Style Feedback in a Global Course

Juliette Woodrow, Ali Malik, Chris Piech

AI总结:

本文介绍在 Code in Place 课程中部署基于 LLM 的实时风格反馈工具 RTSF,随机对照试验表明实时反馈使学生参与度提升五倍,超 79% 的编辑采纳了反馈,并探讨了 LLM 工具的局限性与防范偏差等安全性问题。

摘要:

教授学生编写优雅、可重用且易于理解的代码是 CS1 教育的基本组成部分。然而,及时提供这种“风格反馈”已被证明难以规模化。在本文中,我们介绍了在 Code in Place 这一大规模在线 CS1 课程中部署一种新型实时风格反馈工具的经验。我们的工具基于大型语言模型(LLMs)的最新突破,并经过精心设计以确保对学生安全且有用。我们在一个拥有超过 8,000 名来自全球各地、背景多元的学生的班级中使用了我们的实时风格反馈工具(RTSF),并进行了随机对照试验以了解其益处。我们表明,与收到延迟反馈的学生相比,实时收到风格反馈的学生查看并参与反馈的可能性高出五倍。此外,查看反馈的学生更有可能对其代码进行重大的风格相关编辑,其中超过 79% 的编辑直接纳入了他们的反馈。我们还讨论了基于 LLM 的反馈工具的实用性与危险性,研究生成反馈的质量、LLM 的局限性,以及实现一致性、标准化和防范人口统计偏差的技术,所有这些对于学生使用的工具都至关重要。

英文摘要:

Teaching students how to write code that is elegant, reusable, and comprehensible is a fundamental part of CS1 education. However, providing this "style feedback" in a timely manner has proven difficult to scale. In this paper, we present our experience deploying a novel, real-time style feedback tool in Code in Place, a large-scale online CS1 course. Our tool is based on the latest breakthroughs in large-language models (LLMs) and was carefully designed to be safe and helpful for students. We used our Real-Time Style Feedback tool (RTSF) in a class with over 8,000 diverse students from across the globe and ran a randomized control trial to understand its benefits. We show that students who received style feedback in real-time were five times more likely to view and engage with their feedback compared to students who received delayed feedback. Moreover, those who viewed feedback were more likely to make significant style-related edits to their code, with over 79% of these edits directly incorporating their feedback. We also discuss the practicality and dangers of LLM-based tools for feedback, investigating the quality of the feedback generated, LLM limitations, and techniques for consistency, standardization, and safeguarding against demographic bias, all of which are crucial for a tool utilized by students.

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

↑