Skip to content

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]

Merge branch 'talor-branch' into timeout_no_output

talorabr5bea85f61182
diff --cc docker/swe-ctf.Dockerfile
index 3240e9b7,697527de..0f5e905e
--- a/docker/swe-ctf.Dockerfile
+++ b/docker/swe-ctf.Dockerfile
@@@ -64,7 -64,7 +64,8 @@@ RUN pip install -r /root/requirements.t
RUN cd /opt && git clone https://github.com/RsaCtfTool/RsaCtfTool.git && apt-get install -y libgmp3-dev libmpc-dev && cd RsaCtfTool && pip3 install -r "requirements.txt"
COPY docker/number_theory__fixed /opt/RsaCtfTool/lib/number_theory.py
ENV PATH=$PATH:/opt/RsaCtfTool
+ENV PYTHONUNBUFFERED=1
+ ENV PWNLIB_NOTERM=1
WORKDIR /