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

How to apply Agentless on other issues? #16

Open
caohch-1 opened this issue Jul 21, 2024 · 1 comment
Open

How to apply Agentless on other issues? #16

caohch-1 opened this issue Jul 21, 2024 · 1 comment
Labels
question Further information is requested

Comments

@caohch-1
Copy link

Hello, agentless is a very impressive work.

I want to apply agentless on some issues outside of the swe dataset.

I see that there are preprocess_data.py and postprocess_data.py that seem to contain preprocessing of the swe dataset, but there is no main entry in the scripts.

Can you provide the complete preprocessing script or how to use the functions in the existing scripts (preprocess_data.py and postprocess_data.py) to do the processing, which would be helpful in applying agentless to more issues.

@brutalsavage
Copy link
Contributor

Hi @caohch-1 the preprocess_data.py and postprocess_data.py are not specific for swe bench data. In there we provide some utility functions to support various repair and localization procedures that we do (they are geared for python projects)

if you want to look at how the preprocessing is done, we mainly just turn the original repo into a structure format containing files, classes, and functions for ease of operating (see get_repo_structure.py) for the processing.
The main scripts of repair.py and localize.py are definitely geared towards swe-bench-lite, since we directly operate on individual issues.

@brutalsavage brutalsavage added the question Further information is requested label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants