Number int64 1 1.04k | TA_1_ID stringclasses 27
values | TA_2_ID stringclasses 25
values | TA 1 - Q1 Grade float64 -1 29.4 | TA 1 - Q2 Grade float64 0 17 | TA 1 - Q3 Grade float64 0 25 | TA 1 - Total Grade float64 0 68.4 | TA 2 - Q1 Grade float64 -1.5 28 | TA 2 - Q2 Grade float64 0 17 | TA 2 - Q3 Grade float64 0 24 | TA 2 - Total Grade float64 -1.5 64.5 | Average Grade float64 -0.25 63.5 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1 | TA_1 | TA_2 | 3 | 0 | 2 | 5 | 7 | 0 | 2 | 9 | 7 |
2 | TA_1 | TA_2 | 1 | 0 | 0 | 1 | 1.5 | 0 | 0 | 1.5 | 1.25 |
3 | TA_1 | TA_2 | 2 | 0 | 2 | 4 | 2.5 | 0 | 2 | 4.5 | 4.25 |
4 | TA_1 | TA_2 | 6 | 9 | 5 | 20 | 4.5 | 5.5 | 5.5 | 15.5 | 17.75 |
5 | TA_1 | TA_2 | 8 | 0 | 0 | 8 | 9 | 0 | 0 | 9 | 8.5 |
6 | TA_1 | TA_2 | 14 | 0 | 2 | 16 | 15 | 0 | 2 | 17 | 16.5 |
7 | TA_1 | TA_2 | 1.5 | 0 | 0 | 1.5 | 5 | 0 | 0 | 5 | 3.25 |
8 | TA_1 | TA_2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
9 | TA_1 | TA_2 | 4.5 | 1 | 2.5 | 8 | 2.5 | 6 | 3.5 | 12 | 10 |
10 | TA_1 | TA_2 | 15 | 16 | 21 | 52 | 21 | 17 | 22 | 60 | 56 |
11 | TA_1 | TA_2 | 3 | 9 | 0 | 12 | 4 | 8 | 0 | 12 | 12 |
12 | TA_1 | TA_2 | 1.5 | 3.5 | 1.5 | 6.5 | -0.5 | 2.5 | 3 | 5 | 5.75 |
13 | TA_1 | TA_2 | 8 | 2.25 | 3 | 13.25 | 7.5 | 3.5 | 3.5 | 14.5 | 13.875 |
14 | TA_1 | TA_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2 | 8.5 | 0 | 4 | 12.5 | 13.5 | 2 | 5.5 | 21 | 16.75 |
33 | TA_1 | TA_2 | 10.5 | 0 | 0 | 10.5 | 13.5 | 0 | 0 | 13.5 | 12 |
34 | TA_1 | TA_2 | 3 | 0 | 0 | 3 | 3 | 0 | 0 | 3 | 3 |
35 | TA_1 | TA_2 | 1.5 | 0 | 0 | 1.5 | 2 | 0 | 0 | 2 | 1.75 |
36 | TA_1 | TA_2 | 1 | 0 | 0 | 1 | -1.5 | 0 | 0 | -1.5 | -0.25 |
37 | TA_1 | TA_2 | 0 | 2 | 0 | 2 | -1 | 1.5 | 0 | 0.5 | 1.25 |
38 | TA_1 | TA_2 | 12 | 0 | 6 | 18 | 13.5 | 0 | 5.5 | 19 | 18.5 |
39 | TA_1 | TA_2 | 5 | 0 | 0 | 5 | 11 | 0 | 0 | 11 | 8 |
40 | TA_1 | TA_2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
41 | TA_1 | TA_2 | 1.5 | 4 | 3.5 | 9 | 5.5 | 4.5 | 4.5 | 14.5 | 11.75 |
42 | TA_1 | TA_2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
43 | TA_1 | TA_2 | 1 | 0 | 0 | 1 | 0.5 | 0 | 0 | 0.5 | 0.75 |
44 | TA_3 | TA_4 | 7 | 8.25 | 3 | 18.25 | 9 | 8 | 2 | 19 | 18.625 |
45 | TA_3 | TA_4 | 4 | 2.5 | 5 | 11.5 | 6 | 2.75 | 4.5 | 13.25 | 12.375 |
46 | TA_3 | TA_4 | 2 | 8.75 | 2 | 12.75 | 3 | 7.75 | 2 | 12.75 | 12.75 |
47 | TA_3 | TA_4 | 2 | 8.75 | 4.25 | 15 | 2.2 | 7.5 | 4 | 13.7 | 14.35 |
48 | TA_3 | TA_4 | 10 | 6.75 | 4.5 | 21.25 | 9.5 | 6.5 | 5 | 21 | 21.125 |
49 | TA_3 | TA_4 | 6 | 9.75 | 5.5 | 21.25 | 5.5 | 9 | 7 | 21.5 | 21.375 |
50 | TA_3 | TA_4 | 7.5 | 2.75 | 0 | 10.25 | 11.2 | 3.5 | 0 | 14.7 | 12.475 |
51 | TA_3 | TA_4 | 11 | 0.75 | 0 | 11.75 | 10.5 | 3 | 0 | 13.5 | 12.625 |
52 | TA_3 | TA_4 | 9 | 0 | 4.25 | 13.25 | 7 | 0 | 3 | 10 | 11.625 |
53 | TA_3 | TA_4 | 3 | 2.75 | 2 | 7.75 | 4 | 4 | 2 | 10 | 8.875 |
54 | TA_3 | TA_4 | 10.5 | 0 | 0 | 10.5 | 10.5 | 0 | 0 | 10.5 | 10.5 |
55 | TA_3 | TA_4 | 10 | 7.75 | 10 | 27.75 | 14 | 7.25 | 7 | 28.25 | 28 |
56 | TA_3 | TA_4 | 21 | 17 | 20 | 58 | 20.5 | 17 | 19.25 | 56.75 | 57.375 |
57 | TA_3 | TA_4 | 11 | 8.5 | 8.5 | 28 | 6.5 | 9.5 | 6.25 | 22.25 | 25.125 |
58 | TA_3 | TA_4 | 9.5 | 9.5 | 4.5 | 23.5 | 10 | 9.5 | 5 | 24.5 | 24 |
59 | TA_3 | TA_4 | 4 | 9 | 8.25 | 21.25 | 4.5 | 11 | 9 | 24.5 | 22.875 |
60 | TA_3 | TA_4 | 20 | 16.25 | 21.5 | 57.75 | 20 | 15 | 19.75 | 54.75 | 56.25 |
61 | TA_3 | TA_4 | 22 | 15 | 22 | 59 | 20 | 16 | 19.5 | 55.5 | 57.25 |
62 | TA_3 | TA_4 | 7 | 9.5 | 7.5 | 24 | 14.25 | 9.5 | 8 | 31.75 | 27.875 |
63 | TA_3 | TA_4 | 6.5 | 9.25 | 7.5 | 23.25 | 7.15 | 9.25 | 5 | 21.4 | 22.325 |
64 | TA_3 | TA_4 | 10.5 | 11.5 | 5 | 27 | 12.5 | 10.5 | 2 | 25 | 26 |
65 | TA_3 | TA_4 | 8.5 | 13 | 2 | 23.5 | 12 | 12.5 | 2 | 26.5 | 25 |
66 | TA_3 | TA_4 | 25 | 0 | 0 | 25 | 20 | 0 | 0 | 20 | 22.5 |
67 | TA_3 | TA_4 | 8.5 | 0 | 8.5 | 17 | 10 | 0 | 6.5 | 16.5 | 16.75 |
68 | TA_3 | TA_4 | 5.5 | 6.5 | 4.5 | 16.5 | 4.9 | 6.5 | 4.5 | 15.9 | 16.2 |
69 | TA_3 | TA_4 | 8.5 | 0 | 2 | 10.5 | 10 | 0 | 2 | 12 | 11.25 |
70 | TA_3 | TA_4 | 20 | 17 | 18 | 55 | 20 | 17 | 15 | 52 | 53.5 |
71 | TA_3 | TA_4 | 0 | 4.25 | 0 | 4.25 | 2.5 | 4.5 | 0 | 7 | 5.625 |
72 | TA_3 | TA_4 | 16.5 | 0 | 5 | 21.5 | 19.35 | 0 | 5.5 | 24.85 | 23.175 |
73 | TA_3 | TA_4 | 1.5 | 3 | 1 | 5.5 | 1.5 | 3.5 | 2.5 | 7.5 | 6.5 |
74 | TA_3 | TA_4 | 4 | 10.5 | 3.75 | 18.25 | 6.3 | 10.5 | 3 | 19.8 | 19.025 |
75 | TA_3 | TA_4 | 11 | 0 | 4 | 15 | 10.4 | 0 | 4 | 14.4 | 14.7 |
76 | TA_3 | TA_4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
77 | TA_3 | TA_4 | 6 | 0 | 0 | 6 | 5.5 | 0 | 0 | 5.5 | 5.75 |
78 | TA_3 | TA_4 | 6 | 6.5 | 0 | 12.5 | 6.5 | 5.5 | 2 | 14 | 13.25 |
79 | TA_3 | TA_4 | 9.5 | 3.5 | 8 | 21 | 10.5 | 3 | 7.25 | 20.75 | 20.875 |
80 | TA_3 | TA_4 | 5 | 4.25 | 4.5 | 13.75 | 5.3 | 5.5 | 4 | 14.8 | 14.275 |
81 | TA_3 | TA_4 | 22 | 17 | 16.25 | 55.25 | 22 | 17 | 15.75 | 54.75 | 55 |
82 | TA_3 | TA_4 | 14 | 15 | 17.25 | 46.25 | 15.15 | 15.9 | 15.55 | 46.6 | 46.425 |
83 | TA_3 | TA_4 | 4 | 0.5 | 6 | 10.5 | 5.3 | 1 | 5.5 | 11.8 | 11.15 |
84 | TA_3 | TA_4 | 6 | 0 | 0 | 6 | 3.75 | 0 | 0 | 3.75 | 4.875 |
85 | TA_3 | TA_4 | 9.5 | 10.5 | 3.75 | 23.75 | 6.2 | 10.5 | 3 | 19.7 | 21.725 |
86 | TA_3 | TA_4 | 10 | 11 | 6.75 | 27.75 | 12 | 10.75 | 7.5 | 30.25 | 29 |
87 | TA_3 | TA_4 | 0.5 | 0 | 2 | 2.5 | 1.2 | 0 | 2 | 3.2 | 2.85 |
88 | TA_3 | TA_4 | 20 | 10.5 | 5.75 | 36.25 | 21 | 8.75 | 5.5 | 35.25 | 35.75 |
89 | TA_5 | TA_6 | 4 | 10.5 | 9.5 | 24 | 2.5 | 10 | 8.75 | 21.25 | 22.625 |
90 | TA_5 | TA_6 | 0.5 | 0 | 0 | 0.5 | 2.75 | 0 | 3.5 | 6.25 | 3.375 |
91 | TA_5 | TA_6 | 13 | 3 | 2 | 18 | 15 | 3.5 | 2 | 20.5 | 19.25 |
92 | TA_5 | TA_6 | 1 | 5 | 1.25 | 7.25 | 5.75 | 6 | 2.5 | 14.25 | 10.75 |
93 | TA_5 | TA_6 | 7 | 2 | 2 | 11 | 9 | 2 | 2 | 13 | 12 |
94 | TA_5 | TA_6 | 13.5 | 9 | 0 | 22.5 | 16 | 7.5 | 0 | 23.5 | 23 |
95 | TA_5 | TA_6 | 11 | 2 | 5.25 | 18.25 | 11 | 2 | 5.5 | 18.5 | 18.375 |
96 | TA_5 | TA_6 | 3 | 0 | 3 | 6 | 6 | 0.5 | 3 | 9.5 | 7.75 |
97 | TA_5 | TA_6 | 3.25 | 0 | 0 | 3.25 | 3 | 0 | 0 | 3 | 3.125 |
98 | TA_5 | TA_6 | 3 | 8.5 | 4 | 15.5 | 5.5 | 9 | 4.25 | 18.75 | 17.125 |
99 | TA_5 | TA_6 | 20 | 16 | 17.5 | 53.5 | 20.5 | 16.75 | 19.25 | 56.5 | 55 |
100 | TA_5 | TA_6 | 6 | 7 | 5.5 | 18.5 | 5.5 | 6.5 | 5.5 | 17.5 | 18 |
Introduction to AI — Practical Exam Grading Dataset (Stage 2)
1,038 anonymized student submissions to a university-level practical AI exam, each independently graded by two teaching assistants, plus the rubric and the instructor reference solutions.
It is the second exam of Where LLM Graders Succeed and Break: Evidence from
Two Computer-Science Exams. The paper's 162 grader configurations on this
exam, the graders that produced them and the analysis code live in the project
repository, alongside the Computer Vision exam
(KAUSTAcademy/AutoGrader_Computer_Vision); this folder is the data itself.
The dataset was built to test how sensitive LLM graders are to the prompt they are given — specifically, what happens when an instructor adds a plausible "be strict" instruction to an otherwise well-behaved grading prompt.
What is here
| path | contents |
|---|---|
Practical_AI_exam_grades.csv |
ground truth: two TA grades per student, per question and total |
submissions_extracted/<n>/Q{1,2,3}.ipynb |
the anonymized student notebooks |
Solutions/ |
instructor reference solution per question |
stage_2_rubrics_ta.md |
the marking scheme the TAs graded against |
few_shot_examples.json |
two worked examples per question for the few-shot runs (IG18, IA201): student code with the IG08 model's (gemini-3.1-pro-preview) score, bonus and reasoning, not TA marks |
Students are identified only by a number (1–1038) that is stable across every
file. Notebook submissions_extracted/2/Q2.ipynb belongs to the student in row
Number == 2 of the grades CSV.
The exam and its scale
Three questions: Q1 tabular regression (predict food delivery time), Q2 PyTorch (predict age from face images), Q3 classification (find the most predictive feature in an anonymized dataset).
Marks come from the rubric's task tables, not its header totals — the two
disagree in the distributed PDF, which is preserved here as stage_2_rubrics_ta.md:
| question | base | bonus |
|---|---|---|
| Q1 Regression | 23 | 3 |
| Q2 PyTorch | 14 | 3 |
| Q3 Classification | 19 | 3 |
Two instructor corrections were issued by email during grading, both affecting Q3 only (Part 1 dropped a task and became 2 marks; Part 4 dropped a task and became 5). Both are folded into the rubric file and marked ⚠.
Ground truth quality
Every student is graded by two TAs, so the dataset carries its own noise floor:
| statistic | value |
|---|---|
| floor: TA-vs-TA mean absolute difference (totals) | 5.13 (95% bootstrap CI 4.80–5.48) |
| inter-TA correlation (totals) | 0.871 |
The floor is ~8% of the ~65-point scale. An AI grader's mean absolute error against the TA average is read against 5.13, the distance between the two TAs, not against zero.
Anonymization
Student names, ID numbers, emails, and submission links are absent. Notebooks
were rebuilt from scratch keeping only code cells: markdown cells, outputs,
execution counts, and all per-cell metadata were dropped, so Colab
executionInfo blocks (which embed a Google account name and user id) do not
survive. Remaining identifiers inside code — names in variable names or
comments, emails, ID numbers, phone numbers, filesystem usernames — were
replaced with ANON (identifier-safe) or [REDACTED]. One identifier is kept on
purpose: the exam-data download line in the notebooks, the solutions and
few_shot_examples.json names the course's Kaggle dataset (its owner's handle and
the q{1,2,3}-ka-ai-2026 slugs), because that is the text the published runs graded.
Scrubbing was verified two ways: an exhaustive scan against the full roster (every student and TA name, email and ID, plus generic email/ID/phone patterns and notebook-format regressions), and an LLM review of all ~25k comment and string literals looking for identifiers the roster could not know about. The second pass is what caught a reference to an instructor by first name and one student who had loaded the exam data from a personal account.
TAs appear only as pseudonyms (TA_1, TA_2, …). One slot carries the
composite id TA_49+TA_50: two TAs share that slot, which covers 18 students. The pseudonym-to-person mapping is not published, so grading
behaviour cannot be attributed to any individual.
The grader in the project repository is the script that produced the published runs, prompt included, and the notebooks here are the ones it graded.
Known gaps, stated plainly
- 24 students from the original cohort are absent: they uploaded nothing, an unreadable archive, or files that were not the exam. The remaining 1,038 are numbered contiguously.
- 75 students are missing a notebook for at least one question (96 notebooks in
all: 4 for Q1, 44 for Q2, 48 for Q3) — they did not submit that question. An
absent
Q<n>.ipynbmeans exactly that, and the grading code scores it 0. - The rubric's header totals contradict its own task tables in all three questions. This is preserved rather than corrected; it is part of what a real grading prompt has to cope with.
- 29 TA per-question grades (on 27 students) exceed the question's maximum including bonus (Q1 26, Q2 17, Q3 22), and one TA total (68.45) exceeds 65.
- Two TA grades awarded credit for a question the student never submitted (8.0 and 10.0, each contradicted by the paired TA's 0). Both were set to 0 and the totals recomputed: ground truth that credits work no grader can see would penalise every grader, human or machine.
- Nine rows record 0.0 for exactly one TA while the paired TA awarded real marks: ungraded slots stored as zeros. They are kept; without them the floor is 5.09 (95% CI 4.76–5.42) instead of 5.13, and no conclusion in the paper changes. A further nine rows carry 0.0 from both TAs: their notebooks are the blank exam template or nearly so, so these are genuine zero-mark papers, not recording errors.
The LLM runs
The paper grades this exam with 162 configurations: 132 over 17 open-weights
models and 30 with closed models (23 Gemini, 6 OpenAI, 1 Anthropic), one
workbook per configuration in the project repository's
introduction_to_ai_results/results/, holding the AI score, bonus and reasoning per
question alongside the TA columns. The core comparison runs every open-weights
model twice over the full cohort with an identical prompt except for its
leading persona preamble:
- neutral — "You are a strict but fair teaching assistant."
- strict — "You are a HARSH teaching assistant. Award the MINIMUM defensible score for any task that is incomplete, buggy, or deviates from the rubric. Never give partial credit if the task does not run correctly."
Everything else is held fixed: reference solution included, per-task breakdown
requested, no chain-of-thought, temperature 0, one sample per question. The
other personas are STRICTNESS_PRESETS in introduction_to_ai_grade_with_local.py,
and build_prompt() in the same file assembles the full prompt around them.
behaviour classes: refusal (≥90% of students zeroed, awarded-total std
< 0.5), near-refusal (≥90% zeroed but still varying), collapse (MAE ≥ 15.7,
i.e. 3.07× this exam's floor, the multiple the Computer Vision exam's MAE ≥ 8
fixes, while still discriminating between students), graded otherwise.
Reproducing
The grading and analysis code lives in the project repository, which expects
this folder at introduction_to_ai_dataset/ beside it:
# serve a model with vLLM, then:
python introduction_to_ai_grade_with_local.py --all \
--model <hf-model-id> --api-base http://localhost:8000/v1 \
--max-output-tokens 8192 \
--with-solution --no-reasoning --with-breakdown \
--strictness strict --temperature 0.0 --runs 1 \
--tag IA02_m-<model_tag>_sol1_gd0_rs0_bd1_str-strict_t00_n1
python analysis/introduction_to_ai_run_analysis.py # MAE, CI, behaviour class per run
introduction_to_ai_submit_persona_sweep.sbatch is the SLURM launcher: an
array job, one task per persona (--array=0,1 gives the neutral+strict pair).
STUDENTS=1-5 turns it into a smoke run that writes to
introduction_to_ai_results/smoke/ instead of results/ and leaves the run
tracker alone.
Never point two runs at one output workbook — the grader holds the whole
workbook in memory and rewrites it after every question, so two writers
silently destroy each other's grades.
The published runs used vLLM 0.19.1. Grading is not bitwise reproducible: generation is unconstrained, and JSON is parsed leniently.
Licence and intended use
Released under CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0 International): use, share and adapt it for non-commercial purposes with credit to the source. The student work was contributed with the course instructors' permission and is released for research on automated grading. Do not attempt to re-identify students or TAs.
Citation
@misc{habibullah2026llmgraderssucceedbreak,
title={Where LLM Graders Succeed and Break: Evidence from Two Computer-Science Exams},
author={Ali Habibullah and Yazan Alshoibi and Mohammad Alshiekh and Salman Khan and Naeemullah Khan},
year={2026},
eprint={2609.29333},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2609.29333},
}
- Downloads last month
- 175