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 3.2.0

Moodle 2.9, 3.0, 3.1, 3.2, 3.3
Released: Tuesday, 8 August 2017, 6:40 AM

Change History: Version 3.2.0 (8 August 2017)

  • Add allow_multiple_stdins option for advanced use of combinator templates. This option disables the usual behaviour of running combinator templates once for each test when any tests have standard input defined. When enabled, the combinator is given all testcases (as when standard input is not present) and must itself manage the switching of standard inputs between tests.
  • Bug fix: All-or-nothing checkbox was not labelled when using Clean theme
  • Bug fix: All-or-nothing grading was not working with per-test-case template graders - students were getting partial marks.
  • Generate a validate-on-save error message when using a combinator template grader that has a test-results table.
  • Change Runtime Error message to just Error since it's not always clear what is runtime versus compile time.
  • Change DB type of templateparams to text (was char(255)) to allow for more elaborate template parameters.
  • Use text area for template params rather than a one-line entry field in order to cater for longer multi-line template parameters
  • Update the uocprototypes.xml file in the samples directory to the latest version.
  • Incorporate style changes from Open University (thanks Mahmoud Kassaei) for improved accessibility of the Ace editor.
  • Fix bug in display of "For example" table when question has customised columns/headers.
  • Improve various tests, e.g. fork bomb.
  • Some documentation updates.

Version information

Version build number
2017072800
Version release name
3.2.0
Maturity
Stable version
MD5 Sum
8dadfe007d801bffb25b34729f056650
Supported software
Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3

Version control information

Version control system (VCS)
GIT
VCS repository URL

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