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

feat: Allow multi-file edits #83

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

kgilpin
Copy link
Contributor

@kgilpin kgilpin commented Jun 14, 2024

DO NOT MERGE

Retool the prompt to allow multi-file edits.

This branch is intended for use with SWE Bench Full

@kgilpin kgilpin self-assigned this Jun 14, 2024
kgilpin and others added 8 commits June 14, 2024 20:37
I've verified that the sets are split into 4 roughly even groups.

navie-1.txt is the same as devin-all.txt
navie-2, navie-3, navie-4 are roughly equal groupings of the remaining instances.

The union of the four sets contains 2294 members, which is the size of the SWE-Bench dataset.

irb(main):4625:0> navie_1 = Set.new(File.read("navie-1.txt").split("\n")); nil
=> nil
irb(main):4626:0> navie_2 = Set.new(File.read("navie-2.txt").split("\n")); nil
=> nil
irb(main):4627:0> navie_3 = Set.new(File.read("navie-3.txt").split("\n")); nil
=> nil
irb(main):4628:0> navie_4 = Set.new(File.read("navie-4.txt").split("\n")); nil
=> nil
irb(main):4630:0> (navie_1 + navie_2 + navie_3 + navie_4).length
=> 2294

The instances in navie 2, 3, and 4 are sorted.
It's causing a huge stack trace and failure of the solve instance.
Including only files originally changed risked throwing away
posttest fixes. Instead just filter out tox.ini and setup.py.
Sphinx will be rerun separately via full-sphinx instance set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants