keras/src/metrics/confusion_metrics.py/SensitivityAtSpecificity/result
class SensitivityAtSpecificity:    def result(self):
        sensitivities = ops.divide_no_nan(
            self.true_positives,
            ops.add(self.true_positives, self.false_negatives),
        )
        specificities = ops.divide_no_nan(
            self.true_negatives,
            ops.add(self.true_negatives, self.false_positives),
        )
        return self._find_max_under_constraint(
            specificities, sensitivities, ops.greater_equal
        )