Moodle Plugins directory: CodeRunner: Versions: 5.5.0 | Moodle.org

CodeRunner
Question types ::: qtype_coderunner
Maintained by
Richard Lobb,
Tim 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
Code prechecks
overview
phplint
phpcs1096 | 349
js0 | 534
css
phpdoc60 | 0
savepoint
thirdparty
grunt1 | 0
shifter
mustache
gherkin
HTML | XMLCodeRunner
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
- Added a folder of unsupported question types.
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
- Latest release for Moodle 4.0
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- The more recent release 5.7.2+ (2025081500) exists for Moodle 4.3
- The more recent release 5.7.2+ (2025081500) exists for Moodle 4.4
- The more recent release 5.7.2+ (2025081500) exists for 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
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
- Visit http://yoursite.com/admin to finish the installation