Skip to content

Commit

Permalink
Revert "(feat): Prompt engineering to remind o1 to generate a patch" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww authored Nov 8, 2024
1 parent 0a4e196 commit 4ce3b90
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions evaluation/swe_bench/run_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,6 @@ def get_instruction(instance: pd.Series, metadata: EvalMetadata):
"Your thinking should be thorough and so it's fine if it's very long.\n"
)

instruction += (
'<IMPORTANT>\n'
'- You MUST generate only one action per turn!\n'
'- A patch is a set of changes to the source code of the codebase that you are given\n'
'- You MUST generate a patch that attempts to fix the issue described in the <pr_description>\n'
'</IMPORTANT>\n'
)

if RUN_WITH_BROWSING:
instruction += (
'<IMPORTANT!>\n'
Expand Down

0 comments on commit 4ce3b90

Please sign in to comment.