SWE-bench Verified on StrataBox (stratabox/swebench-verified-erofs)
500 SWE-bench_Verified tasks across 12 Python repositories as composable base + toolkit + workspace EROFS layers. Mount it directly from the Hub with StrataBox over hf:// HTTP Range.
Official SDKs: Rust (cargo add stratabox-sdk), Python (pip install stratabox), Go (go get github.com/stratabox/stratabox-sdk-go), TypeScript (npm install @stratabox/sdk).
Overview
500 tasks, 12 repositories. Each task is stored as read-only EROFS layers served from this repository, so an Edge mounts a task by fetching only the 256 KiB chunks it touches. Metadata (meta.erofs) is prefetched, so directory walks and stat calls cost no data reads. Writes go to a per-sandbox OverlayFS upper directory and never modify the shared blobs.
StrataBox EROFS Dataset Suite
| Repository | Upstream benchmark | Tasks | Logical size | EROFS size | Size ratio | Range network saved (cold boot) | Status |
|---|---|---|---|---|---|---|---|
stratabox/swebench-verified-erofs (this repo) |
princeton-nlp/SWE-bench_Verified |
500 | 1,278.60 GiB | 105.54 GiB | 12.12x | 99.64% | Live |
stratabox/swebench-multilingual-erofs |
SWE-bench/SWE-bench_Multilingual |
300 | 481.73 GiB | 457.18 GiB | 1.05x | 98.10% | Live |
stratabox/livecodebench-erofs |
livecodebench/code_generation_lite |
1,055 | 1,409.45 GiB | 9.72 GiB | 144.95x | 99.90% | Live |
stratabox/terminal-bench-erofs |
harborframework/terminal-bench-2.0 |
89 | 81.57 GiB | 80.00 GiB | 1.02x | 99.08% | Live |
stratabox/swebench-pro-erofs |
ScaleAI/SWE-bench_Pro |
731 (planned) | - | - | - | - | Publishing |
Sizes are computed from each repository's root index.json. Network savings are the share of logical image bytes not transferred during a measured cold boot (see the telemetry table on each card).
Storage and Deduplication
| Metric | Value |
|---|---|
| Tasks | 500 |
| Unique base layers | 1 |
| Unique toolkit layers | 80 |
| Unique workspace layers | 500 |
| Total unique layers | 581 |
| Aggregate logical image size | 1,278.60 GiB (1,372,887,258,795 bytes) |
| Contiguous EROFS size | 105.54 GiB (113,320,488,960 bytes) |
| Size ratio | 12.12x (91.75% saved) |
EROFS layers are uncompressed and chunk-aligned to 256 KiB so that HTTP Range reads map directly to touched file extents.
The 500 tasks share 1 base layer and 80 Conda toolkit layers (deduplicated per repository environment); only the repository checkout is per-task. This repository was previously published as stratabox/swebench-erofs; the old name redirects on the Hub.
Measured hf:// Cold-Boot Telemetry
Recorded against this live repository with a single StrataBox Edge (stratabox cluster --edges 1, kernel 7.0.0-1018-gcp, GCP n2-standard-64, empty L2 chunk cache, no Docker daemon). 50 sandboxes across the most common toolkit of each of the 12 repositories.
| Strategy | Sandboxes | Logical image size | Network I/O | Wall time | Host RAM delta |
|---|---|---|---|---|---|
| Eager OCI pull | 50 | 151.50 GiB | 151.50 GiB | - | - |
StrataBox hf:// 256 KiB HTTP Range |
50 | 151.50 GiB | 558.5 MiB (99.64% saved) | 177.4 s | ~3.1 GiB |
Wall time includes first-touch lazy paging over the public internet and depends on the Edge-to-Hub path. A warm L2 cache serves repeat boots with no remote reads.
Quickstart
Terminal 1 starts a local cluster whose storage reads straight from this repository over HTTP Range. No Docker daemon, S3 credentials, or image pulls are needed.
export STRATABOX_REMOTE_URI="hf://datasets/stratabox/swebench-verified-erofs"
# Optional mirror (for example mainland China or offline CI):
# export HF_ENDPOINT="https://hf-mirror.com"
./target/release/stratabox cluster --edges 1
Terminal 2 boots sandboxes from index.json with the runnable demo examples/swebench_50_boot_demo.py:
export STRATABOX_REMOTE_URI="hf://datasets/stratabox/swebench-verified-erofs"
pip install stratabox httpx
python3 examples/swebench_50_boot_demo.py
Python SDK Snippet
Self-contained example (requires the cluster from Terminal 1):
import asyncio, httpx
from stratabox import StrataBoxClient, StrataBoxContainerRunArgs
INDEX = "https://huggingface.co/datasets/stratabox/swebench-verified-erofs/resolve/main/index.json"
async def main():
tasks = httpx.get(INDEX, follow_redirects=True).json()["instances"]
t = next(x for x in tasks if x["repo"] == "django/django")
async with StrataBoxClient("http://127.0.0.1:18080") as client:
sbx = await client.run_container(StrataBoxContainerRunArgs(
base_layer=t["base_layer"], toolkit_layers=[t["toolkit_layer"]],
workspace_layers=[t["workspace_layer"]], memory_limit_mb=512))
try:
r = await sbx.run_shell(f"/opt/miniconda3/bin/pytest --version && test -f /testbed/{t['target_file']}", timeout=180)
print(t["instance_id"], r.exit_code, r.stdout.strip())
finally:
await sbx.stop()
asyncio.run(main())
Integrations
- verl.
StrataBoxVerlToolandStrataBoxRolloutEnvacceptbase_layer,toolkit_layers, andworkspace_layersstraight fromindex.json, withidle_auto_pause_msfreezing idle rollouts between LLM turns. Seeintegrations/verl. - Harbor.
stratabox_harbor:StrataBoxEnvironmentruns Harbor task directories on thecontainer,microvm,fullvm, andfncallbackends. Seeintegrations/harbor.
Layout and index.json
index.json root manifest (schema_version 1)
.gitattributes Git LFS rules for *.blob and *.erofs
layers/<layer_slug>/ meta.erofs, layer_id.txt, layer_manifest.json
blobs/<blob_slug>/ data.blob, blob_manifest.json (served via HTTP Range)
Each layer uses a contiguous five-file layout with no per-chunk files, which stays far below the Hub's 10,000-files-per-directory limit.
Example instances[0] entry:
{
"instance_id": "astropy__astropy-13977",
"repo": "astropy/astropy",
"version": "5.1",
"base_commit": "5250b2442501e6c671c6b380536f1edb352602d1",
"base_layer": "swebench/base:ubuntu22",
"toolkit_layer": "swebench/tk:astropy-5.1-6fc76dab06",
"workspace_layer": "swebench/ws:astropy__astropy-13977",
"target_file": "astropy/units/quantity.py",
"test_cmd": "/opt/miniconda3/envs/testbed/bin/pytest -rA -vv -o console_output_style=classic --tb=no astropy/units/tests/test_quantity.py astropy/units/tests/te...",
"logical_image_bytes": 2262261036
}
Reproduce This Dataset
python3 examples/swebench_pack_3layer.py --out-remote-dir ./hf_export --max-instances 500
hf upload-large-folder stratabox/swebench-verified-erofs ./hf_export --repo-type=dataset
The packer pulls each upstream image, converts layers with stratabox layer publish-dir, and writes the manifest. Source: examples/swebench_pack_3layer.py.
Licensing
The packaging manifests and tooling are MIT. Task content (problem statements, patches, tests) and repository snapshots are derived from princeton-nlp/SWE-bench_Verified and the upstream open-source projects, and remain under their respective licenses.
Citation and Credits
Upstream benchmark: princeton-nlp/SWE-bench_Verified. Jimenez et al., SWE-bench: Can Language Models Resolve Real-World GitHub Issues? (ICLR 2024); OpenAI, Introducing SWE-bench Verified (2024). Packaging and sandbox runtime: StrataBox, an independent open-source implementation inspired by DSec (arXiv:2609.22978).
- Downloads last month
- 29