Open ZiyueWang25 opened 9 months ago
Putting what I mentioned during the meeting here for reference: Old versions of repos have a ton of issues which we can't fix manually. Best workaround is doing what SWE-bench does and run pytest only on the associated test files. We should pass the pytest command we know works to the prompt for the agent to use as well.
Describe the bug We need to call
pytest
to learn whether the agent has fixed the issue or not. However, some repository cannot work directly when callingpytest
. For example, when I callpytest
in the root of sqlfluff, it showsSo it relates with the repository directory structure.