Input: target_recall R, then a CSV actual,score.
Print 10 cases, 5 positives; ROC AUC 0.720, average precision 0.794 (scikit-learn roc_auc_score, average_precision_score). Then for each distinct score t, from highest to lowest (predict positive if score ≥ t): threshold 0.45: recall 0.80, precision 0.67, false-positive rate 0.40. Finally highest threshold reaching recall 0.8: 0.45 (precision 0.67) (the first threshold in that order with recall ≥ R).