Dawn9705 commited on
Commit
18ace76
·
verified ·
1 Parent(s): a4bf6b0

Publish verified OLMES code executor image snapshot

Browse files
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ pretty_name: OLMES code execution Docker images
4
+ tags:
5
+ - docker
6
+ - code-evaluation
7
+ - olmes
8
+ - bigcodebench
9
+ - ds-1000
10
+ - multipl-e
11
+ ---
12
+
13
+ # OLMES code execution Docker images
14
+
15
+ This repository contains an unofficial, fixed `linux/amd64` snapshot of the
16
+ three Docker execution environments used by the external-user code-evaluation
17
+ path in [AllenAI OLMES](https://github.com/allenai/olmes):
18
+
19
+ | Image tag | OLMES task family | Expanded size shown by Docker |
20
+ |---|---|---:|
21
+ | `olmo-bcb-execution:latest` | BigCodeBench | 6.64 GB |
22
+ | `olmo-ds1000-execution:latest` | DS-1000 | 6.00 GB |
23
+ | `olmo-multipl-execution:latest` | MultiPL-E HumanEval and MBPP | 4.33 GB |
24
+
25
+ The images were used successfully in OLMES evaluation runs. They are provided
26
+ to make the execution environment easier to transfer to CPU executor nodes.
27
+ This is an artifact snapshot, not an official AllenAI image release.
28
+
29
+ ## Download and load
30
+
31
+ Install the Hugging Face CLI and Zstandard, then run:
32
+
33
+ ```bash
34
+ hf download Dawn9705/olmes-code-executor-images \
35
+ olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst \
36
+ SHA256SUMS \
37
+ scripts/verify_images.sh \
38
+ --repo-type dataset \
39
+ --local-dir ./olmes-code-executor-images
40
+
41
+ cd ./olmes-code-executor-images
42
+ sha256sum -c SHA256SUMS
43
+ zstd -dc olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst | docker load
44
+ bash scripts/verify_images.sh
45
+ ```
46
+
47
+ Alternatively, `scripts/download_and_load.sh` performs all of these steps:
48
+
49
+ ```bash
50
+ bash scripts/download_and_load.sh
51
+ ```
52
+
53
+ The compressed archive is about 3.67 GiB. Allow roughly 17 GB of Docker image
54
+ storage after loading it.
55
+
56
+ ## Snapshot identity
57
+
58
+ The archive keeps the image tags expected by OLMES. Do not use the mutable
59
+ `latest` label as the snapshot identity; use the full IDs below:
60
+
61
+ | Image | Full image ID | Image creation time |
62
+ |---|---|---|
63
+ | BigCodeBench | `sha256:afe3f2fc8719f2720fd5754e72f0fd028488f6e076593afdf26941afbe84aeab` | 2026-11-10 21:49:13 +08:00 |
64
+ | DS-1000 | `sha256:aa113c7b9b51dcab02f51a8ce91623aca9794c21873f5e19f01fcbf79c467fda` | 2026-11-10 21:53:38 +08:00 |
65
+ | MultiPL-E | `sha256:8b7fd428da677ac9ca683968e83eeab6c0f8666bd044e499ec46ea9bb40b25e6` | 2026-08-15 23:33:53 +08:00 |
66
+
67
+ Machine-readable provenance is available in `snapshot_manifest.json`.
68
+
69
+ ## OLMES usage note
70
+
71
+ Only BigCodeBench, DS-1000, and MultiPL-E use these Docker images in the
72
+ external-user OLMES route. HumanEval, MBPP, DeepSeek LeetCode, and Code FIM are
73
+ executed by OLMES locally and do not use these images.
74
+
75
+ DS-1000 should be run with one Uvicorn worker in the OLMES remote-Docker setup.
76
+ Using multiple server workers can trigger a Python multiprocessing pickling
77
+ failure in its correctness checker.
78
+
79
+ ## Security
80
+
81
+ These containers execute model-generated, untrusted code. Use isolated,
82
+ disposable executor hosts and do not expose the Docker daemon or executor HTTP
83
+ ports to untrusted networks. The images must not be treated as a complete
84
+ security boundary by themselves.
85
+
86
+ Before publication, the snapshot was checked for credential-like files and
87
+ patterns in its application directories, its image configuration was reviewed,
88
+ the Zstandard archive was tested, and a `docker load` round trip reproduced all
89
+ three original image IDs.
90
+
91
+ ## Licensing and provenance
92
+
93
+ This snapshot bundles many independently licensed components and therefore is
94
+ not distributed under one blanket license. See `THIRD_PARTY.md`. Users remain
95
+ responsible for complying with the licenses of the included upstream software.
96
+
SHA256SUMS ADDED
@@ -0,0 +1 @@
 
 
1
+ ace98b640ce1b001175c373ffbd7803ef79431b5ecf5fec9b0ea8d604f60e969 olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst
THIRD_PARTY.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-party software and provenance
2
+
3
+ This repository redistributes a binary snapshot containing many third-party
4
+ components. Each component remains subject to its own license; the repository's
5
+ `license: other` metadata does not replace those terms.
6
+
7
+ Principal upstream projects include:
8
+
9
+ - [AllenAI OLMES](https://github.com/allenai/olmes), Apache-2.0.
10
+ - [BigCodeBench](https://github.com/bigcode-project/bigcodebench) and its
11
+ published execution requirements.
12
+ - [DS-1000](https://github.com/xlang-ai/DS-1000).
13
+ - [MultiPL-E](https://github.com/nuprl/MultiPL-E).
14
+ - Amazon Linux AWS Lambda Python base images.
15
+ - Language runtimes and system packages for Python, C++, Java, JavaScript,
16
+ PHP, Rust, and shell execution.
17
+ - Python, R, and native libraries installed by the corresponding executor
18
+ Dockerfiles.
19
+
20
+ License and notice files shipped by the upstream operating-system packages,
21
+ language runtimes, and Python packages remain present inside the image layers.
22
+ This file is a provenance summary rather than an exhaustive software bill of
23
+ materials or legal opinion.
24
+
olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ace98b640ce1b001175c373ffbd7803ef79431b5ecf5fec9b0ea8d604f60e969
3
+ size 3941365258
scripts/download_and_load.sh ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ REPO_ID="${1:-Dawn9705/olmes-code-executor-images}"
5
+ OUTPUT_DIR="${2:-./olmes-code-executor-images}"
6
+ ARCHIVE="olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst"
7
+
8
+ for command_name in hf zstd docker sha256sum; do
9
+ if ! command -v "${command_name}" >/dev/null 2>&1; then
10
+ echo "Missing required command: ${command_name}" >&2
11
+ exit 1
12
+ fi
13
+ done
14
+
15
+ hf download "${REPO_ID}" \
16
+ "${ARCHIVE}" \
17
+ SHA256SUMS \
18
+ scripts/verify_images.sh \
19
+ --repo-type dataset \
20
+ --local-dir "${OUTPUT_DIR}"
21
+
22
+ (
23
+ cd "${OUTPUT_DIR}"
24
+ sha256sum -c SHA256SUMS
25
+ zstd -dc "${ARCHIVE}" | docker load
26
+ bash scripts/verify_images.sh
27
+ )
28
+
scripts/verify_images.sh ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ declare -A EXPECTED_IDS=(
5
+ ["olmo-bcb-execution:latest"]="sha256:afe3f2fc8719f2720fd5754e72f0fd028488f6e076593afdf26941afbe84aeab"
6
+ ["olmo-ds1000-execution:latest"]="sha256:aa113c7b9b51dcab02f51a8ce91623aca9794c21873f5e19f01fcbf79c467fda"
7
+ ["olmo-multipl-execution:latest"]="sha256:8b7fd428da677ac9ca683968e83eeab6c0f8666bd044e499ec46ea9bb40b25e6"
8
+ )
9
+
10
+ for image in "${!EXPECTED_IDS[@]}"; do
11
+ actual_id="$(docker image inspect "${image}" --format '{{.Id}}')"
12
+ platform="$(docker image inspect "${image}" --format '{{.Os}}/{{.Architecture}}')"
13
+ if [[ "${actual_id}" != "${EXPECTED_IDS[${image}]}" ]]; then
14
+ echo "Image ID mismatch for ${image}: ${actual_id}" >&2
15
+ exit 1
16
+ fi
17
+ if [[ "${platform}" != "linux/amd64" ]]; then
18
+ echo "Platform mismatch for ${image}: ${platform}" >&2
19
+ exit 1
20
+ fi
21
+ echo "OK ${image} ${actual_id} ${platform}"
22
+ done
snapshot_manifest.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "snapshot_name": "olmes-code-executors-linux-amd64-snapshot-20261117",
4
+ "snapshot_date": "2026-11-17",
5
+ "archive": {
6
+ "filename": "olmes-code-executors-linux-amd64-snapshot-20261117.tar.zst",
7
+ "format": "docker-save-tar-zstd",
8
+ "compressed_size_bytes": 3941365258,
9
+ "uncompressed_archive_size_bytes": 3997891584,
10
+ "sha256": "ace98b640ce1b001175c373ffbd7803ef79431b5ecf5fec9b0ea8d604f60e969"
11
+ },
12
+ "platform": {
13
+ "os": "linux",
14
+ "architecture": "amd64"
15
+ },
16
+ "images": [
17
+ {
18
+ "tag": "olmo-bcb-execution:latest",
19
+ "task_family": "BigCodeBench",
20
+ "image_id": "sha256:afe3f2fc8719f2720fd5754e72f0fd028488f6e076593afdf26941afbe84aeab",
21
+ "created": "2026-11-10T21:49:13.705803419+08:00",
22
+ "docker_image_ls_size": "6.64GB"
23
+ },
24
+ {
25
+ "tag": "olmo-ds1000-execution:latest",
26
+ "task_family": "DS-1000",
27
+ "image_id": "sha256:aa113c7b9b51dcab02f51a8ce91623aca9794c21873f5e19f01fcbf79c467fda",
28
+ "created": "2026-11-10T21:53:38.631813084+08:00",
29
+ "docker_image_ls_size": "6.00GB"
30
+ },
31
+ {
32
+ "tag": "olmo-multipl-execution:latest",
33
+ "task_family": "MultiPL-E HumanEval and MBPP",
34
+ "image_id": "sha256:8b7fd428da677ac9ca683968e83eeab6c0f8666bd044e499ec46ea9bb40b25e6",
35
+ "created": "2026-08-15T23:33:53.376785652+08:00",
36
+ "docker_image_ls_size": "4.33GB"
37
+ }
38
+ ],
39
+ "verification": {
40
+ "credential_pattern_scan": "passed",
41
+ "zstd_integrity_test": "passed",
42
+ "docker_load_round_trip": "passed",
43
+ "loaded_image_ids_match_source": true
44
+ },
45
+ "upstream": {
46
+ "olmes_repository": "https://github.com/allenai/olmes"
47
+ }
48
+ }
49
+