remove penalty from TokenRanges

The parameter is no longer needed.
This commit is contained in:
Sarah Hoffmann
2025-07-11 10:57:35 +02:00
parent 73ee17af95
commit fe30663b21

View File

@@ -134,7 +134,6 @@ class TokenRange:
"""
start: int
end: int
penalty: Optional[float] = None
def __lt__(self, other: 'TokenRange') -> bool:
return self.end <= other.start