scikit-learn__scikit-learn-14496
[BUG] Optics float min_samples NN instantiation
Verdict: the issue points to the file or function that was changed (Tier B).
Fix: ``` if min_samples <= 1: min_samples = int(round(max(2, min_samples * n_samples))) # round to get the closest integer ```
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “Fix: ``` if min_samples <= 1: min_samples = int(round(max(2, min_samples * n_samples))) # round to get the closest integer ```”
All 500 SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works