Commit 39d527d
fix(exams): add missing columns for AI grading
exam_questions was missing points, correct_answer, and grading_rubric
columns that gradeExamWithAI queries. Without them the select fails and
grading silently returns "Exam not found". Also adds evaluated_at to
exam_submissions for the save_exam_feedback RPC.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 20d66bb commit 39d527d
1 file changed
Lines changed: 23 additions & 0 deletions
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments