'Compute the grade of this subsection for the given student and course.'

def init_from_structure(self, student, course_structure, submissions_scores, csm_scores):

    for descendant_key in course_structure.post_order_traversal(filter_func=possibly_scored, start_node=self.location):
        self._compute_block_score(descendant_key, course_structure, submissions_scores, csm_scores)
    (self.all_total, self.graded_total) = graders.aggregate_scores(self.problem_scores.values())
    self._log_event(log.debug, u'init_from_structure', student)
    return self
