Skip to content

Commit

Permalink
update git_patch cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Oct 12, 2024
1 parent a1c23c1 commit bd1fc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluation/swe_bench/run_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def complete_runtime(
git_patch = None
while n_retries < 5:
action = CmdRunAction(
command=f'git diff --cached {instance["base_commit"]}',
command=f"""git diff --cached {instance["base_commit"]} '*.py' ':(exclude)setup.py' ':(exclude)*/tests/*' ':(exclude)tests/*' ':(exclude)*/testing/*' ':(exclude)testing/*' """,
# command=f'git diff --no-color --cached {instance["base_commit"]}',
keep_prompt=False,
)
Expand Down

0 comments on commit bd1fc94

Please sign in to comment.