CodeRunner

Question types ::: qtype_coderunner
Maintained by Richard Lobb, TimTim Hunt
A question type that allows question authors to set programming questions in which the student answer is code in some programming language, which is graded by running it. More generally it can handle any question to which the answer is text that can be graded by a computer program written by the question author.

CodeRunner 5.5.0

Moodle 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Released: Friday, 24 January 2025, 7:12 AM

CodeRunner

Version: 5.5.0+ January , 2025. Requires MOODLE V4.0 or later. Earlier versions of Moodle must use CodeRunner V4.

Authors: Richard Lobb, University of Canterbury, New Zealand. Tim Hunt, The Open University, UK.

For full documentation of this plugin, see here.

NOTE: A few sample quizzes containing example CodeRunner questions are available at coderunner.org.nz.. There's also a forum there, where you can post CodeRunner questions, such as requests for help if things go wrong, or are looking for ideas on how to write some unusual question type.

Release Notes

24 January 2025 5.5.0+

New features

5 January 2025 5.5.0

New features

  • Question authoring form styling changed to match other question types.

Bug fixes

  • Combinator grader templates using the html_wrapper were causing deserialization errors with Moodle systems using pgsql.
  • Use of a sandbox-language preprocessor (i.e. not Twig) was not respecting any specific sandbox parameters set within the question.
  • Some language strings relating to the experimental CodeRunner runs-cache were missing.
  • Bulk tester was displaying count of CodeRunner questions including all versions, not just the counts of the final versions.
  • Bulk tester was giving "session mutated after closing" PHP warnings in Moodle 4.5.

Version information

Version build number
2025010200
Version release name
5.5.0
Maturity
Stable version
MD5 Sum
7fc45ae34c1712ad9d27a5556622d093
Supported software
Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v5.5.0

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation