Leaklens

scikit-learn__scikit-learn-15100

strip_accents_unicode fails to strip accents from strings that are already in NFKD form

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

It looks like we should just remove the `if` branch from `strip_accents_unicode`: ```python def strip_accents_unicode(s): normalized = unicodedata.normalize('NFKD', s) return ''.join([c for c in normalized if not unicodedata.combining(c)]) ```

Disputed: one of the two checks found a stated fix, the other found nothing. Not counted as a flag; the quote is on the task page.

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