SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
No need to build eval docker container anymore (#678)
Kilian Lieretf111779c564a
diff --git a/docker/eval.Dockerfile b/docker/eval.Dockerfiledeleted file mode 100644index a8479619..00000000--- a/docker/eval.Dockerfile+++ /dev/null@@ -1,6 +0,0 @@-FROM sweagent/swe-agent:latest--COPY ../evaluation/evaluation.py /evaluation.py-RUN pip install git+https://github.com/princeton-nlp/SWE-bench.git-RUN pip install unidiff-CMD ["python", "/evaluation.py"]diff --git a/release_dockerhub.sh b/release_dockerhub.shindex 14ca07f7..25e9c4c1 100755--- a/release_dockerhub.sh+++ b/release_dockerhub.sh@@ -55,11 +55,6 @@ echo "------------------------------------------"docker buildx build --platform=linux/amd64,linux/arm64 -t ${USER}/swe-agent:${VERSION_STR} -f docker/swe.Dockerfile --push .echo "🔥 swe-agent pushed to dockerhub"echo "------------------------------------------"-echo "Building swe-eval"-echo "------------------------------------------"-docker buildx build --platform=linux/amd64,linux/arm64 -t ${USER}/swe-eval:${VERSION_STR} -f docker/eval.Dockerfile --push .-echo "🔥 swe-eval pushed to dockerhub"-echo "------------------------------------------"echo "Building swe-agent-run"echo "------------------------------------------"docker buildx build --platform=linux/amd64,linux/arm64 -t ${USER}/swe-agent-run:${VERSION_STR} --push .diff --git a/setup.sh b/setup.shindex 8bf5bcab..117b92c8 100755--- a/setup.sh+++ b/setup.sh@@ -8,7 +8,4 @@ echo "Setting up docker image for swe-agent..."# https://github.com/princeton-nlp/SWE-agent/issues/245docker build -t sweagent/swe-agent:latest -f docker/swe.Dockerfile --build-arg TARGETARCH=$(uname -m) .-echo "Setting up docker image for evaluation..."-docker build -t sweagent/swe-eval:latest -f docker/eval.Dockerfile .-echo "Done with setup!"