🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/swe-bench/install_real_swebench.sh

This commit is contained in:
rUv committed 2025-08-07 13:54:40 +00:00
1 parent b8bff500cc
commit ab275fc332
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!"