def evaluate(self, group_order: list) -> SiteEvaluation: """Evaluate the result of the last scan.""" if not self.last_scan__result: return None from privacyscore.evaluation.evaluation import evaluate_result return evaluate_result(self.last_scan__result, group_order)
def evaluate(self, group_order: list) -> SiteEvaluation: """Evaluate the result.""" from privacyscore.evaluation.evaluation import evaluate_result return evaluate_result(self.result, group_order)