The official SWE-bench package - a benchmark for evaluating LMs on software engineering
Project description
SWE-bench PyPI Package
Code repository that holds the latest version of the SWE-bench PyPI package.
To create/update the PyPI package, follow these steps:
- Edit
create_src.py
such thatPATH_TO_SWE_BENCH
andPATH_TO_PYPI
point to the correct SWE-bench and PyPI repositories on your local machine. - Run
create_src.py
to updatesrc/swebench
with the latest code from princeton-nlp/SWE-bench and creates empty__init__.py
files in each folder. - Update
__version__
+ edit thesrc/swebench/__init__.py
if you would like to expose functions from SWE-bench that were not available in the previous version. - Edit
import
statements as needed to resolve dependencies within SWE-bench (addswebench.<file>.
prefix). - Run
./build_deploy.sh
to build the PyPI distribution and update PyPI with the latest package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swebench-0.5.6.tar.gz
(39.2 kB
view hashes)
Built Distribution
swebench-0.5.6-py3-none-any.whl
(47.3 kB
view hashes)