From c5e4529f6ffddddd8f35ded1821093f6c173ab20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Revillard?= Date: Fri, 23 May 2025 12:26:29 +0200 Subject: [PATCH] Update swe-bench-setup.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this change, SWE-bench in a clean venv fails: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. swebench 4.0.3 requires beautifulsoup4, which is not installed. swebench 4.0.3 requires chardet, which is not installed. swebench 4.0.3 requires docker, which is not installed. swebench 4.0.3 requires ghapi, which is not installed. swebench 4.0.3 requires GitPython, which is not installed. swebench 4.0.3 requires modal, which is not installed. swebench 4.0.3 requires pre-commit, which is not installed. swebench 4.0.3 requires python-dotenv, which is not installed. swebench 4.0.3 requires rich, which is not installed. swebench 4.0.3 requires tenacity, which is not installed. swebench 4.0.3 requires unidiff, which is not installed. Successfully installed aiohappyeyeballs-2.6.1 aiohttp-3.11.18 aiosignal-1.3.2 attrs-25.3.0 certifi-2025.4.26 charset-normalizer-3.4.2 datasets-3.6.0 dill-0.3.8 filelock-3.18.0 frozenlist-1.6.0 fsspec-2025.3.0 huggingface-hub-0.31.4 idna-3.10 jsonlines-4.0.0 multidict-6.4.4 multiprocess-0.70.16 numpy-2.2.6 packaging-25.0 pandas-2.2.3 propcache-0.3.1 pyarrow-20.0.0 python-dateutil-2.9.0.post0 pytz-2025.2 pyyaml-6.0.2 regex-2024.11.6 requests-2.32.3 safetensors-0.5.3 six-1.17.0 tokenizers-0.21.1 tqdm-4.67.1 transformers-4.52.3 typing-extensions-4.13.2 tzdata-2025.2 urllib3-2.4.0 xxhash-3.5.0 yarl-1.20.0 ⚙️ Creating roocode configuration... 🔐 Creating environment configuration... ✅ Creating validation script... 🔍 Running setup validation... 🔍 Validating SWE-bench native setup for roocode SPARC... ✅ Found directory: datasets ✅ Found directory: logs ✅ Found directory: results ✅ Found directory: config ✅ Found directory: SWE-bench ✅ Found config key: benchmark_mode ✅ Found config key: docker_enabled ✅ Found config key: agent_system ❌ SWE-bench import failed: No module named 'bs4' make: *** [Makefile:23: setup] Error 1 --- scripts/swe-bench-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/swe-bench-setup.sh b/scripts/swe-bench-setup.sh index a6c6648..554aead 100644 --- a/scripts/swe-bench-setup.sh +++ b/scripts/swe-bench-setup.sh @@ -25,7 +25,7 @@ fi # Install SWE-bench dependencies (native mode) echo "🔧 Installing SWE-bench dependencies (native mode)..." cd swe-bench-workspace/SWE-bench -pip install -e . --no-deps +pip install -e . pip install datasets transformers jsonlines tqdm # Create roocode configuration @@ -164,4 +164,4 @@ echo " - new_task to 'sparc' mode for benchmark coordination" echo " - All SWE tasks will be routed through roocode modes" echo " 4. Monitor results in swe-bench-workspace/results/" echo "" -echo "🎯 Ready to benchmark roocode SPARC system on SWE-bench!" \ No newline at end of file +echo "🎯 Ready to benchmark roocode SPARC system on SWE-bench!"