Allows admins to manage grading report templates #14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "3482-new-grading-criteria"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Manage grading report templates
Every once in a while the criteria used to asses theses and individual performance changes. When this happens the criteria in SciPro needs to be updated.
Up until now there has not been a GUI to do this and it has instead been done manually, sometimes using database migrations. It was also time-sensitive since there was only ever one template (per project type) in SciPro such that the change had to happen at the correct time when the new template was to take effect.
There was also the question of how to calculate the grade the author should receive based on the point sum from the supervisors assessment of all the criteria and these limits were hard-coded in the system.
These changes address all of the above;
The periods can not overlap and a template remains current from its start date until another template's start date is reached. There can not be two templates (within a project type) that become valid on the same date.
How to test
Card 3482
@ -0,0 +4,4 @@
import java.time.LocalDate;
public class DuplicateDateException extends Throwable {
Should extend Exception instead of Throwable
@ -0,0 +10,4 @@
import java.time.LocalDate;
import java.util.List;
public interface GradingReportTemplateService {
Shouldn't we be able to delete faulty or unwanted templates? Maybe we should introduce that in the future?
@ -8,1 +11,4 @@
public enum Flag {
/**
* Criterion marked with this flag will extra functionality related
"Criterion marked with this flag will extra functionality related ..." should it say "Criterion marked with this flag will add extra functionality related
Same with the other comments i'm guessing.