跳到主要导航 跳到搜索 跳到主要内容

Automatic Grading of Student Code with Similarity Measurement

  • Dongxia Wang
  • , En Zhang
  • , Xuesong Lu*
  • *此作品的通讯作者
  • East China Normal University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Nowadays, online judges are extensively used for automatically grading student code. However, they grade code by only counting the number of passed test cases, which is not fair for assessing the overall quality of a code snippet. On the other hand, existing studies have used machine learning techniques for code grading. However, they usually require large amounts of labeled code to enable supervised learning and heavily rely on feature engineering. In this work, we design SimGrader, a code grading system that grades student code based on the measurement of similarity to the “good” code, and thus save the effort for code labeling. We extract three types of features to capture the overall quality of a code snippet, and design specific methods to enhance the feature discrimination, which facilitates the similarity measurement. We conduct extensive experiments to show the superiority of SimGrader over existing methods and justify the effect of the its system components. We deploy SimGrader to grade the student code submitted in an introductory programming course.

源语言英语
主期刊名Machine Learning and Knowledge Discovery in Databases - European Conference, ECML PKDD 2022, Proceedings
编辑Massih-Reza Amini, Stéphane Canu, Asja Fischer, Tias Guns, Petra Kralj Novak, Grigorios Tsoumakas
出版商Springer Science and Business Media Deutschland GmbH
286-301
页数16
ISBN(印刷版)9783031264214
DOI
出版状态已出版 - 2023
活动22nd Joint European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, ECML PKDD 2022 - Grenoble, 法国
期限: 19 9月 202223 9月 2022

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
13718 LNAI
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议22nd Joint European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, ECML PKDD 2022
国家/地区法国
Grenoble
时期19/09/2223/09/22

指纹

探究 'Automatic Grading of Student Code with Similarity Measurement' 的科研主题。它们共同构成独一无二的指纹。

引用此