Commit 297219e
fix(autograde): clearer message when no auto-gradable questions exist
For MCQ-only assignments canAutoGrade is false because gradableCount==0,
but missingModelAnswers is also 0 — so the warning rendered as "0
question(s) missing model answers", which is wrong and confusing. Show
"No auto-gradable questions" in that branch instead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b4409ad commit 297219e
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| |||
0 commit comments