Random assignment

Assignment submissions ::: assignsubmission_random
Maintained by Miroslav Fikar
Random assignment is a plugin for assignments with following properties: Teacher specifies one or more files for assignments and (optionally) solution files with the same names Each student gets one of these files randomly In the assignment feedback page, teacher sees the assignment file and optionally the solution file as well.
Latest release:
72 sites
30 downloads
2 fans
Current versions available: 2

Random assignment (implemented for Moodle 2.3-4, tested with 2.4)

Random assignment is an attempt to handle larger classes of students. For this purpose, we generate a series of html (txt, pdf) files with the same structure but different numbers. In addition, we generate corresponding files with hints to solutions for teachers.

Random assignment is a plugin for assignments with following properties:

  • Teacher specifies one or more files for assignments and (optionally) solution files with the same names
  • Each student gets one of these files randomly
  • In the assignment feedback page, teacher sees the assignment file and optionally the solution file as well.

Installation procedure:

  1. Copy directory random/ to moodle/mod/assign/submission/
  2. If needed, add your language. Language files are located in moodle/mod/assign/submission/random/lang
  3. Modify file mod/assign/renderer.php and add code from random/renderer_hack/rendered.include.php before the return statement of the function render_assign_header (see difference between random/renderer_hack/renderer.php and random/renderer_hack/renderer.orig.php)

Creation of an assignment:

1. Create activity: Assignment
1a. in Submission settings enable: Random assignment: yes and specify files for assignments and solutions.
1b. in Submission settings specify files for assignments (Random assignment files) and solutions (Random assignment solutions).

This is a beta version, intended for testing purposes.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Miroslav Fikar (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Sun, 14 Apr 2013, 8:23 AM
    Miroslav - Many thanks for sharing this plugin with the Moodle community. Unfortunately, from the documentation this plugin seems to require a patch (or hack) to a core file and is thus not truly a plugin but a patch. If it is to be in Moodle plugins it will need to be in the other section rather than as an assignment submission. Is there any way around this to make it so that it does not require the changes to core? For now, I am going to mark this entry as needing more work but we can continue to explore possibilities. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Plugins bot
    Mon, 4 Dec 2023, 5:40 PM
    Approval issue created: CONTRIB-9436
Please login to post comments