English

CodEv: An Automated Grading Framework Leveraging Large Language Models for Consistent and Constructive Feedback

Computers and Society 2025-02-28 v1 Artificial Intelligence Human-Computer Interaction

Abstract

Grading programming assignments is crucial for guiding students to improve their programming skills and coding styles. This study presents an automated grading framework, CodEv, which leverages Large Language Models (LLMs) to provide consistent and constructive feedback. We incorporate Chain of Thought (CoT) prompting techniques to enhance the reasoning capabilities of LLMs and ensure that the grading is aligned with human evaluation. Our framework also integrates LLM ensembles to improve the accuracy and consistency of scores, along with agreement tests to deliver reliable feedback and code review comments. The results demonstrate that the framework can yield grading results comparable to human evaluators, by using smaller LLMs. Evaluation and consistency tests of the LLMs further validate our approach, confirming the reliability of the generated scores and feedback.

Keywords

Cite

@article{arxiv.2501.10421,
  title  = {CodEv: An Automated Grading Framework Leveraging Large Language Models for Consistent and Constructive Feedback},
  author = {En-Qi Tseng and Pei-Cing Huang and Chan Hsu and Peng-Yi Wu and Chan-Tung Ku and Yihuang Kang},
  journal= {arXiv preprint arXiv:2501.10421},
  year   = {2025}
}
R2 v1 2026-06-28T21:09:41.205Z