Request for weighing questions separately
This request came from the staff of the RST department and has to do with the email you send to the students with their results. Now, the only variable that you can use is “student.total”. Say that a students has 81 points, the end grade may be calculated by student.total/10 = 8.1. But if the end grade is determined by a more complex formula, e.g. by using weighing number per question, e.g.
end grade = (points question 1 + 2* points question 2 + 3.4 * points question 3)/(1 + 2 + 3.4)
then this is not possible to do in the email because the number of points and a weighing factor per question are not known (there are no variables for that).
Solution: You can enter a weighing factor per question (under the "grading" tab) and compose a formula (also under the "grading" tab) that calculates the final grade from the points and weighing factors. Put the result in one variable, e.g. student.grade, that can be used by Jinja.