mirror of https://gitlab.crans.org/bde/nk20
missing brackets
This commit is contained in:
parent
f19a489313
commit
644cf14c4b
|
@ -148,7 +148,7 @@ class WEISurvey2021(WEISurvey):
|
|||
buses = cls.get_algorithm_class().get_buses()
|
||||
return sum([cls.get_algorithm_class().get_bus_information(bus).scores[word] for bus in buses]) / buses.count()
|
||||
|
||||
@lru_cache
|
||||
@lru_cache()
|
||||
def score(self, bus):
|
||||
if not self.is_complete():
|
||||
raise ValueError("Survey is not ended, can't calculate score")
|
||||
|
|
Loading…
Reference in New Issue