mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/swe-bench/install_real_swebench.sh
This commit is contained in:
1 parent
e821fd11a8
commit
f0d856edf6
2 files changed
+27
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250807-135422", "task": "is this actually using the SWE-bench data and system? ", "timestamp": "2025-08-07T13:54:23Z", "commit": "b8bff500ccce382cbd7723fb228dbc4170384862", "github_release": "true"}
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
# Install real SWE-bench from official repository
|
||||
|
||||
echo "Installing official SWE-bench..."
|
||||
|
||||
# Install SWE-bench
|
||||
pip install swebench
|
||||
|
||||
# Clone the official repository for additional resources
|
||||
git clone https://github.com/princeton-nlp/SWE-bench.git swe-bench-official
|
||||
|
||||
# Download the dataset
|
||||
python -c "
|
||||
from datasets import load_dataset
|
||||
|
||||
# Load SWE-bench dataset from HuggingFace
|
||||
print('Downloading SWE-bench dataset...')
|
||||
dataset = load_dataset('princeton-nlp/SWE-bench', split='test')
|
||||
print(f'Loaded {len(dataset)} test instances')
|
||||
|
||||
# Save locally
|
||||
dataset.save_to_disk('swe-bench-data')
|
||||
print('Dataset saved to swe-bench-data/')
|
||||
"
|
||||
|
||||
echo "SWE-bench installation complete!"
|
||||
Reference in new issue
Block a user