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 4.2.3

Moodle 3.8, 3.9, 3.10, 3.11
Released: Friday, 25 March 2022, 10:25 AM

CodeRunner

Version: 4.2.3 February 2022

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

NOTE: Full documentation, change history and 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.

Changes since version 4.1.1

  • New experimental web service added that allows AJAX access to the CodeRunner sandbox (usually Jobe). Disabled by default. Supports the new ace_inline filter that allows embedding of syntax-coloured editable and runnable code in any Moodle page. The web service is disabled by default and must be enabled by a system administrator in order to use the new filter.
  • Specific capability (qtype/coderunner:viewhiddentestcases) added for viewing hidden test cases (default to existing built-in moodle/grade:viewhidden). Thanks Tim Hunt.
  • A new field prototypeextra allows question authors to define extra data that belongs to a question prototype rather than to a particular question (c.f. globalextra).
  • The HTML-UI can be configured to take the HTML source from the new prototypeextra rather than from globalextra, which greatly simplies defining new question types that use HTML-UI.
  • Minor tweaks to HTML UI error handling.

Version information

Version build number
2022022300
Version release name
4.2.3
Maturity
Stable version
MD5 Sum
b61485bcebc87156c3278c255b6831d4
Supported software
Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
MOODLE_3X_STABLE
VCS tag
v4.2.3

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