Explain Your Code: AI-Based Examination at Class Scale
David Sarne (Department of Computer Science, Bar-Ilan University, Ramat Gan, Israel), Shachar Sagi (Department of Computer Science, Bar-Ilan University, Ramat Gan, Israel),
Key points
From the paper's conclusion- These results indicate that examining students on their own code is feasible at class scale, and that its score relates to academic standing where the code quality score does not.
Abstract
Generative AI has weakened the link between working code and a student's understanding of it. Oral examination, the traditional test of that understanding, does not scale to large courses. We report the full-course deployment of a three-agent AI system that examines students on their own code. The first, the examiner, asks three questions anchored to specific lines of the submission, adapting difficulty to each answer, in a 16-minute text dialogue. The other two grade: a code reviewer that never sees the examination and a grader without direct access to the code. Authorship is assessed separately and is advisory. The system examined 247 students in an operating systems course (three exercises, 546 sittings, two examination languages). The grader's oral score was uncorrelated with the same submission's code quality score (Spearman rho = -0.073, 95% CI [-0.205, 0.063], n = 216) yet tracked degree grade point average (rho = 0.419, [0.294, 0.523], n = 214), while automated test scores sat at the ceiling. The mean of a student's two oral scores correlated with grade point average at 0.468 ([0.353, 0.568], n = 210), within the range of grades in three single-semester courses built on programming assignments. Model spend averaged at most $1.37 per sitting. In surveys, students began skeptical of the AI examination and rated it more favorably after sitting it twice. These results indicate that examining students on their own code is feasible at class scale, and that its score relates to academic standing where the code quality score does not.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A multifactor model for assessing programming knowledge based on the synchronization of AI analytics and expert evaluationFrontiers in Education · 2026
- Reliability of Claude Code as an Agentic AI Grading System for Handwritten University ExamsarXiv · 2026
- Scalable Conversational Assessment: Chat-Based Exams with a Two-Agent LLM PipelinearXiv · 2026
- AI- vs Human-Based Assessment of Medical Interview Transcripts in a Generative AI–Simulated Patient System: Cross-Sectional Validation StudyJMIR Medical Education · 2025
- A benchmark dataset with human validation for AI-assisted technical answer evaluationDiscover Education · 2026
- ProofPaths: An AI Agent Framework for Assessing Student ReasoningarXiv · 2026