SWE-bench Multilingual on StrataBox (stratabox/swebench-multilingual-erofs)
300 SWE-bench_Multilingual tasks across 41 repositories and 9 languages as env + workspace EROFS layers with .git retained. Mount it directly from the Hub with StrataBox over hf:// HTTP Range.
See the 50-sandbox cold-boot demo recorded on stratabox/swebench-verified-erofs.
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
300 tasks, 41 repositories, 9 languages. 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 |
princeton-nlp/SWE-bench_Verified |
500 | 1,278.60 GiB | 105.54 GiB | 12.12x | 99.64% | Live |
stratabox/swebench-multilingual-erofs (this repo) |
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 | 300 |
| Unique base layers | 300 |
| Unique toolkit layers | 0 |
| Unique workspace layers | 300 |
| Total unique layers | 600 |
| Aggregate logical image size | 481.73 GiB (517,249,864,913 bytes) |
| Contiguous EROFS size | 457.18 GiB (490,895,953,920 bytes) |
| Size ratio | 1.05x (5.10% saved) |
EROFS layers are uncompressed and chunk-aligned to 256 KiB so that HTTP Range reads map directly to touched file extents.
Every Multilingual image is a distinct environment build, so layer sharing is low (1.05x). The saving for this repository comes from lazy paging, not deduplication: a cold boot reads about 2% of the logical image bytes.
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). 32 sandboxes stratified across all 9 languages, client concurrency 6.
| Strategy | Sandboxes | Logical image size | Network I/O | Wall time | Host RAM delta |
|---|---|---|---|---|---|
| Eager OCI pull | 32 | 59.10 GiB | 59.10 GiB | - | - |
StrataBox hf:// 256 KiB HTTP Range |
32 | 59.10 GiB | 1,149.3 MiB (98.10% saved) | 377.9 s | ~3.3 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-multilingual-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_multilingual_boot_demo.py:
export STRATABOX_REMOTE_URI="hf://datasets/stratabox/swebench-multilingual-erofs"
pip install stratabox httpx
python3 examples/swebench_multilingual_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-multilingual-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["language"] == "go")
async with StrataBoxClient("http://127.0.0.1:18080") as client:
sbx = await client.run_container(StrataBoxContainerRunArgs(
base_layer=t["base_layer"], toolkit_layers=[],
workspace_layers=[t["workspace_layer"]], env=t.get("oci_env") or {}, memory_limit_mb=512))
try:
r = await sbx.run_shell("if [ -f /etc/profile.d/swebench_oci_env.sh ]; then . /etc/profile.d/swebench_oci_env.sh; fi; go version && git -C /testbed rev-parse HEAD", 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": "apache__druid-13704",
"repo": "apache/druid",
"language": "java",
"version": "13704",
"base_commit": "51dfde02840017092486fb75be2b16566aff6a19",
"base_layer": "swebench-ml/env:apache-druid-3d7cda835f",
"toolkit_layers": [],
"workspace_layer": "swebench-ml/ws:apache__druid-13704",
"target_file": "docs/querying/post-aggregations.md",
"test_cmd": "(mvnd test -B -pl processing -Dtest=org.apache.druid.query.aggregation.post.ArithmeticPostAggregatorTest#testPow && mvnd test -B -pl processing -Dt...",
"log_parser": "parse_log_maven",
"eval_type": "pass_and_fail",
"oci_env": {
"PATH": "/usr/local/mvnd/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"JAVA_HOME": "/opt/java/openjdk",
"LANG": "en_US.UTF-8",
"LC_ALL": "en_US.UTF-8",
"MAVEN_HOME": "/usr/share/maven"
},
"logical_image_bytes": 1647920082
}
Reproduce This Dataset
python3 examples/swebench_multilingual_pack.py --out-remote-dir ./hf_export --max-instances 300
hf upload-large-folder stratabox/swebench-multilingual-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_multilingual_pack.py.
Licensing
The packaging manifests and tooling are MIT. Task content and repository snapshots are derived from SWE-bench/SWE-bench_Multilingual and the upstream open-source projects, and remain under their respective licenses.
Citation and Credits
Upstream benchmark: SWE-bench/SWE-bench_Multilingual. SWE-bench Multilingual, from the SWE-bench and SWE-smith authors (SWE-bench/SWE-bench_Multilingual). Packaging and sandbox runtime: StrataBox, an independent open-source implementation inspired by DSec (arXiv:2609.22978).
- Downloads last month
- 3