Leaklens

sphinx-doc__sphinx-10466

Message.locations duplicate unnecessary

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

My simple solution is this: ``` def __init__(self, text: str, locations: List[Tuple[str, int]], uuids: List[str]): self.text = text # self.locations = locations self.locations = self.uniqueLocation(locations) self.uuids = uuids def uniqueLocation(self, locations: List[Tuple[str, int]]): loc_set = set(locations) return list(loc_set) ```

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 sphinx-doc/sphinx tasks · How the check works