Automatic Assessment of Program Code Using CodeBERTScore: a Transformer-Based Approach
摘要
Evaluating student programming assignments is a labor intensive and time consuming activity for evaluators. A programming question can have several approaches to get the desired solution. During evaluation process, it is not feasible to check the functionality of all approaches adopted by the students to verify the results. However, automation of program code evaluation can reduce this burden. The paper proposed a web tool for automatic program code evaluation using transformer-based model CodeBERT and evaluation metric CodeBERTScore. The proposed web tool was tested for six programming languages, namely, C, C++, Java, Java Script, C# and Python, respectively. Out of these programming languages, C++ program code evaluation outperformed with a precision, recall, F1score and F3score of 0.9478, 0.932, 0.9406 and 0.9328, respectively.