What does this implement/fix? Explain your changes.
If you run python -m swebench.harness.prepare_images with all env images already built, build_env_images exits early and returns None. This causes the program to crash here because it expects a Tuple[list, list]. Easy fix just returns two empty lists when we exit early.
Reference Issues/PRs
What does this implement/fix? Explain your changes.
If you run
python -m swebench.harness.prepare_images
with all env images already built,build_env_images
exits early and returns None. This causes the program to crash here because it expects aTuple[list, list]
. Easy fix just returns two empty lists when we exit early.Any other comments?
🧡 Thanks for contributing!