Fixed, code rewritten: why do you cast this to a dict? isn't self.cumulative_score already a dict?