Skip to content

Commit 686a423

Browse files
authored
updates prompt for SWE bench (#695)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent 47f3763 commit 686a423

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/codegen/extensions/swebench/harness.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ def run_agent_on_entry(entry: SweBenchExample, codebase: Codebase | None = None)
8686
you can also use that tool to check your work after you think you are done.
8787
if you ever get stuck using other tools, use the Reflection tool to re asses your situation.
8888
after every file edit, use the Reflection tool to check your work and sanity check yourself.
89+
after editing a file you need to double check your work and use the ViewFiles tool to make sure you didn't break anything and that your edits are indeed correct.
90+
91+
You should follow the advices of the Reflection tool when ever they seem reasonable.
92+
93+
Also DO NOT ADD OR EDIT ANY TESTS!
94+
8995
"""
9096
message += problem_statement
9197

0 commit comments

Comments
 (0)