Manual grading of programming assignments in introductory computer science courses can be time-consuming and prone to inconsistencies. While unit testing is commonly used for automatic evaluation, it typically follows a binary pass/fail model and does not give partial marks. Recent advances in large language models (LLMs) offer the potential for automated, scalable, and more objective grading.
This paper compares two AI-based grading techniques: \textit{Direct}, where the AI model applies a rubric directly to student code, and \textit{Reverse} (a newly proposed approach), where the AI first fixes errors, then deduces a grade based on the nature and number of fixes. Each method was evaluated on both the instructor's original grading scale and a tenfold expanded scale to assess the impact of range on AI grading accuracy. To assess their effectiveness, AI-assigned scores were evaluated against human tutor evaluations on a range of coding problems and error types.
Initial findings suggest that while the Direct approach is faster and straightforward, the Reverse technique often provides a more fine-grained assessment by focusing on correction effort. Both methods require careful prompt engineering, particularly for allocating partial credit and handling logic errors. To further test consistency, we also used synthetic student code generated using Gemini Flash 2.0, which allowed us to evaluate AI graders on a wider range of controlled error types and difficulty levels. We discuss the strengths and limitations of each approach, practical considerations for prompt design, and future directions for hybrid human-AI grading systems that aim to improve consistency, efficiency, and fairness in CS courses.
Context-Aware Classification and Grading of Sensitive Information in Online Conversational Health Data
School of Computing, Macquarie University, Australia(麦考瑞大学计算机学院);Department of Biomedical Engineering, National University of Singapore(新加坡国立大学生物医学工程系);School of Mathematics and Statistics, Shandong University of Technology, China(山东理工大学数学与统计学院);Digital Intelligence Center, Fuzhou University Affiliated Provincial Hospital, China(福州市附属省医院数字智能中心);School of Computer Science and Engineering, UNSW, Australia(新南威尔士大学计算机科学与工程学院)
CREBench: Evaluating Large Language Models in Cryptographic Binary Reverse Engineering
Shanghai Qi Zhi Institute(上海期智研究院);Institute of Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);Xiongan AI Institute(雄安人工智能研究院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));East China Normal University(华东师范大学)
Large Language Models for Medical OSCE Assessment: A Novel Approach to Transcript Analysis
UT Southwestern Medical Center(德克萨斯大学西南医学中心);Lyda Hill Department of Bioinformatics(莱达·希尔生物信息学系);Department of Internal Medicine(内科学系);Simulation Center(模拟中心);Department of Surgery(外科学系)
LessonBench-V1: A Benchmark Dataset for Evaluating AI Lesson Generation Agents
Department of Computer Science, Nottingham Trent University, Nottingham, UK(计算机科学系,诺丁汉特伦特大学,诺丁汉,英国);Department of Physics and Mathematics, Nottingham Trent University, Nottingham, UK(物理与数学系,诺丁汉特伦特大学,诺丁汉,英国)
Answer Matching Outperforms Multiple Choice for Language Model Evaluation
Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所);Tübingen AI Center(图宾根人工智能中心);University of Tübingen(图宾根大学)
FDE-Bench: Evaluating LLM Agents for Deployment Environment Configuration
University of California, Berkeley(加州大学伯克利分校);Imperial College London(帝国理工学院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Evaluating LLMs for Obfuscation Detection and Classification in Android Apps
IMT School for Advanced Studies Lucca(卢卡高等研究学院);Interdisciplinary Centre for Security, Reliability and Trust(安全、可靠性和信任跨学科中心);University of Verona(维罗纳大学);University of Genoa(热那亚大学)