Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 def update_score(self):
     if self.assertion is not None:
         self.assertion.update_raw_cache()
     ScoredModel.update_score(self)