in privacy_lint/attack_results.py [0:0]
def get_auc(self) -> float:
"""
Computes the area under the ROC curve.
"""
true_positive_rate, false_positive_rate = self.get_tpr_fpr()
result = AttackResults._get_area_under_curve(
false_positive_rate, true_positive_rate
)
return result