Skip to content

Commit

Permalink
fix eval on remote runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
enyst committed Jan 21, 2025
1 parent 6701a84 commit 54773e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evaluation/benchmarks/swe_bench/eval_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def process_git_patch(patch):
return patch


def get_config(instance: pd.Series) -> AppConfig:
def get_config(metadata: EvalMetadata, instance: pd.Series) -> AppConfig:
# We use a different instance image for the each instance of swe-bench eval
base_container_image = get_instance_docker_image(instance['instance_id'])
logger.info(
Expand Down Expand Up @@ -132,7 +132,7 @@ def process_instance(
else:
logger.info(f'Starting evaluation for instance {instance.instance_id}.')

config = get_config(instance)
config = get_config(metadata, instance)
instance_id = instance.instance_id
model_patch = instance['model_patch']
test_spec: TestSpec = instance['test_spec']
Expand Down

0 comments on commit 54773e0

Please sign in to comment.