Grade Moodle Workshop reviewers against the teacher's assessment

Moodle Workshop grades reviewers against the assessment closest to the average. Our free workshopeval_teacher grades them against the teacher's own assessment.

Drawing of a hand marking grades on an essay with a ruler under them.

Short answer: in Moodle’s Workshop, students get a “grade for assessment” for how well they reviewed their peers. The only built-in method compares each review with the one closest to the average of all reviews (Workshop grading docs). When most reviewers are generous, the generous review becomes the reference and the careful reviewer loses marks. Our free plugin, workshopeval_teacher, adds Comparison with the teacher’s assessment: each review is compared with yours.

This is the twenty-sixth plugin in our series: one plugin for each Moodle plugin type, each one teaching DevLMS Studio, our AI plugin builder, how that type works. The Moodle plugins directory lists one other evaluation method, which picks the review with the highest weight; none compares with the teacher directly.

How grades are worked out

  1. Assess the submissions you want to use as a reference: open a submission and press Assess. A sample is enough.
  2. In the grading evaluation phase, choose Comparison with the teacher’s assessment, pick the strictness and press Re-calculate grades.

Every criterion is put on a scale of 0 to 100, and the average difference between the reviewer and you is taken off 100, multiplied by the strictness (lax 0.5, fair 1, strict 2, very strict 3). Example with two criteria: you give 8/10 and the reviewer 10/10 on the first, you agree on the second. The average difference is 10 points, so the grade for assessment is 90% on fair, 80% on strict.

  • Submissions you did not assess give no grade for assessment; each reviewer is graded on the submissions you did assess.
  • Several staff assessments of one submission are averaged.
  • Staff are the reference and get no grade for assessment themselves.
  • The strictness is remembered per workshop and kept in backups.

It supports Moodle 4.5 LTS to 5.3. The code is on GitHub.

How a Workshop evaluation method works

From Moodle 5.3’s Workshop code:

  1. An evaluation method is a small plugin inside the Workshop activity. When more than one is installed, teachers choose it in the grading evaluation phase.
  2. When the teacher presses “Re-calculate grades”, Moodle hands the method every assessment with its score per criterion. The method writes a grade for each assessment, and Workshop averages them into each reviewer’s grade for assessment.
  3. A detail that matters: when Moodle recalculates for only some reviewers, it passes only their assessments. A method that compares with the teacher must still read the teacher’s assessment, so ours always reads all of them and only updates the reviewers asked for.

The browser test runs a real workshop without JavaScript: two students review, the teacher assesses, and the reviewer who matched the teacher gets 5.0 of 5 while the one who was 2 points off gets 4.0. Unit tests cover strictness levels, averaging staff, sampling, partial recalculation, backup and restore.

Need a plugin like this for your own Moodle?

Describe it in DevLMS Studio and watch it built and tested in a real Moodle, or ask our team for a fixed price.

Open DevLMS Studio