Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Graderule API

From MoodleDocs
Graderule
Project state In development
Tracker issue MDL-60155
Discussion
Assignee Mark Nelson

Moodle 4.0

Introduction

A grade rule plugin is a plugin that allows you to manipulate users final grades in the gradebook based on business rules.

History

This work was borne primarily as a way for Monash University to be able to implement hurdles functionality. A hurdle in their nomenclature being a grade item (or activity) that a student has to pass in order to pass the entire course. Having conditional calculations were only about half the solution as they required for a specific maximum mark and grade letter if a student failed a hurdle.

Anatomy of a Grade Rule Plugin