Question Authors' Forum
Should students be penalised when the JOBE server is offline?
At least students should be informed, if CodeRunner (to be exact: the jobe server) is online and working correctly.
For this reason I put a java script into the announcements of my Moodle course:
Moreover it would be better to integrate such a green/red light into the CodeRunner plugin itself.
I agree that the student shouldn't be penalised if the Jobe server is down, although I would also hope that such a situation is very rare. I can't recall any unplanning jobe outages on our production server for some years.
I thought I had dealt with the problem Tim raised, at least to the point of ensuring students don't get penalised. I just did a bit of brief testing and here's what I found:
- If the question type (or a customised version of it) explicitly specifies in the Advanced Customisation section that the sandbox to use is jobesandbox, then if the Jobe server doesn't respond the student should see the something like the following, and they should not be penalised.
- If instead the sandbox is specified as DEFAULT then things are not so pretty. CodeRunner attempts to ask each sandbox in turn what languages it supports, in order to find the first sandbox that works with the current language. [Historically CodeRunner had several different sandboxes available, but Jobe has now replaced all but the deprecated IdeoneSandbox]. If the Jobe sandbox fails to respond to that request, an exception is thrown. This results in somewhat ugly output, but it shouldn't result in penalising the student.
So ... are students actually been penalised when your Jobe server is down, Martin? If so, can you clarify exactly what error messages are being generated. I'm also curious to know why you're having issues with the Jobe server - is this something I should know about it? I haven't heard of any significant stability issues with it.
There have been no unexpected outages (save the time in my holidays, when I shut down the server, that's located in my home office by now consuming my privately paid electricity :-) ).
I will move the jobe server to our school now, when school starts again.
But there may be times, the jobe will be down or not reachable, e.g. the DSL-wire or the router/proxy in our school gets stuck or the mains is down for electricians working on the installations or the DDNS service has issues.
There may also be situations, when I shut down the server myself expecting no student to use my courses at the moment, but some do use them anyway - who knows (hope dies last).
I know, that if you select jobe as the sandbox, the red message "Unexpected error..." is displayed. But it appears after the student has tried to check in his solution. He could be disappointed or frustrated this way. Better if he knows the outage before and does not try.
(Also I'm not sure, if my students will really read or understand the english message...)
That's why I created the small script (messages are German)
If jobe responds:
If connection fails: