princeton-nlp / SWE-bench

[ICLR 2024] SWE-Bench: Can Language Models Resolve Real-world Github Issues?
https://www.swebench.com
MIT License
1.47k stars 241 forks source link

Don't clobber the containing environment #112

Closed waterson closed 2 weeks ago

waterson commented 2 months ago

This change ensures that we don't replace the environment but instead modify it. This allows e.g. important variables like HTTP_PROXY to be passed down to the subprocess.

Fixes #111

john-b-yang commented 2 weeks ago

@waterson thanks for this fix! We were a bit busy in the past couple weeks with SWE-agent, apologies about such a long turn around!