From f0d856edf66ed2f59dacba4ae73b8c4c38e82c4e Mon Sep 17 00:00:00 2001 From: rUv Date: Thu, 7 Aug 2025 13:54:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/swe-bench/install=5Freal=5Fswebench?= =?UTF-8?q?.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.claude/checkpoints/task-1754574863.json | 1 + benchmark/swe-bench/install_real_swebench.sh | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 benchmark/.claude/checkpoints/task-1754574863.json create mode 100644 benchmark/swe-bench/install_real_swebench.sh diff --git a/benchmark/.claude/checkpoints/task-1754574863.json b/benchmark/.claude/checkpoints/task-1754574863.json new file mode 100644 index 0000000000..466e3ffb41 --- /dev/null +++ b/benchmark/.claude/checkpoints/task-1754574863.json @@ -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"} diff --git a/benchmark/swe-bench/install_real_swebench.sh b/benchmark/swe-bench/install_real_swebench.sh new file mode 100644 index 0000000000..61b9b283b4 --- /dev/null +++ b/benchmark/swe-bench/install_real_swebench.sh @@ -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!" \ No newline at end of file