Installing Grade Confidence

Grade Confidence is three GPLv3 plugins. This guide is for the person who installs them — your Moodle administrator. Allow about 15 minutes.

What you'll need

The three plugins (install the engine first)

Order matters: the adapter and the question type both depend on the engine, so install aiplacement_gradeconfidence first. You can install the adapter, the question type, or both — you don't need all three.

Option A — install from ZIP (easiest)

  1. On each GitHub page above, choose Code → Download ZIP.
  2. In Moodle, go to Site administration → Plugins → Install plugins.
  3. Upload the engine ZIP first and follow the prompts to complete the upgrade.
  4. Repeat for the adapter and/or the question type.

Option B — install with git

Clone each repository into its component path inside your Moodle code root, then visit Site administration → Notifications to finish the upgrade:

git clone https://github.com/mouneyrac/moodle-aiplacement_gradeconfidence \
  ai/placement/gradeconfidence
git clone https://github.com/mouneyrac/moodle-assignfeedback_gradeconfidence \
  mod/assign/feedback/gradeconfidence
git clone https://github.com/mouneyrac/moodle-qtype_aigraded \
  question/type/aigraded
On Moodle 5.x installs that use a public/ webroot, these paths sit under public/ (e.g. public/ai/placement/gradeconfidence). The ZIP installer in Option A handles the path for you.

Configure an AI provider

Under Site administration → AI → AI providers, set up a provider and enable its Generate text action. Use the provider you already trust with a key you supply, or point the Ollama provider at a local model. For cheap, consistent grading, a small fast model with temperature 0 works well.

Turn it on

  1. Enable the placement: Site administration → AI → AI placements → enable Grade Confidence, then open its settings to choose a review mode (off, manual, or automatic on grade save).
  2. For assignments: in an assignment's settings, enable the Grade Confidence feedback type.
  3. For quizzes: add an AI-graded question in the question bank — it behaves like an essay question for students.

Optional, but recommended

After changing settings, lang strings or templates, purge caches (Site administration → Development → Purge caches).

Next: see how it works →