Skip to content

updates prompt for SWE bench #695

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

Merged
merged 1 commit into from
Feb 27, 2025
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
6 changes: 6 additions & 0 deletions src/codegen/extensions/swebench/harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ def run_agent_on_entry(entry: SweBenchExample, codebase: Codebase | None = None)
you can also use that tool to check your work after you think you are done.
if you ever get stuck using other tools, use the Reflection tool to re asses your situation.
after every file edit, use the Reflection tool to check your work and sanity check yourself.
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.

You should follow the advices of the Reflection tool when ever they seem reasonable.

Also DO NOT ADD OR EDIT ANY TESTS!

"""
message += problem_statement

Expand Down
Loading