Skip to content

A Moodle question type plugin allowing teachers to run a program to grade a student's answer.

License

Notifications You must be signed in to change notification settings

CPU-DS/CodeRunnerEx

Repository files navigation

CodeRunner-ex

Introduction

This Moodle plugin extends the functions of CodeRunner (a Moodle question type plugin that allows teachers to run a program in order to grade a student's answer), providing more features and customization options, mainly including:

  • More settings of CodeRunner-ex plugin, allowing administrator to set the default CodeRunner question type, editor size, grading method and so on.
  • Encryption Code and test result transfer between client and server, helping to work around security mechanism of some servers.
  • Interactive result table with copy buttons, helping students to copy the long inputs/outputs of testcases to their own codes.
  • AI code helper, helping students to analysis the question and their own codes with LLM model (requiring Code-AiHelper server on backend).

Requirement

Moodle V4.0 or later, CodeRunner v4 or later.

Installation

Just install this plugin as other regular Moodle plugins. After the installation of Moodle and CodeRunner, copy all files of this repo to question/type/coderunnerex directory of Moodle root (you may also need to change the ownership and access rights to ensure the directory and its contents are readable by the webserver). Then login to Moodle with an administrator account, follow the instructions of plugin upgrade.

Usage

When creating new questions in the question bank page of Moodle, a new question type (CodeRunner-ex) should be available. Just choose this type and configure the question as you like.

About

A Moodle question type plugin allowing teachers to run a program to grade a student's answer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published