Moodle Plugins directory: CodeRunner: Versions: 5.7.2+ | 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.7.2+
Moodle 4.3, 4.4, 4.5, 5.0
Released: Tuesday, 19 August 2025, 10:32 AM
Code prechecks
overview
phplint
phpcs2013 | 439
js0 | 539
css4 | 0
phpdoc74 | 0
savepoint
thirdparty
grunt1 | 1
shifter
mustache
gherkin2 | 0
HTML | XMLCodeRunner
Version: 5.7.1+ May 26, 2025. Requires MOODLE V4.3 or later + PHP >=8.1. 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 Version 5.7.2+ August 19, 2025.
- Updates to grade caching.
- Scheduled task purges old cache entries automatically (only if using FileStore)
- Manual grade-cache cleaner available (script cachepurgeindex.php)
- Fix for issue #261 Unsupported modification of PAGE->context
- Extended bulk-tester capabilites
- Works with question banks in Moodle 5
- Can run multiple tests for each question (helps with randomised questions)
- Can optionally disable grade cache
- Improved output including timings
- Fix for issue #254 The presence of a CodeRunner question in the course's question bank causes the duplication of quizzes to fail.
- Fix for issues #246/#258 Cache cleaner task failed because of use of redis
- Fix for issue #260 When you navigate to the ace editor with keyboard using tab, the screen reader does not state that you are on the editor clearly.
Version information
- Version build number
- 2025081500
- Version release name
- 5.7.2+
- Maturity
- Stable version
- MD5 Sum
- 4c878d7fc71ab57c3f6a81331ced242c
- Supported software
- Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
- Latest release for Moodle 5.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- v5.7.2+
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