mlsanityData to 14 Oct 2026

StepGrade: Grading Programming Assignments with Context-Aware LLMs

arXiv 2503.20851 ↗First posted 26 Mar 2025cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Grading programming assignments is a labor-intensive and time-consuming process that demands careful evaluation across multiple dimensions of the code. To overcome these challenges, automated grading systems are leveraged to enhance efficiency and reduce the workload on educators. Traditional automated grading systems often focus solely on correctness, failing to provide interpretable evaluations or actionable feedback for students. This study introduces StepGrade, which explores the use of Chain-of-Thought (CoT) prompting with Large Language Models (LLMs) as an innovative solution to address these challenges. Unlike regular prompting, which offers limited and surface-level outputs, CoT prompting allows the model to reason step-by-step through the interconnected grading criteria, i.e., functionality, code quality, and algorithmic efficiency, ensuring a more comprehensive and transparent evaluation. This interconnectedness necessitates the use of CoT to systematically address each criterion while considering their mutual influence. To empirically validate the efficiency of StepGrade, we conducted a case study involving 30 Python programming assignments across three difficulty levels (easy, intermediate, and advanced). The approach is validated against expert human evaluations to assess its consistency, accuracy, and fairness. Results demonstrate that CoT prompting significantly outperforms regular prompting in both grading quality and interpretability. By reducing the time and effort required for manual grading, this research demonstrates the potential of GPT-4 with CoT prompting to revolutionize programming education through scalable and pedagogically effective automated grading systems.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Mar 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CodEv: An Automated Grading Framework Leveraging Large Language Models for Consistent and Constructive Feedback
  2. 2024Grade Like a Human: Rethinking Automated Assessment with Large Language Models
  3. 2025CoTAL: Human-in-the-Loop Prompt Engineering for Generalizable Formative Assessment Scoring and Feedback
  4. 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoring
  5. 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs
  6. 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
  7. 2024Analyzing LLM Usage in an Advanced Computing Class in India
  8. 2025Are They All Good? Evaluating the Quality of CoTs in LLM-based Code Generation