Random activity

Activities ::: mod_randomactivity
Maintained by Picture of Astor BizardAstor Bizard
The "Random activity" activity type is a lightweight module that allows teachers to randomly split students among other activities within a course.
Latest release:
25 sites
124 downloads
9 fans
Current versions available: 1

Random activity

Version: 1.3 (April 2021)

Author: Astor Bizard

This software is part of the Caseine project.
This software was developped with the support of the following organizations:
- Université Grenoble Alpes
- Institut Polytechnique de Grenoble

Introduction

The "Random activity" activity type is a module that allows teachers to randomly split students among other activities within a course.
Typically, suppose we have two versions of an exercise: a Quiz (named Quiz 1) and an Assignment (named TP 1), along with documentation for each activity. Now suppose we want to split students randomly among these activities.
We can come up with this:
Course overview for two linked Random activities (teacher)

... which will give one of the following results for each student:
Course overview for two linked Random activities (student 1)
Course overview for two linked Random activities (student 2)

Create and setup one or more Random activities

Prepare your activities pool

You first need to create a pool activities, among which students will be split.
It is recommended to place them in a hidden section of your course, and make them available (this can be done from the course page, or from the settings page of each activity in the "Common module settings" section).

Create the Random activity

To create a Random activity in your course, simply proceed the same way as other activity types.
To set up the activities pool for your Random activity, click "Save and display" at the end of the editing form, as the activities pool is set up on the view page.

Activity view page

From here, you can view the current activities pool, and edit it by clicking the "Edit" and "Add activities" buttons. Activities pool view

When you are done editing the activities pool, click "Apply changes and re-assign" to apply the changes.
You should then see students enrolled in your course assigned to the activities you added.

Note: Students will not see this page when accessing the Random activity. They will be automatically redirected to the activity they are assigned to.

Seed

Notice the "Seed" field on the bottom right of the view page. This is the seed for the random splitting of students among activities.
This means that a different seed will lead to a different distribution, and an identical seed will lead to an identical distribution*.
You can thus use an identical seed in several Random activities** to split students among several pool of activities while preserving consistency (eg. our example in Introduction: we had one Random activity "Documentation for exercise 1" and one Random activity "Exercise 1", both with the same seed to ensure a student will always get the correct documentation for his exercise).

* This is only true if the activities pool has the same size (an activities pool of a different size with the same seed will lead to a different distribution).
** This will only work for Random activities with the same seed and the same number of activities in their pools.

Activities pool / seed changes consequences

The Random activity acts as a redirection on students side. Please be aware that if you change a seed or the activities pool after students have accessed it may lead to students being assigned to a new activity, thus leading to them losing some of their work / grades.

Grades

Random activities support grades. If a Random activity is graded, the grades are automatically retrieved from the activities the students are assigned to.
To make a graded assignment with a Random activity, a nice way to proceed is: - Set up grading methods for every activity in the pool, - Set up a grading method for the Random activity, - Head to the gradebook and set the weights for activities in the pool to 0.
That way, only the Random activity grade will be accounted in the gradebook, and every student will have exactly one grade for the graded assignment.

Future Developments

These features are not currently supported but will be added in future releases:
- Group support
- CSV export of student affectation on activities

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Picture of Astor Bizard
Astor Bizard (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Wed, Dec 9, 2020, 8:50 PM
    Approval issue created: CONTRIB-8331
  • Picture of Geraldo Verweij
    Sun, Apr 11, 2021, 11:21 PM
    is it possible to assign only students from 1 group???
  • Picture of Astor Bizard
    Mon, Apr 12, 2021, 10:06 PM
    Hi @Geraldo Verweij,

    Groups are not supported yet. However, this will be possible with the next update I am working on. It should be released during this week - worst case next week.

    Best regards,
    Astor
Please login to post comments