CodeRunner icon

CodeRunner

Maintained by Tim Hunt, Richard Lobb
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.
Price option: Free

Supports Moodle 2.9-5.2 See all versions
Latest release: 1 month ago
Installations: 4170
Downloads (last 90 days): 1317

Frankenstyle name: qtype_coderunner
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Typescript is not available out of the box. But you can implement any language (provided it runs on Linux) with a bit of Python scripting. See https://github.com/trampgeek/moodle-qtype_coderunner#supporting-or-implementing-new-languages. However, you are restricted to asking questions that can run in a batch mode, unless you go to a lot of effort hooking into some sort of GUI testing framework.
good afternoon can i use typescript instead of javascript in coderunner
See https://moodle.org/plugins/browse.php?list=set&id=95. It lets you embed questions anywhere. They are "scored" in the sense that the code is marked whenever the student clicks Check. And if you install the "Embedded questions progress" member of the set the teacher can monitor progress. But marks aren't entered into the gradebook.
Hello Authors.
Is there some ways to run a code runner question outside of a quiz and have your answer scored?
For example, running a code runner question on H5P?
Just wanted to say a quick Thanks to the team ! This is incredible and is going to save us so much manual marking of work.
Thanks for maintaining this and making it a thing!
Hello there,
Then why Moodle allow to install coderunner as compatible with Moodle 4.0 ?
I installed it, but it doesn't show in activities list...
Do you plan to repair this issue, please ?
I downloaded from github page too, but it's the same, it doesn't show in activities list...
Thanks in advance, regards.
I've now released the Moodle 4.0 compatible version as a Release Candidate. Sorry about the delay.
Looking forward to being able to use CodeRunner in Moodle 4. (Currently running Moodle 4.0.3) Will check out the developer's forum to see if I can help.
Please update "coderunner" and "Adaptive adapted for coderunner" to Moodle 4.0.2 .
Hi Marcelo. The version of CodeRunner in the development branch on github (https://github.com/trampgeek/moodle-qtype_coderunner/tree/development) is for Moodle 4.0. I'm calling it a release candidate because it hasn't yet been used on a production server but it passes all the tests, runs all our questions in our question bank and has been installed on several low-volume sites. I'll pull it to the official Moodle plugin repository sometime within the next month.
Dear all, this is one of the most interesting and awesome plugins for moodle. Congratulations.
I've noticed that it still not ported to moodle 4.0. There are any upgrades coming soon?
Hello everyone, I have met a problem when I am installing coderunner on moodle. After I choose the "install plugin" in site administration, I upload the zip file that I download from the official coderunner plugin website of Moodle. However, it tells me that I have to choose a plugin type and I don't know what to do. Can anyone help me with that? Thanks a lot!
Hello Ashok
I'm not sure what you're trying to do. The out-of-the-box SQL questions use sqlite3, accessing it via Python. If you installed your Jobe server using the standard instructions at https://github.com/trampgeek/jobe/blob/master/README.md you should already have sqlite3. There's no direct support for MySql-based questions and it's difficult to write your own. The Jobe server is designed to be stateless, so that every task leaves the state of the server unchanged (with a few special exceptions). This is incompatible with having a persistent database like MySql.
If you have further questions, would you please post them on the question author's forum at coderunner.org.nz.
Richard
Hello Team,
I have installed Code Runner plugin and everything is working fine. I want to add compilers for MySql for program based questions. CAn any one guide me how to achieve this?
Thanks
Correction "There have been requests for it to use the more general *quiz-question types* ...