Prevent duplicate regex_patterns

This commit is contained in:
Johan van Eck 2025-07-27 20:32:00 +03:00
parent d4582e7330
commit 06a7c06933
235 changed files with 467 additions and 782 deletions

View file

@ -112,7 +112,7 @@ def collect_profiles(
trash_id_to_scoring_mapping,
):
for root, _, files in os.walk(input_dir):
for filename in files:
for filename in sorted(files):
if not filename.endswith(".json"):
continue