1. Home
  2. Guidance
  3. Moodle
  4. Activities & Resources
  5. Fair Allocation
  6. Overview of Moodle ‘Fair Allocation’
  7. Overview of Moodle ‘Fair Allocation’

Overview of Moodle ‘Fair Allocation’

Published on: 02/08/2023 · Last updated on: 03/09/2024

What is the moodle ‘fair allocation’ activity?

This Moodle activity allows students to rate choices according to their preferences. For example, to allow students to express their preferences between a limited number of available project topics. After the rating period ends, the algorithm processes the preferences and aims to distribute the assigned topics fairly while aiming to maximise the overall satisfaction with that distribution. The activity supports multiple different rating strategies (e.g. Accept-Deny, Rank, Points, Likert-scale).

Additional features:

  • Choices have maximum sizes (e.g. a project can be allocated to a fixed number of students).
  • After the automated distribution, the allocations can be changed manually by staff (including for students with no rating).
  • There are two options available to distribute any non-participating students to the various options.
  • Moodle groups can be created to match the choices (e.g. a group for Project A with all the allocated students added to it).
  • The students can review the published allocations inside the Fair Allocation activity.

For a simple vote or allocation on a first-come-first-served basis, you can alternatively use the Moodle Choice Activity.

Why is Fair Allocation useful?

This tool can be helpful for such activities where you want to provide students with some element of choice but where the choices are limited. By allowing students to identify their preferences there is a greater sense of fairness when the allocations are made. Examples where you may choose to use this:

  • For project, thesis or presentation topic allocation – where you have a limited number of projects or topics where only a fixed number of people can work on them. Students can rate their preferences and be allocated to a one that suits them. For example,
  • For seminar or tutorial meeting slots – where you have a fixed number of places available over several different slots, you can ask students to rate the ones that are most appropriate for them.
  • For peer-presentation meeting slots – where you want students to meet together in groups to deliver and peer-review presentations.

How to use the Fair Allocation activity

Running a ‘Fair Allocation’ activity involves several steps:

  1. Adding the activity in Moodle and configuring the appropriate rating strategy and other settings.
  2. Creating the options/choices for the students to rate.  You can provide text, or upload a document, with information to help students make decisions.
  3. The activity opens, and students rate the options/choices.
  4. The activity closes:
    • Students are allocated to the assorted options (automatically timed or when a button is clicked).
    • Student allocation can be manually reviewed and/or changed if necessary.
    • Students who did not take part can be automatically distributed to fill up the spaces available for each option.
    • Groups for each option can be created and students automatically added to the relevant group.
    • The allocation can be published so that students become aware of their allocation.
    • Reports can be viewed and/or exported (.csv) showing how the students rated the options, and how they have been allocated to a given option.

Frequently asked questions

It makes sense to give each choice a unique name if you want to set up groups later in the process, and to avoid confusion for students. However, Moodle will let you name multiple choices with the same name so please take care to avoid this.

You can change the dates even after students have started making choices. For example, if you change the end date to a later time, you will extend the time they have to make or edit their choices.

The algorithm cannot be run before the end date, even if you know that all of your students have finished making their choices.  However, if you are happy that all choices have been made you could shift the end date so that the activity closes early.  You can then run the algorithm.  Make sure you communicate these decisions to students, so they are not caught out (i.e. if they intended to re-visit their choice before the original end date).

If the fair allocation choices are named the same as groups that already exist in your Moodle space, then running the group option within the fair allocation activity will create new groups with the same name.  If this is done accidentally you can manually rename the new groups.

You can delete groups as you normally would. A previous bug, where groups created through the fair allocation activity could not be deleted, has been fixed.

No.  Students who don’t take part will not be allocated by the algorithm.  However, you can allocate them quite quickly; use one of the distribution buttons, or manully allocate them from the manual allocation screen.

You are advised not to change choices once the activity is open. Unexpected behaviour may result if you do.

Choices are displayed in alphabetical order (e.g. Project A, Project B etc.).  If, for example, you include days in the choice names (e.g. Mon Project A, Fri Project B), then they won’t display in chronological order. This doesn’t affect the functionality but may catch your students out if they don’t read the information carefully. Think carefully about how you name the choices if the order in which they are presented is important.

Running the algorithm relies on a process in Moodle called the ‘cron’.  This facility usually runs every minute but occasionally it can be delayed if there are a large number of activities to be processed in Moodle. When running the algorithm, you may see a message that tells you the process has been delayed.  If you wait a short time and refresh your browser page the algorithm should run as expected.

We recommend that you start each Fair Allocation activity from scratch to avoid problems. However, in testing, duplication can work where the choices (in the copy) are deleted and re-added. Where the choices (in the copy) are merely edited, we have found that any subsequent attempt to create groups (from allocations) fails.

If you want to ‘reset’ a Fair Allocation activity for a new co-hort, this can be done from the Moodle Reset option as normal.

Was this article helpful?

Related Articles