Esempio n. 1
0
    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)
Esempio n. 2
0
    def evaluate(self, group_order: list) -> SiteEvaluation:
        """Evaluate the result."""
        from privacyscore.evaluation.evaluation import evaluate_result

        return evaluate_result(self.result, group_order)