Skip to content

🙌 OpenHands: AI-Driven Development

Improved logs (#2272)

மனோஜ்குமார் பழனிச்சாமிae815b20d296
diff --git a/evaluation/swe_bench/swe_env_box.py b/evaluation/swe_bench/swe_env_box.py
index 16ec63f2ca..051c06d8fb 100644
--- a/evaluation/swe_bench/swe_env_box.py
+++ b/evaluation/swe_bench/swe_env_box.py
@@ -51,7 +51,9 @@ class SWEBenchSSHBox(DockerSSHBox):
assert exit_code == 0, f'Failed to set SWE_INSTANCE_ID in ~/.bashrc: {output}'
logger.info('Sourcing swe_entry.sh to set up environment variables')
- # larger timeout for SWEBench init to account for long-running installations (e.g., require compilation)
+ logger.info(
+ 'Initialization of SWEBench may take approximately 10 minutes due to long-running installations, such as those requiring compilation.'
+ )
exit_code, output = self.execute('source /swe_util/swe_entry.sh', timeout=600)
logger.info('exit code: %d', exit_code)
logger.info(output)