(self)
| 297 | return modified |
| 298 | |
| 299 | def get_closure(self): |
| 300 | modified = self.find_file_modifications() |
| 301 | modified_locations = [x[0] for x in modified] |
| 302 | modified_locations.extend(x[1] for x in modified) |
| 303 | removed = [x for x in self.left if x not in modified_locations] |
| 304 | added = [x for x in self.right if x not in modified_locations] |
| 305 | |
| 306 | return {"added": added, "modified": modified, "removed": removed} |
| 307 | |
| 308 | @classmethod |
| 309 | def get_similarity_threshold(cls) -> float: |