TireSwingSoftware/openassign-server — Issue #27: Support for Maximum Assignment Attempts
Author: cchurch
Created: 2011-10-19 05:29:36+00:00
State: open

In looking at the FileUpload task (#2), it seems there is a need for a more generic way of specifying the maximum number of times a user can attempt to complete an assignment. As is, I don't see anything limiting the number of attempts that can be made.

While useful for file uploads, this same capability would also be applicable to exams as well, or any task requiring a user to submit data that may be scored or evaluated in some way.

The Task model does have fields for 'min' and 'max', but it is unclear as to whether these reference the number of Assignments that may be created from this Task, or the number of AssignmentAttempts that may be made per user. I cannot find any code that checks or enforces these fields from the Task model.

My suggestion would be to set a default maximum number of attempts per user on the Task model, while allowing an Assignment to override the default if needed (e.g. an instructor wishes to give a particular student a few more tries on an exam).