def update_score(self): old_score = self.score ScoredModel.update_score(self) if (self.score == 0) != (old_score == 0): self.concept1.update_num_assertions() self.concept2.update_num_assertions()
def update_score(self): if self.assertion is not None: self.assertion.update_raw_cache() ScoredModel.update_score(self)