ubccpsc310 / classy

Course management and automation.
MIT License
2 stars 3 forks source link

Add report.custom to grade.custom when a new grade is created #116

Open rtholmes opened 4 weeks ago

rtholmes commented 4 weeks ago

Sometimes (e.g., in bucket grading) extra grading information is computed by a container you may want to render to a client. When a new grade is saved (e.g., because it is higher than an old grade) the result.custom object (if it exists) should be concatenated with the grade.custom object so this can be rendered on its own. Also: in the case there are result updates, a durable copy of the grade is kept (since we're unlikely to want to downgrade a student's grade).