Add assignment versions including self assignment
continuation of MR !169 (closed)
Assignmentversions are added to assignments
-
Every assignment should have 1 or more versions
-
Submissions are done for assignmentversions instead of assignments now
-
A assignment version table contains:
- Name
- AssignmentId
- list of other assignmentVersions to review
- number which indicates
reviewsPerUserPerAssignmentVersionToReview
- boolean which indicates whether selfreviews will be assigned
- Submissionquestionnaire
- Reviewquestionnaire
-
during the shuffle phase, these assignmentversion determine how the reviews are assigned
-
assignmentversions are automatically loaded with an assignment. The versions to review are loaded when an individual version is fetched from the database (prevents circular referencing)
This is tested in the end to end test but a live test should be performed to see whether the code works well
fixes: #310 (closed), #159 (closed) #111 (closed)
Edited by Yorick de Vries