Leaklens

scikit-learn__scikit-learn-26194

Thresholds can exceed 1 in `roc_curve` while providing probability estimate

Verdict: the issue points to the file or function that was changed (Tier B).

However, the `+ 1` rule does not make sense in the case `y_score` is a probability estimate.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “However, the `+ 1` rule does not make sense in the case `y_score` is a probability estimate.”

All SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works