My summer programming binge was shorter than usual due to holidays and other work pressures. However, I have implemented a few new CodeRunner features as follows:
- A graph question type that allows you to set questions to
which the answer is a graph that the student can draw directly
into the answer box. This supports FSMs, directed graphs and
undirected graphs. See below for a screenshot. Thanks to Emily Price (UCan) for the initial
prototype version of this.
- A multilanguage question type that allows you to ask a "Write a program" type of question which the student can answer in C, C++, Java or Python3. Other languages could be added if required.
- An SQL question type that allows you to set questions that
require SQL answers (but restricted to the sqlite3 dialect).
Thanks to Trent Lewis (Monash Uni).
- Programs can now output non-ASCII UTF-8 characters. However, this only works with the latest version of Jobe (version 1.4.0) and if the Apache LANG environment variable is set to a UTF-8 locale. See the Jobe installation instructions for details.
- A question can be customised to use a different Jobe sandbox from normal, allowing for load balancing and specialist Jobe servers (e.g. for a language not supported by the production Jobe server).
- The question authoring UI now allows one-click correction of
test cases that fail during "Validate on save" (assuming the
sample answer is correct - caveat emptor). Thanks Andrei Bautu
- PHP and Python scripts are now available to download and analyse all submissions to a quiz, rather than just the final one by each student.
- Various bug fixes and improvements to combinator template
There are a couple of issues I'm aware of with the new version, but apparently they've both been present for years:
- User-resizing of the user interface input fields doesn't work with IE or
I already have used the latest jobe-version when i was setting up our new jobe server. The new Version of testsubmit.py runs without errors (I set the LANG variable in apache2 to "de-DE.UTF-8" in /etc/apache2/envars.
note: it was the line Export LANG=C on my Ubuntu 16.04 Installation, not just LANG=C as described on github.com/trampgeek/jobe
Now I would like to test coderunner 3.30 with new jobe version.
Yet I am not sure how to update the plugin inside Moodle for I do not have shell-access to our Moodle-Server.
I know, that there is a mechanism to get informed about plugin updates.
Settings >> Site Admin >> Server >> Update Notifications and Check “Enable updates deployment”
The Moodle Manual says:
Then, whenever you visit the Plugins Overview page, you will see the “Install this update” button besides any plugin for which an updated package is available.
Moreover, the current plugin code will be backed up as an archive in the moodledata/mdeploy/archive/ directory to keep your tweaks in the plugin code.
This way i would be able to update the plugin inside Moodle.
But if I do so, i do not see the "Install this update", although i set "updateminmaturity" to "Release Candidate".
I guess this is a matter of your release candidate not being published on the Location, moodle looks for updates.
I can download the .zip file from github. But what will happen if i simply install this like a new plugin??
Or will I have to uninstall the old coderunner plugin and reinstall the latest one? Will my quizes get lost this way? Do i mess up something this way?
Thanks for pointing out the error in the Jobe documentation on setting the locale - fixed now. And thanks for offering to check out CodeRunner 3.3.0. However, without ssh access this is probably not practicable. I'm not sure what happens if you try to install a zip of a different branch of a plugin that's already installed. Safer not to try, I think. And nor can you (easily) uninstall CodeRunner.
You can be an early tester when I merge it into the master branch and push it out to github and to the Moodle plugin repository. Hopefully by the end of next week.