Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "(feat): Prompt engineering to remind o1 to generate a patch" #4846

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading