how do get question specific code installed and usable from a grading template

Re: how do get question specific code installed and usable from a grading template

by Jim Newton -
Number of replies: 2

Thanks for the answer.  

But there is still something even more confusing now than before.   Is it really the responsibility of the question author to install a Jobe server?   That was not clear in the documentation either.  It seems to me that asking question authors to set up the CodeRunner system requires them to have access to the Moodle machine which they do not have.  Typically (at least at our school) it is the system administrator who sets up the moodle and who has made CodeRunner available.  The professors who are creating courses and quizzes do not have access to that installation.

In reply to Jim Newton

Re: how do get question specific code installed and usable from a grading template

by Tim Hunt -

The question author is not expected to install Jobe.

The system adminstrator who set up Moodle and mode CodeRunner avaialable should have installed Jobe as part of installing CodeRunner. (However, Most Moodel plugins don't require you to install extra bits, just the plugin, so it is an understandable mistake for someone to make.)

By the way, Richard, I noticed this docs page start to be authored: https://docs.moodle.org/dev/Check_API. I think this is something they are working on for Moodle 3.9. Anyway, in future, this might be the best way to check that Jobe in configured when people install CodeRunner.

In reply to Tim Hunt

Re: how do get question specific code installed and usable from a grading template

by Jim Newton -

@Tim Hunt, One example of what I want to do its to check Scala Code which my students will have submitted via an attached file.   Someone must install Scala and the associated libraries.  I am under the hope that I can ask my system administrator to do this.  I am hoping that I am not required to build a Jobe with all my Scala installation installed.