arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.09325cs.AIcs.CL
收藏

生成式预训练变换器(GPT)能否通过高等教育编程课程的评估?

Can Generative Pre-trained Transformers (GPT) Pass Assessments in Higher Education Programming Courses?

Carnegie Mellon University(卡内基梅隆大学)

Jaromir Savelka, Arav Agarwal, Christopher Bogart, Yifan Song, Majd Sakr

AI总结:

本研究评估GPT在高等教育Python编程课程中的表现,发现其无法通过全部评估但能获取超过55%分数,并能为教师调整评估提供参考。

摘要:

我们评估了生成式预训练变换器(GPT)在高等教育阶段通过入门和中级Python编程课程评估的能力。关于这一新兴技术在编程教育中的潜在用途(如练习生成、代码解释)和滥用(如作弊)的讨论日益激烈,但迄今为止,尚未有在包含多样化评估工具的全方位编程课程的真实情境下对模型能力进行严格分析。我们在三门Python课程上评估了GPT,这些课程的评估形式从简单的选择题(不涉及代码)到代码库分布在多个文件中的复杂编程项目(共599个练习)。此外,我们研究了GPT模型是否以及如何成功利用自动评分器提供的反馈。我们发现,当前模型无法通过Python编程课程中通常涉及的全部评估范围(即使在入门级模块上得分也低于70%)。然而,显而易见的是,直接应用这些易于获取的模型可以使学习者在入门和中级课程中获得总可得分数中不可忽视的一部分(超过55%)。尽管模型展现出非凡的能力,包括根据自动评分器的反馈修正解决方案,但仍存在一些局限性(例如,对需要复杂推理步骤链的练习处理不佳)。这些发现可供希望调整其评估方式的教师利用,使GPT成为学习者的宝贵助手,而非端到端的解决方案。

英文摘要:

We evaluated the capability of generative pre-trained transformers (GPT), to pass assessments in introductory and intermediate Python programming courses at the postsecondary level. Discussions of potential uses (e.g., exercise generation, code explanation) and misuses (e.g., cheating) of this emerging technology in programming education have intensified, but to date there has not been a rigorous analysis of the models' capabilities in the realistic context of a full-fledged programming course with diverse set of assessment instruments. We evaluated GPT on three Python courses that employ assessments ranging from simple multiple-choice questions (no code involved) to complex programming projects with code bases distributed into multiple files (599 exercises overall). Further, we studied if and how successfully GPT models leverage feedback provided by an auto-grader. We found that the current models are not capable of passing the full spectrum of assessments typically involved in a Python programming course (<70% on even entry-level modules). Yet, it is clear that a straightforward application of these easily accessible models could enable a learner to obtain a non-trivial portion of the overall available score (>55%) in introductory and intermediate courses alike. While the models exhibit remarkable capabilities, including correcting solutions based on auto-grader's feedback, some limitations exist (e.g., poor handling of exercises requiring complex chains of reasoning steps). These findings can be leveraged by instructors wishing to adapt their assessments so that GPT becomes a valuable assistant for a learner as opposed to an end-to-end solution.

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

↑