Skip to content

Commit

Permalink
Update instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Nov 4, 2024
1 parent a11904d commit 94fa1fe
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 @@ -83,7 +83,7 @@ def get_instruction(instance: pd.Series, metadata: EvalMetadata):
f'{instance.problem_statement}\n\n'
'The current working directory is /testbed.\n'
'Do not provide suggestions or workarounds. Directly fix the issue by modifying the source code.\n'
# 'Reproduce the issue in the test code before fixing it.\n'
'Reproduce the issue in the test code before fixing it.\n'
"Plan:\n1) Don't search for the user files in the repo because the user's code is an MRE (Minimal Reproducible Example) and wouldn't be part of the repository. It is verified that there is no issue in the user's code and this issue lies in the source code only. Focus only on modifying the existing repository code relevant to the issue instead. Search for the relevant files to modify using search_class, search_function and open_file agent skills instead of modifying the test files itself;\n"
'Add your valuable thoughts to every action you take.\n'
# 'Determine the root cause of the issue and implement a direct fix, rather than employing a workaround.\n'
Expand Down

0 comments on commit 94fa1fe

Please sign in to comment.