π OpenHands: AI-Driven Development
pass swe-bench box config parameter (#3189)
Engel Nyst93433fa8490d
diff --git a/evaluation/swe_bench/run_infer.py b/evaluation/swe_bench/run_infer.pyindex 0578eb588a..e20f080fe3 100644--- a/evaluation/swe_bench/run_infer.py+++ b/evaluation/swe_bench/run_infer.py@@ -211,6 +211,7 @@ def process_instance(# You can omit this if you don't need to setup specialized sandboxworkspace_dir_name = f'{instance.repo}__{instance.version}'.replace('/', '__')sandbox = SWEBenchSSHBox.get_box_for_instance(+ config,instance,workspace_dir_name,workspace_mount_path=workspace_mount_path,diff --git a/evaluation/swe_bench/swe_env_box.py b/evaluation/swe_bench/swe_env_box.pyindex 47427c6836..3fed5ea13a 100644--- a/evaluation/swe_bench/swe_env_box.py+++ b/evaluation/swe_bench/swe_env_box.py@@ -146,8 +146,8 @@ class SWEBenchSSHBox(DockerSSHBox):@classmethoddef get_box_for_instance(cls,- instance,config: AppConfig,+ instance,workspace_dir_name=None,skip_workspace_mount: bool = True,workspace_mount_path: str | None = None,