171
def calculate_score(store, user, worksheet, as_of=None):
167
173
Given a storm.store, User, Exercise and Worksheet, calculates a score for
168
174
the user on the given worksheet.
169
179
Returns a 4-tuple of ints, consisting of:
170
180
(No. mandatory exercises completed,
171
181
Total no. mandatory exercises,