Automate summation / quickfix bad sums
Closed this issue · 4 comments
oleks commented
Teaching assistants shouldn't be asked to sum things up correctly. It should be easy to sum up points starting from the bottom-most judgements.
kirkedal commented
I have added a sum function to the properties, what sums values of a given propertyName in sub-judgements. Syntax is sum([propertyName]
. PropertyInterp it adds :Total: sum(Total)
and :MaxPoints: sum(MaxPoints)
to all judgements. These sums are used for exportation.
If you define other fields, you can also take sum of them. It only sums from the sub-judgements where the propertyName exist; all other are treated as 0.
I don't know if this was what you were searching for.
oleks commented
I think so.