Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics
Open accessPreprint — published as 10.1145/3702652.3744220
Abstract
Since the emergence of Large Language Models (LLMs) popularized by the release of GPT-3 and ChatGPT, LLMs have shown remarkable promise in programming-related tasks. While code generation using LLMs has become a popular field of research, code evaluation using LLMs remains under-explored. In this paper, we focus on LLM-based code evaluation and attempt to fill in the existing gaps. We propose multi-agentic novel approaches using \emph{question-specific rubrics} tailored to the problem statement, arguing that these perform better for logical assessment than the existing approaches that use \emph{question-agnostic rubrics}. To address the lack of suitable evaluation datasets, we introduce two datasets: a Data Structures and Algorithms dataset containing 150 student submissions from a popular Data Structures and Algorithms practice website, and an Object Oriented Programming dataset comprising 80 student submissions from undergraduate computer science courses. In addition to using standard metrics (Spearman Correlation, Cohen's Kappa), we additionally propose a new metric called as Leniency, which quantifies evaluation strictness relative to expert assessment. Our comprehensive analysis demonstrates that \emph{question-specific rubrics} significantly enhance logical assessment of code in educational settings, providing better feedback aligned with instructional goals beyond mere syntactic correctness.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Rubrics designed by human experts help ensure the consistency of LLM judge scores with human expert preferences to some extent.
“Rubrics designed by human experts also help ensure the consistency of LLM judge scores with human expert preferences to some extent [Pathak et al., 2025, Hashemi et al., 2024].”
From DeepResearch Bench II: Diagnosing Deep Research Agents via Rubrics from Expert Reports (2026) · cites this paper as Pathak et al., 2025
The Introduction (p. 2) reports that question-specific rubrics improve code-evaluation accuracy, and Data Preprocessing (p. 8) describes comparing LLM marks with human-grader marks for agreement. The paper supports some alignment in grading student code, but it does not establish that human-designed rubrics ensure LLM judge scores match human expert preferences more generally. (LLM, conf=0.82)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
BLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344 · see citing works
Vaithilingam, P., Zhang, T., & Glassman, E. L. (2022) · CHI Conference on Human Factors in Computing Systems Extended Abstracts · doi:10.1145/3491101.3519665 · Cited by 660 · see citing works
Review of recent systems for automatic assessment of programming assignments
Ihantola, P., Ahoniemi, T., Karavirta, V., & Seppälä, O. (2010) · Koli Calling International Conference on Computing Education Research · doi:10.1145/1930464.1930480 · Cited by 561 · see citing works
Automatic Generation of Programming Exercises and Code Explanations Using Large Language Models
Sarsa, S., Denny, P., Hellas, A., & Leinonen, J. (2022) · Proceedings of the 2022 ACM Conference on International Computing Education Research - Volume 1 · doi:10.1145/3501385.3543957 · Cited by 497 · see citing works
A systematic literature review of automated feedback generation for programming exercises
Keuning, H., Jeuring, J., & Heeren, B. (2019) · ACM Transactions on Computing Education · doi:10.1145/3231711 · Cited by 370 · see citing works
Automated Grading and Feedback Tools for Programming Education: A Systematic Review
Messer, M., Brown, N. C. C., Kölling, M., & Shi, M. (2024) · ACM Transactions on Computing Education · doi:10.1145/3636515 · Cited by 262 · see citing works
Exploring the Responses of Large Language Models to Beginner Programmers’ Help Requests
Hellas, A., Leinonen, J., Sarsa, S., Koutcheme, C., Kujanpää, L., & Sorva, J. (2023) · Proceedings of the 2023 ACM Conference on International Computing Education Research V.1 · doi:10.1145/3568813.3600139 · Cited by 145 · see citing works
Towards a Systematic Review of Automated Feedback Generation for Programming Exercises
Keuning, H., Jeuring, J. T., & Heeren, B. (2016) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/2899415.2899422 · Cited by 142 · see citing works
Automated Assessment of Programming Assignments
Pieterse, V. (2013) · Computer Science Education Research Conference · doi:10.5555/2541917.2541921 · Cited by 140 · see citing works
Lobb, R., & Harlow, J. (2016) · ACM Inroads · doi:10.1145/2810041 · Cited by 120 · see citing works
Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutors
Phung, T., Pădurean, V.-A., Cambronero, J., Gulwani, S., Kohn, T., Majumdar, R., Singla, A., & Soares, G. (2023) · Proceedings of the 2023 ACM Conference on International Computing Education Research - Volume 2 · doi:10.1145/3568812.3603476 · Cited by 112 · see citing works
CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code
Zhou, S., Alon, U., Agarwal, S., & Neubig, G. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.859 · Cited by 100 · see citing works
Chowdhury, F. (2018) · International Education Studies · doi:10.5539/ies.v12n1p61 · Cited by 91 · see citing works
Exploring the Potential of Large Language Models to Generate Formative Programming Feedback
Kiesler, N., Lohr, D., & Keuning, H. (2023) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie58773.2023.10343457 · Cited by 82 · see citing works
Joshi, I., Budhiraja, R., Dev, H., Kadia, J., Ataullah, M. O., Mitra, S., Akolekar, H. D., & Kumar, D. (2024) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3626252.3630803 · Cited by 80 · see citing works
Self-citationAutomatic Grading of Programming Assignments: An Approach Based on Formal Semantics
Liu, X., Wang, S., Wang, P., & Wu, D. (2019) · IEEE/ACM International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet.2019.00022 · Cited by 75 · see citing works
On Novices' Interaction with Compiler Error Messages: A Human Factors Approach
Prather, J., Pettit, R., McMurry, K. H., Peters, A., Homer, J., Simone, N., & Cohen, M. (2017) · Proceedings of the 2017 ACM Conference on International Computing Education Research · doi:10.1145/3105726.3106169 · Cited by 72 · see citing works
Feedback-Generation for Programming Exercises With GPT-4
Azaiz, I., Kiesler, N., & Strickroth, S. (2024) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/3649217.3653594 · Cited by 61 · see citing works
Large Language Models as Evaluators in Education: Verification of Feedback Consistency and Accuracy
Seo, H., Hwang, T., Jung, J., Kang, H., Namgoong, H., Lee, Y. H., & Jung, S. (2025) · Applied Sciences · doi:10.3390/app15020671 · Cited by 51 · see citing works
With great power comes great responsibility
Gert, B., Evans, N., Douglas, H., & Forge, J. (2010) · Metascience · doi:10.1007/s11016-010-9322-6 · Cited by 49 · see citing works
Large Language Models (GPT) for automating feedback on programming assignments
Pankiewicz, M., & Baker, R. S. (2023) · International Conference on Computers in Education · doi:10.58459/icce.2023.950 · Cited by 47 · see citing works
Where Has The Time Gone? Faculty Activities and Time Commitments in the Online Classroom
Mandernach, J., Hudson, S., & Wise, S. (2013) · The Journal of Educators Online · doi:10.9743/jeo.2013.2.2 · Cited by 39 · see citing works
Evaluating the Application of Large Language Models to Generate Feedback in Programming Education
Jacobs, S., & Jaschke, S. (2024) · IEEE Global Engineering Education Conference (EDUCON) · doi:10.1109/educon60312.2024.10578838 · Cited by 37 · see citing works
Reduced grading in assessment: A scoping review
Normann, D.-A., Sandvik, L. V., & Fjørtoft, H. (2023) · Teaching and Teacher Education · doi:10.1016/j.tate.2023.104336 · Cited by 35 · see citing works
BeGrading: large language models for enhanced feedback in programming education
Yousef, M., Mohamed, K. M., Medhat, W., Mohamed, E. H., Khoriba, G. A., & Arafa, T. (2024) · Neural Computing and Applications · doi:10.1007/s00521-024-10449-y · Cited by 34 · see citing works
Evaluating Language Models for Generating and Judging Programming Feedback
Koutcheme, C., Dainese, N., Sarsa, S., Hellas, A., Leinonen, J., Ashraf, S., & Denny, P. C. (2025) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3641554.3701791 · Cited by 30 · see citing works
Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programming
Alkafaween, U., Al-Bluwi, I., & Denny, P. C. (2024) · Journal of Computer Assisted Learning · doi:10.1111/jcal.13100 · Cited by 23 · see citing works
How Automated Feedback is Delivered Matters: Formative Feedback and Knowledge Transfer
Hao, Q., & Tsikerdekis, M. (2019) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie43999.2019.9028686 · Cited by 19 · see citing works
Tseng, E.-Q., Huang, P.-C., Hsu, C., Wu, P., Ku, C.-T., & Kang, Y. (2024) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata62323.2024.10825949 · Cited by 19 · see citing works
Evaluation Rubric for Computational Thinking Concepts
Avila, C., Foss, L., Bordini, A., Debacco, M. S., & Cavalheiro, S. A. D. C. (2019) · IEEE International Conference on Advanced Learning Technologies (ICALT) · doi:10.1109/icalt.2019.00089 · Cited by 11 · see citing works
Flagged first, then by citations
Research works printed but not linked: 14
- [6][6] Anishka, Atharva Mehta, Nipun Gupta, Aarav Balachandran, Dhruv Kumar, and Pankaj Jalote. 2024. Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course? arXiv:2312.07343 [cs.HC] https: //arxiv.org/abs/2312.07343 - · arXiv
- [9][9] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv:1810.04805 [cs.CL] https://arxiv.org/abs/1810.04805 - · arXiv
- [10][10] Zhiyuan Fan, Weinong Wang, Xing Wu, and Debing Zhang. 2025. SedarEval: Automated Evaluation using Self-Adaptive Rubrics. arXiv:2501.15595 [cs.CV] https://arxiv.org/abs/2501.15595 - · arXiv
- [12][12] Arto Hellas, Juho Leinonen, and Leo Leppänen. 2024. Experiences from Integrating Large Language Model Chatbots into the Classroom. arXiv:2406.04817 [cs.CY] https://arxiv.org/abs/2406.04817 - · arXiv
- [14][14] Yann Hicke, Anmol Agarwal, Qianou Ma, and Paul Denny. 2023. AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs. arXiv:2311.02775 [cs.LG] https://arxiv.org/abs/2311.02775 - · arXiv
- [22][22] Nachiket Kotalwar, Alkis Gotovos, and Adish Singla. 2025. Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation. arXiv:2406.05053 [cs.LG] https://arxiv.org/abs/2406.05053 - · arXiv
- [24][24] Mark Liffiton, Brad Sheese, Jaromir Savelka, and Paul Denny. 2023. CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classes. arXiv:2308.06921 [cs.CY] https://arxiv.org/abs/2308.06921 - · arXiv
- [26][26] Richard Lobb and Jenny Harlow. 2016. Coderunner: a tool for assessing computer programming skills. ACM Inroads 7, 1 (Feb. 2016), 47-51. https://doi.org/10. 1145/2810041 -
- [30][30] OpenAI. 2023. GPT-4 Technical Report. https://arxiv.org/abs/2303.08774v2 - · arXiv
- [37][37] Nishat Raihan, Mohammed Latif Siddiq, Joanna C. S. Santos, and Marcos Zampieri. 2024. Large Language Models in Computer Science Education: A Systematic Literature Review. arXiv:2410.16349 [cs.LG] https://arxiv.org/abs/2410.16349 - · arXiv
- [38][38] Shuo Ren, Daya Guo, Shuai Lu, Long Zhou, Shujie Liu, Duyu Tang, Neel Sundaresan, Ming Zhou, Ambrosio Blanco, and Shuai Ma. 2020. CodeBLEU: a Method for Automatic Evaluation of Code Synthesis. arXiv:2009.10297 [cs.SE] https://arxiv.org/abs/2009.10297 - · arXiv
- [41][41] Weixi Tong and Tianyi Zhang. 2024. CodeJudge: Evaluating Code Generation with Large Language Models. arXiv:2410.02184 [cs.LG] https://arxiv.org/abs/ 2410.02184 - · arXiv
- [44][44] Wenjing Xie, Juxin Niu, Chun Jason Xue, and Nan Guan. 2024. Grade Like a Human: Rethinking Automated Assessment with Large Language Models. arXiv:2405.19694 [cs.AI] https://arxiv.org/abs/2405.19694 - · arXiv
- [47][47] Terry Yue Zhuo. 2024. ICE-Score: Instructing Large Language Models to Evaluate Code. arXiv:2304.14317 [cs.AI] https://arxiv.org/abs/2304.14317 · arXiv
Cited by
Sorted by citations
Jukiewicz, M. (2026) · Computers and Education Open · doi:10.1016/j.caeo.2026.100364 · Cited by 13 · see citing works
Anghel, C., Anghel, A. A., Pecheanu, E., Șușnea, I., Cocu, A., & Istrate, A. (2025) · Informatics · doi:10.3390/informatics12030076 · Cited by 13 · see citing works
Derivation of physical equations for high-speed laser welding using large language models
Lee, K., Yu, Z., Lai, Z.-H., Geng, P., Rinker, T. J., Tan, C., Carlson, B. E., Xu, S., & Li, J. (2025) · International Journal of Machine Tools and Manufacture · doi:10.1016/j.ijmachtools.2025.104320 · Cited by 7 · see citing works
Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Education
Sahu, V., Gupta, G. R., Borikar, R., & Mane, N. G. (2025) · Joint International Conference on Data Science & Management of Data (CODS-COMAD) · doi:10.1145/3799830.3799878 · Cited by 4 · see citing works
Dritsas, E., & Τρίγκα, Μ. (2026) · Computing · doi:10.1007/s00607-026-01675-4 · Cited by 1 · see citing works
Beyond Answer Engines: LLMs as Reasoning Partners in Data Structures and Algorithms Education
Khan, S. Z., Leal, D., Valença, L., Abdellatif, A., Wang, M., Krishnamurthy, D., & Santos, R. D. S. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3786580.3786972 · Cited by 1 · see citing works
DeepResearch Bench II: Diagnosing Deep Research Agents via Rubrics from Expert Reports
Li, R., Du, M., Xu, B., Zhu, C., Wang, X., & Mao, Z. (2026) · arXiv · doi:10.48550/arxiv.2601.08536
“Rubrics designed by human experts also help ensure the consistency of LLM judge scores with human expert preferences to some extent [Pathak et al., 2025, Hashemi et al., 2024].”
Stable and Expert-Aligned Evaluation of Wargaming Strategies via Optimized LLM Scoring Agents
Yu, S., Cui, L., Liu, S., & Huang, K. (2025) · International Conference on Machine Learning and Computer Application (ICMLCA) · doi:10.1109/icmlca66850.2025.11336231
Student Perceptions of an AI-Based Assistant for Formative Feedback in Higher Education
Sotaminga-Cinilin, M. J., & Uribe-Laverde, M. Á. (2026) · EAI/Springer Innovations in Communication and Computing · doi:10.1007/978-3-032-10310-9_15
Nugroho, Y. S., Li, S. Y., Chen, X., Shao, J., & Wu, H. (2025) · International Conference on Education Technology and Computer · doi:10.1109/icetc66579.2025.11387699
Uma, S., Ghosh, S., & Mustaqim, D. D. A. (2026) · ACM International Conference on Intelligent User Interfaces (IUI) · doi:10.1145/3742413.3789130
A lightweight intelligent feedback system for student code submissions using large language models
Theeb, A., Abdullah, N. A., Fenjan, A., & Keikhosrokiani, P. (2026) · Discover Education · doi:10.1007/s44217-026-01400-5
Palani, S., & Setlur, V. (2026) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3772318.3790735
Jukiewicz, M. (2026) · Discover Artificial Intelligence · doi:10.1007/s44163-026-01324-x · Cited by 1 · see citing works
Purkayastha, P. S. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-29760-0_45
Towards Introductory Programming with ChatGPT-Assisted MTL-Based Program Visualization
Nyamawe, A. S. (2026) · Journal of Computer Languages · doi:10.1016/j.cola.2026.101425
Checklist Rubric-Driven Iterative Control for Mitigating Context Drift in Deep Research Agents
Kim, M., & Jung, Y. (2026) · The Journal of Korean Institute of Information Technology · doi:10.14801/jkiit.2026.24.6.1
Niemann, S., & Schmid, U. (2026) · International Conference on Information Technology Based Higher Education and Training (ITHET) · doi:10.1109/ithet69978.2026.11585137
Amin, A., Kothari, S., Mehta, M., Banka, K., Atreya, H., Pradeep, P., Pareek, S., Zhang, N., Hasan, K., & Li, L. (2026) · doi:10.1145/3786175.3788342
Exploring Students’ Prompt Engineering Practices and Competencies in Higher Education
Moguš, A. M., & Barišić, K. D. (2026) · International Convention on Information and Communication Technology, Electronics and Microelectronics · doi:10.1109/mipro70003.2026.11591502
Mekterović, I., Brkić, L., Tadijal, M., & Vanjak, T. (2026) · International Convention on Information and Communication Technology, Electronics and Microelectronics · doi:10.1109/mipro70003.2026.11591576
Surabhi, A. S., & Martha, S. (2026) · International Journal of Engineering and Technology Innovation · doi:10.46604/ijeti.2026.16326
Evidence-Based AI Marking for Secondary Assessment: Alignment, Bias, and Confidence AnalysisPreprint
Bryden, T. (2026) · Research Square · doi:10.21203/rs.3.rs-10595081/v1
Assessment in CS Education: A Way Forward with AI
Ternikov, A. (2026) · IT Professional · doi:10.1109/mitp.2026.3706589
Scaling Formative Feedback in Programming Education through Mastery Learning and AI
Zhang, W., & Pastorino, J. (2026) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--60396
PAV: Project-Led, AI-Permissive, and Verified Assessment for GenAI-Ready IT Education
Li, B., Zhao, L., Ye, W., Pradhan, S., & Miao, Y. (2026) · IEEE International Conference on Software Services Engineering (SSE) · doi:10.1109/sse72781.2026.00045
Zapata‐Rivera, D., Arslan, B., Forsyth, C. M., & Ober, T. M. (2026) · Springer eBooks · doi:10.1007/978-3-032-24819-0_17
Gallego, P. M. V., López-Vargas, A., Beltrán, Á. G., & Vidal, J. R. (2026) · Applied Sciences · doi:10.3390/app16189268
NormaScore: Intelligent Database Normalization Assessment Framework for DBMS Education
Ramachandran, R., Veena, G., Prasad, A., Sujitha, A., & Ravikumar, B. (2026) · Big Data and Cognitive Computing · doi:10.3390/bdcc10100343
Grading Real Coursework with a Local Language Model
Domonkos, Á., & Ekler, P. (2026) · Computers · doi:10.3390/computers15100714
Silva, F. G., de Lima, R. W., da Silva, T. R., Araujo, M. C. D. S., & Aranha, E. H. D. S. (2026) · Anais do ... Simpósio Brasileiro de Informática na Educação/Anais do Simpósio Brasileiro de Informática na Educação · doi:10.5753/sbie.2026.27915
- Authors
- Pathak, A., Gandhi, R., Uttam, V., Ramamoorthy, A., Ghosh, P., Jindal, A. R., Verma, S., Mittal, A., Ased, A., Khatri, C., Nakka, Y., Devansh, Challa, J. S., & Kumar, D.
- Affiliations
- Birla Institute of Technology and Science, Pilani (IN)
- ORCID
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2025
- Pages
- 181-195
- arXiv
- 2503.23989
- OpenAlex
- W4412781285
- Cited by
- 30
- References
- 30
- Citations by year
- 2026: 25 · 2025: 5
- FWCI
- 43.45
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- Locations
- ACM Conference on International Computing Education Research (ICER) (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- Birla Institute of Technology and Science, Pilani (N4/24/1004)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Computer Science Applications › Online Learning and Analytics
- Keywords
- automated programming assessment, student code submissions, data structures and algorithms, object-oriented programming, evaluation dataset, large language models
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review