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
- Moodle 5.1 or newer (developed against 5.2), on PHP 8.3+.
- Administrator access to install plugins.
- One AI provider configured in Moodle's core AI subsystem with the Generate text action — your own provider (e.g. OpenAI) using a key you supply, or a local model via Ollama for no per-request cost. Grade Confidence never ships or handles a key.
The three plugins (install the engine first)
- Engine —
aiplacement_gradeconfidence: the surface-agnostic review engine. GitHub - Assignment adapter —
assignfeedback_gradeconfidence: wires it into assignment grading. GitHub - Quiz question type —
qtype_aigraded: essay questions with the same assurance. GitHub
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)
- On each GitHub page above, choose Code → Download ZIP.
- In Moodle, go to Site administration → Plugins → Install plugins.
- Upload the engine ZIP first and follow the prompts to complete the upgrade.
- 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
- 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).
- For assignments: in an assignment's settings, enable the Grade Confidence feedback type.
- For quizzes: add an AI-graded question in the question bank — it behaves like an essay question for students.
Optional, but recommended
- Set cost rates and a per-course budget so spend is visible and capped.
- Edit the student disclosure text (transparency).
- Record your providers in the DPA register for your data-governance posture.
After changing settings, lang strings or templates, purge caches (Site administration → Development → Purge caches).