From 4ce3b9094a10cdb0a3f43b9b6043b1688c88ee1e Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Fri, 8 Nov 2024 10:12:57 -0600 Subject: [PATCH] Revert "(feat): Prompt engineering to remind o1 to generate a patch" (#4846) --- evaluation/swe_bench/run_infer.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/evaluation/swe_bench/run_infer.py b/evaluation/swe_bench/run_infer.py index a171d5f20a56..8bd23939dd58 100644 --- a/evaluation/swe_bench/run_infer.py +++ b/evaluation/swe_bench/run_infer.py @@ -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 += ( - '\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 \n' - '\n' - ) - if RUN_WITH_BROWSING: instruction += ( '\n'