Hi folks,
Bit of a weird one, and it's happened for two students in our M250 Computing exam over three years now (800-900 student a year = 2/~2500 students affected rate). But it's non-reproducible.
I'm having to be very mindful of not accidently sharing student info, so I can't share a nice explanatory screencast.
Essentially, we occasionally get a student write something invalid, but rather than a validation error, we (staff) get:

(Which we interpret as Jobe was down/busy at the time of the regrade).
But the student sees the following when reviewing their attempt:

Which is closer to "Your answer was invalid", but because it's an exam (Deferred Feedback behaviour for the quiz, 'Check' button disabled for CodeRunner questions in the quiz), it caused the more recent student to panic as they thought the human exam marker was disregarding it, so that led to a complaint.
Anyway, if we try to reproduce it on a test server, we instead get this as staff:

The question itself (running /question/type/coderunner/questiontestrun.php?cmid=N&questionid=N) is valid.
Regrading the question doesn't do anything to the initial staff error message.
Because we initially felt that the data was cached/stuck, we re-ran a regrade for this student on the question again after the 14-day data clear, but it came back with the same error.
We also tried /question/type/coderunner/management.php and running Runs-Cache purge, to force through any cached data.
So now we're wondering if it's perhaps a bug in the feedback or CodeRunner needs more precise error messages. But we're not 100% sure.
We don't think we should end up with three different outputs: for staff on the live server, the student on the live server, and the staff view on our test server.
Would be grateful for any thoughts here!
Versions
- CodeRunner: 2026041301
- Moodle: 5.1.4