Fix files not being excluded in benchmark.py

`.discard()` removes an item from the set. `.difference_update()` is the
correct call here.
This commit is contained in:
Nimesh Ghelani 2025-01-07 17:35:29 +00:00
parent 37ad4758a1
commit ed9d70903d

View file

@ -693,7 +693,7 @@ def run_test_real(
ignore_files.update(example_files)
# Remove any ignore files from the solution set that LLM will edit
solution_files.discard(ignore_files)
solution_files.difference_update(ignore_files)
# Copy all solution files
for file_path in solution_files: