pilot batch: 3 tasks (ad_placement, k12_math, exchange_core) + bases + standalone builder
Browse files- README.md +83 -0
- bases/coq/Dockerfile +24 -0
- bases/cpp/Dockerfile +21 -0
- bases/java/Dockerfile +18 -0
- bases/lean_4/Dockerfile +28 -0
- bases/lean_4_28_0_main/Dockerfile +29 -0
- bases/python/Dockerfile +15 -0
- bases/python310/Dockerfile +15 -0
- bases/rust/Dockerfile +15 -0
- build_from_kit.py +170 -0
- kits/ad_placement_optimization/judge/Dockerfile +6 -0
- kits/ad_placement_optimization/judge/MANIFEST.sha256 +60 -0
- kits/ad_placement_optimization/judge/context.tar +3 -0
- kits/ad_placement_optimization/judge/kit.json +16 -0
- kits/ad_placement_optimization/work/Dockerfile +7 -0
- kits/ad_placement_optimization/work/MANIFEST.sha256 +92 -0
- kits/ad_placement_optimization/work/context.tar +3 -0
- kits/ad_placement_optimization/work/kit.json +19 -0
- kits/exchange_core_throughput/judge/Dockerfile +6 -0
- kits/exchange_core_throughput/judge/MANIFEST.sha256 +0 -0
- kits/exchange_core_throughput/judge/context.tar +3 -0
- kits/exchange_core_throughput/judge/kit.json +17 -0
- kits/exchange_core_throughput/work/Dockerfile +7 -0
- kits/exchange_core_throughput/work/MANIFEST.sha256 +0 -0
- kits/exchange_core_throughput/work/context.tar +3 -0
- kits/exchange_core_throughput/work/kit.json +18 -0
- kits/k12_math_recommendation/judge/Dockerfile +7 -0
- kits/k12_math_recommendation/judge/MANIFEST.sha256 +0 -0
- kits/k12_math_recommendation/judge/context.tar +3 -0
- kits/k12_math_recommendation/judge/kit.json +23 -0
- kits/k12_math_recommendation/work/Dockerfile +7 -0
- kits/k12_math_recommendation/work/MANIFEST.sha256 +0 -0
- kits/k12_math_recommendation/work/context.tar +3 -0
- kits/k12_math_recommendation/work/kit.json +25 -0
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pretty_name: EdgeBench Build Kits
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# EdgeBench Build Kits
|
| 7 |
+
|
| 8 |
+
Self-contained, auditable build kits for rebuilding the **EdgeBench** task
|
| 9 |
+
environment images from scratch on your own infrastructure — no access to any
|
| 10 |
+
private registry or network required.
|
| 11 |
+
|
| 12 |
+
Every released EdgeBench task image is exactly: **a public base image + a set
|
| 13 |
+
of filesystem layers on top**. A kit ships that upper-layer content in an
|
| 14 |
+
inspectable form, so a rebuild covers the same audit surface as a from-scratch
|
| 15 |
+
build, while you audit the exact shipped bits rather than a build recipe that
|
| 16 |
+
could drift from them.
|
| 17 |
+
|
| 18 |
+
## Repository layout
|
| 19 |
+
|
| 20 |
+
```
|
| 21 |
+
bases/<key>/Dockerfile # reference recipes for the language base images
|
| 22 |
+
# (generated from EdgeBench tasks/BENCHMARK.yaml)
|
| 23 |
+
kits/<task_id>/work/ # one kit per released image
|
| 24 |
+
kits/<task_id>/judge/
|
| 25 |
+
Dockerfile # FROM <base tag> [+ RUN rm] + ADD context.tar + config replay
|
| 26 |
+
context.tar # merged filesystem diff above the base (ownership/modes preserved)
|
| 27 |
+
MANIFEST.sha256 # per-file sha256 + mode + uid:gid + size — the audit anchor
|
| 28 |
+
kit.json # provenance: source/base image IDs, layer digests, final image name
|
| 29 |
+
build_from_kit.py # standalone builder/verifier (python3 stdlib + docker CLI only)
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
Notes on the format:
|
| 33 |
+
|
| 34 |
+
- `context.tar` is the **merged final view** of the task layers: files added
|
| 35 |
+
and later deleted by intermediate layers are collapsed away and never ship.
|
| 36 |
+
- Layer whiteouts are materialized as `RUN rm` **only** when they delete files
|
| 37 |
+
that exist in the base image; the pilot kits are purely additive (no `RUN rm`).
|
| 38 |
+
- `ADD context.tar /` preserves every file's owner, mode, and symlinks exactly
|
| 39 |
+
as recorded in the released image's layers.
|
| 40 |
+
|
| 41 |
+
## Quick start (with the SForge harness)
|
| 42 |
+
|
| 43 |
+
Base images build from public official images (`ubuntu:22.04`, `python:3.11`,
|
| 44 |
+
`maven:3.9-eclipse-temurin-17`, ...). Base tags are deterministic — they hash
|
| 45 |
+
the base definition in `tasks/BENCHMARK.yaml` — so a base you build yourself
|
| 46 |
+
gets exactly the name each kit's `FROM` line expects.
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
# builds the base automatically, then work + judge from the kits,
|
| 50 |
+
# then re-verifies every file against MANIFEST.sha256
|
| 51 |
+
python -m sforge build --task ad_placement_optimization --kits-dir kits/ --verify
|
| 52 |
+
python -m sforge run --task ad_placement_optimization --agent ...
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Quick start (standalone, no harness)
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
# base (tag must match the kit Dockerfile's FROM line, see bases/)
|
| 59 |
+
docker build -t edgebench.base.cpp:19685ea8d3f4 bases/cpp/
|
| 60 |
+
|
| 61 |
+
# task images — the kit directory is the docker build context;
|
| 62 |
+
# tag with kit.json's "final_name"
|
| 63 |
+
docker build -t edgebench.work.ad_placement_optimization:49747cad3ebd \
|
| 64 |
+
kits/ad_placement_optimization/work
|
| 65 |
+
docker build -t edgebench.judge.ad_placement_optimization:56cbfc81cfa1 \
|
| 66 |
+
kits/ad_placement_optimization/judge
|
| 67 |
+
|
| 68 |
+
# optional: file-by-file verification against the manifest
|
| 69 |
+
python3 build_from_kit.py --kit kits/ad_placement_optimization/work --verify
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
## Verifying the kits themselves
|
| 73 |
+
|
| 74 |
+
Each `kit.json` records the source image ID the kit was derived from. To
|
| 75 |
+
cross-check independently: pull the corresponding published EdgeBench image,
|
| 76 |
+
compute its filesystem diff over the published base, and compare with
|
| 77 |
+
`MANIFEST.sha256` — the manifests are reproducible byte-for-byte.
|
| 78 |
+
|
| 79 |
+
## Current coverage
|
| 80 |
+
|
| 81 |
+
Pilot batch (3 tasks / 6 kits): `ad_placement_optimization` (cpp),
|
| 82 |
+
`k12_math_recommendation` (python), `exchange_core_throughput` (java).
|
| 83 |
+
Remaining tasks will be added incrementally.
|
bases/coq/Dockerfile
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.coq:5cd61ba2479d
|
| 2 |
+
FROM --platform=linux/amd64 coqorg/coq:8.20
|
| 3 |
+
USER root
|
| 4 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
ENV TZ=Etc/UTC
|
| 6 |
+
|
| 7 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 8 |
+
git \
|
| 9 |
+
curl \
|
| 10 |
+
jq \
|
| 11 |
+
build-essential \
|
| 12 |
+
gcc \
|
| 13 |
+
g++ \
|
| 14 |
+
python3 \
|
| 15 |
+
make \
|
| 16 |
+
procps sudo \
|
| 17 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 18 |
+
&& useradd -m -s /bin/bash agent \
|
| 19 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 20 |
+
&& git config --global safe.directory '*'
|
| 21 |
+
ENV PATH="/home/coq/.opam/${COMPILER}/bin:${PATH}"
|
| 22 |
+
RUN chmod -R a+rX /home/coq/.opam
|
| 23 |
+
ENTRYPOINT []
|
| 24 |
+
|
bases/cpp/Dockerfile
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.cpp:19685ea8d3f4
|
| 2 |
+
FROM --platform=linux/amd64 ubuntu:22.04
|
| 3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Etc/UTC
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
git \
|
| 8 |
+
curl \
|
| 9 |
+
jq \
|
| 10 |
+
build-essential \
|
| 11 |
+
cmake \
|
| 12 |
+
gcc \
|
| 13 |
+
g++ \
|
| 14 |
+
libffi-dev \
|
| 15 |
+
pkg-config \
|
| 16 |
+
ca-certificates sudo \
|
| 17 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 18 |
+
&& useradd -m -s /bin/bash agent \
|
| 19 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 20 |
+
&& git config --global safe.directory '*'
|
| 21 |
+
|
bases/java/Dockerfile
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.java:c530f7be6c58
|
| 2 |
+
FROM --platform=linux/amd64 maven:3.9-eclipse-temurin-17
|
| 3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Etc/UTC
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
git \
|
| 8 |
+
curl \
|
| 9 |
+
jq \
|
| 10 |
+
build-essential \
|
| 11 |
+
ant \
|
| 12 |
+
unzip \
|
| 13 |
+
python3 sudo \
|
| 14 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 15 |
+
&& useradd -m -s /bin/bash agent \
|
| 16 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 17 |
+
&& git config --global safe.directory '*'
|
| 18 |
+
|
bases/lean_4/Dockerfile
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.lean_4:bae328d1b8b2
|
| 2 |
+
FROM --platform=linux/amd64 ubuntu:22.04
|
| 3 |
+
USER root
|
| 4 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
ENV TZ=Etc/UTC
|
| 6 |
+
|
| 7 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 8 |
+
git \
|
| 9 |
+
curl \
|
| 10 |
+
jq \
|
| 11 |
+
build-essential \
|
| 12 |
+
gcc \
|
| 13 |
+
g++ \
|
| 14 |
+
python3 \
|
| 15 |
+
make \
|
| 16 |
+
procps \
|
| 17 |
+
ca-certificates sudo \
|
| 18 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 19 |
+
&& useradd -m -s /bin/bash agent \
|
| 20 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 21 |
+
&& git config --global safe.directory '*'
|
| 22 |
+
ENV ELAN_HOME=/opt/elan
|
| 23 |
+
ENV PATH="/opt/elan/bin:${PATH}"
|
| 24 |
+
RUN mkdir -p /opt/elan && chown -R agent:agent /opt/elan
|
| 25 |
+
RUN curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | env ELAN_HOME=/opt/elan sh -s -- -y --default-toolchain none
|
| 26 |
+
WORKDIR /home/workspace
|
| 27 |
+
ENTRYPOINT []
|
| 28 |
+
|
bases/lean_4_28_0_main/Dockerfile
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.lean_4_28_0_main:fca39c54aec8
|
| 2 |
+
FROM --platform=linux/amd64 ubuntu:22.04
|
| 3 |
+
USER root
|
| 4 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
ENV TZ=Etc/UTC
|
| 6 |
+
|
| 7 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 8 |
+
git \
|
| 9 |
+
curl \
|
| 10 |
+
jq \
|
| 11 |
+
build-essential \
|
| 12 |
+
gcc \
|
| 13 |
+
g++ \
|
| 14 |
+
python3 \
|
| 15 |
+
make \
|
| 16 |
+
procps \
|
| 17 |
+
ca-certificates sudo \
|
| 18 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 19 |
+
&& useradd -m -s /bin/bash agent \
|
| 20 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 21 |
+
&& git config --global safe.directory '*'
|
| 22 |
+
ENV ELAN_HOME=/opt/elan
|
| 23 |
+
ENV PATH="/opt/elan/bin:${PATH}"
|
| 24 |
+
RUN mkdir -p /opt/elan && chown -R agent:agent /opt/elan
|
| 25 |
+
RUN curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | env ELAN_HOME=/opt/elan sh -s -- -y --default-toolchain none
|
| 26 |
+
WORKDIR /home/workspace
|
| 27 |
+
RUN lake +leanprover/lean4:v4.28.0 new baseline math
|
| 28 |
+
ENTRYPOINT []
|
| 29 |
+
|
bases/python/Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.python:e4670062c1cb
|
| 2 |
+
FROM --platform=linux/amd64 python:3.11
|
| 3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Etc/UTC
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
git \
|
| 8 |
+
curl \
|
| 9 |
+
jq \
|
| 10 |
+
build-essential sudo \
|
| 11 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 12 |
+
&& useradd -m -s /bin/bash agent \
|
| 13 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 14 |
+
&& git config --global safe.directory '*'
|
| 15 |
+
|
bases/python310/Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.python310:6fd084182df4
|
| 2 |
+
FROM --platform=linux/amd64 python:3.10
|
| 3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Etc/UTC
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
git \
|
| 8 |
+
curl \
|
| 9 |
+
jq \
|
| 10 |
+
build-essential sudo \
|
| 11 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 12 |
+
&& useradd -m -s /bin/bash agent \
|
| 13 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 14 |
+
&& git config --global safe.directory '*'
|
| 15 |
+
|
bases/rust/Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Builds edgebench.base.rust:b764c9a0a305
|
| 2 |
+
FROM --platform=linux/amd64 rust:1.78
|
| 3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Etc/UTC
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
git \
|
| 8 |
+
curl \
|
| 9 |
+
jq \
|
| 10 |
+
build-essential sudo \
|
| 11 |
+
&& rm -rf /var/lib/apt/lists/* \
|
| 12 |
+
&& useradd -m -s /bin/bash agent \
|
| 13 |
+
&& echo 'agent ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
| 14 |
+
&& git config --global safe.directory '*'
|
| 15 |
+
|
build_from_kit.py
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Build an EdgeBench work/judge image from a build kit, and verify the result.
|
| 3 |
+
|
| 4 |
+
Standalone version (python3 stdlib + docker CLI only, no sforge install needed).
|
| 5 |
+
If you have the SForge repo set up, the integrated equivalent is:
|
| 6 |
+
|
| 7 |
+
python -m sforge build --task <task_id> --kits-dir <kits_root> [--verify]
|
| 8 |
+
|
| 9 |
+
A kit directory (produced by export_task_kit.py) contains:
|
| 10 |
+
Dockerfile, context.tar, MANIFEST.sha256, kit.json
|
| 11 |
+
|
| 12 |
+
Prerequisite: the base image named in the Dockerfile's FROM line already exists
|
| 13 |
+
locally — build it from tasks/BENCHMARK.yaml with scripts/build_base_images.py.
|
| 14 |
+
Base tags are deterministic, so a base built from the same BENCHMARK.yaml
|
| 15 |
+
anywhere resolves the FROM line with no retagging.
|
| 16 |
+
|
| 17 |
+
Usage:
|
| 18 |
+
python3 build_from_kit.py --kit kits/ad_placement_optimization/work --verify
|
| 19 |
+
python3 build_from_kit.py --kits-root kits --verify # every */work, */judge
|
| 20 |
+
|
| 21 |
+
Only needs python3 stdlib + the docker CLI.
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
from __future__ import annotations
|
| 25 |
+
|
| 26 |
+
import argparse
|
| 27 |
+
import hashlib
|
| 28 |
+
import json
|
| 29 |
+
import re
|
| 30 |
+
import subprocess
|
| 31 |
+
import sys
|
| 32 |
+
import tarfile
|
| 33 |
+
import tempfile
|
| 34 |
+
from pathlib import Path
|
| 35 |
+
|
| 36 |
+
MANIFEST_RE = re.compile(r"^(\S+) (0o\d+) (\d+):(\d+) +(\d+) /(.*)$")
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def run(cmd: list[str], **kw) -> subprocess.CompletedProcess:
|
| 40 |
+
return subprocess.run(cmd, check=True, **kw)
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def image_exists(ref: str) -> bool:
|
| 44 |
+
return subprocess.run(["docker", "image", "inspect", ref],
|
| 45 |
+
capture_output=True).returncode == 0
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def build_kit(kit_dir: Path) -> str:
|
| 49 |
+
kit = json.loads((kit_dir / "kit.json").read_text())
|
| 50 |
+
final_name, from_tag = kit["final_name"], kit["from_tag"]
|
| 51 |
+
|
| 52 |
+
if not image_exists(from_tag):
|
| 53 |
+
sys.exit(f"ERROR: base image '{from_tag}' not found locally.\n"
|
| 54 |
+
f"Build it first: python3 scripts/build_base_images.py --base <key>")
|
| 55 |
+
|
| 56 |
+
print(f"[build] {kit_dir} -> {final_name}")
|
| 57 |
+
run(["docker", "build", "-t", final_name, str(kit_dir)])
|
| 58 |
+
return final_name
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def verify_kit(kit_dir: Path, image: str) -> bool:
|
| 62 |
+
"""Export the built image and check every MANIFEST entry + every deletion."""
|
| 63 |
+
entries = []
|
| 64 |
+
for line in (kit_dir / "MANIFEST.sha256").read_text().splitlines():
|
| 65 |
+
m = MANIFEST_RE.match(line)
|
| 66 |
+
if not m:
|
| 67 |
+
sys.exit(f"ERROR: unparseable manifest line: {line}")
|
| 68 |
+
entries.append(m.groups()) # (digest, mode, uid, gid, size, path)
|
| 69 |
+
kit = json.loads((kit_dir / "kit.json").read_text())
|
| 70 |
+
if "deletions" in kit:
|
| 71 |
+
deletions = kit["deletions"]
|
| 72 |
+
else: # older kit layout kept them in a sidecar file
|
| 73 |
+
dt = kit_dir / "deletions.txt"
|
| 74 |
+
deletions = [d.strip() for d in dt.read_text().splitlines() if d.strip()] if dt.is_file() else []
|
| 75 |
+
|
| 76 |
+
print(f"[verify] exporting {image} ...")
|
| 77 |
+
with tempfile.TemporaryDirectory() as td:
|
| 78 |
+
export = Path(td) / "rootfs.tar"
|
| 79 |
+
cid = subprocess.run(["docker", "create", image], check=True,
|
| 80 |
+
capture_output=True, text=True).stdout.strip()
|
| 81 |
+
try:
|
| 82 |
+
run(["docker", "export", cid, "-o", str(export)])
|
| 83 |
+
finally:
|
| 84 |
+
subprocess.run(["docker", "rm", cid], capture_output=True)
|
| 85 |
+
|
| 86 |
+
seen: dict[str, tuple] = {} # path -> (kind, digest, mode, uid, gid)
|
| 87 |
+
with tarfile.open(export) as t:
|
| 88 |
+
for mem in t:
|
| 89 |
+
p = mem.name.strip("/").removeprefix("./")
|
| 90 |
+
if mem.isreg():
|
| 91 |
+
h = hashlib.sha256()
|
| 92 |
+
f = t.extractfile(mem)
|
| 93 |
+
for chunk in iter(lambda: f.read(1 << 20), b""):
|
| 94 |
+
h.update(chunk)
|
| 95 |
+
seen[p] = ("file", h.hexdigest(), mem.mode, mem.uid, mem.gid)
|
| 96 |
+
elif mem.issym():
|
| 97 |
+
seen[p] = ("symlink", mem.linkname, mem.mode, mem.uid, mem.gid)
|
| 98 |
+
elif mem.isdir():
|
| 99 |
+
seen[p] = ("dir", None, mem.mode, mem.uid, mem.gid)
|
| 100 |
+
elif mem.islnk():
|
| 101 |
+
seen[p] = ("hardlink", mem.linkname.strip("/"), mem.mode, mem.uid, mem.gid)
|
| 102 |
+
|
| 103 |
+
bad = 0
|
| 104 |
+
manifest_paths = set()
|
| 105 |
+
for digest, mode_s, uid_s, gid_s, _size, path in entries:
|
| 106 |
+
path = path.rstrip("/")
|
| 107 |
+
manifest_paths.add(path)
|
| 108 |
+
got = seen.get(path)
|
| 109 |
+
mode, uid, gid = int(mode_s, 8), int(uid_s), int(gid_s)
|
| 110 |
+
if got is None:
|
| 111 |
+
print(f" MISSING /{path}"); bad += 1; continue
|
| 112 |
+
kind, gdigest, gmode, guid, ggid = got
|
| 113 |
+
want_kind = ("dir" if digest == "dir"
|
| 114 |
+
else "symlink" if digest.startswith("symlink->")
|
| 115 |
+
else "hardlink" if digest.startswith("hardlink->")
|
| 116 |
+
else "file")
|
| 117 |
+
ok_content = (
|
| 118 |
+
(want_kind == "dir" and kind == "dir")
|
| 119 |
+
or (want_kind == "symlink" and kind == "symlink" and gdigest == digest[len("symlink->"):])
|
| 120 |
+
or (want_kind == "hardlink" and kind in ("hardlink", "file"))
|
| 121 |
+
or (want_kind == "file" and kind == "file" and gdigest == digest)
|
| 122 |
+
)
|
| 123 |
+
if not ok_content:
|
| 124 |
+
print(f" CONTENT /{path} want {digest[:32]} got {kind}:{str(gdigest)[:32]}"); bad += 1
|
| 125 |
+
if (gmode, guid, ggid) != (mode, uid, gid):
|
| 126 |
+
print(f" META /{path} want {oct(mode)} {uid}:{gid} got {oct(gmode)} {guid}:{ggid}"); bad += 1
|
| 127 |
+
|
| 128 |
+
for d in deletions:
|
| 129 |
+
if d in seen and d not in manifest_paths:
|
| 130 |
+
print(f" UNDELETED /{d}"); bad += 1
|
| 131 |
+
|
| 132 |
+
print(f"[verify] {len(entries)} manifest entries, {len(deletions)} deletions, "
|
| 133 |
+
f"{bad} problem(s) -> {'FAIL' if bad else 'OK'}")
|
| 134 |
+
return bad == 0
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def main() -> int:
|
| 138 |
+
ap = argparse.ArgumentParser()
|
| 139 |
+
ap.add_argument("--kit", type=Path, help="one kit directory")
|
| 140 |
+
ap.add_argument("--kits-root", type=Path, help="root holding <task>/{work,judge} kits")
|
| 141 |
+
ap.add_argument("--verify", action="store_true", help="verify built image against MANIFEST.sha256")
|
| 142 |
+
args = ap.parse_args()
|
| 143 |
+
|
| 144 |
+
if bool(args.kit) == bool(args.kits_root):
|
| 145 |
+
ap.error("choose exactly one of --kit / --kits-root")
|
| 146 |
+
|
| 147 |
+
kits = [args.kit] if args.kit else sorted(
|
| 148 |
+
p for p in args.kits_root.glob("*/*") if (p / "kit.json").is_file())
|
| 149 |
+
if not kits:
|
| 150 |
+
sys.exit("no kits found")
|
| 151 |
+
|
| 152 |
+
failures = []
|
| 153 |
+
for kit_dir in kits:
|
| 154 |
+
try:
|
| 155 |
+
image = build_kit(kit_dir)
|
| 156 |
+
if args.verify and not verify_kit(kit_dir, image):
|
| 157 |
+
failures.append(str(kit_dir))
|
| 158 |
+
except subprocess.CalledProcessError as exc:
|
| 159 |
+
print(f"[fail ] {kit_dir}: {exc}")
|
| 160 |
+
failures.append(str(kit_dir))
|
| 161 |
+
|
| 162 |
+
if failures:
|
| 163 |
+
print(f"FAILED: {failures}")
|
| 164 |
+
return 1
|
| 165 |
+
print(f"all {len(kits)} kit(s) built" + (" and verified" if args.verify else ""))
|
| 166 |
+
return 0
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
if __name__ == "__main__":
|
| 170 |
+
raise SystemExit(main())
|
kits/ad_placement_optimization/judge/Dockerfile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.judge.ad_placement_optimization:56cbfc81cfa1
|
| 2 |
+
# from the diff of seededge/edgebench.judge.ad_placement_optimization:56cbfc81cfa1 (id ac9145af315b)
|
| 3 |
+
# over seededge/edgebench.base.cpp:19685ea8d3f4 (id 235c300afde1)
|
| 4 |
+
FROM edgebench.base.cpp:19685ea8d3f4
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace/ad-placement
|
kits/ad_placement_optimization/judge/MANIFEST.sha256
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dir 0o755 0:0 0 /home/
|
| 2 |
+
dir 0o755 0:0 0 /home/workspace/
|
| 3 |
+
dir 0o755 0:0 0 /home/workspace/ad-placement/
|
| 4 |
+
dir 0o755 0:0 0 /home/workspace/ad-placement/cases/
|
| 5 |
+
3da9030e6309695fa64b785455d679af446db2b16826fe788c90399431bc7c92 0o644 0:0 901 /home/workspace/ad-placement/cases/0000.txt
|
| 6 |
+
bc17e0d17a917a4307995856576a3dab00cf9ea61d0a427fe53181b343b810ab 0o644 0:0 2007 /home/workspace/ad-placement/cases/0001.txt
|
| 7 |
+
6590f9672af41c200e9afd71f8be3cc9224af4d974a5e710873fe8dde1560dc2 0o644 0:0 955 /home/workspace/ad-placement/cases/0002.txt
|
| 8 |
+
690e6124d6083bdb993d19ce02981d778a10deea5b3786b504aea6bed4ace6ad 0o644 0:0 1991 /home/workspace/ad-placement/cases/0003.txt
|
| 9 |
+
2195b23bba08d0dab66a9a09fd7c47521068b8ba60e2a1c78ae3704f4838e84a 0o644 0:0 1843 /home/workspace/ad-placement/cases/0004.txt
|
| 10 |
+
63be8370bc95b7a230e11b18b68d9cf720f68057bd0140533543dbef61306958 0o644 0:0 1985 /home/workspace/ad-placement/cases/0005.txt
|
| 11 |
+
f287ef4d369628c9c2060a7fbab98d79fa507d0384bf2b1bd13747b2addd5e3d 0o644 0:0 1691 /home/workspace/ad-placement/cases/0006.txt
|
| 12 |
+
29987c34eddfba2edfa25ecc9e86b9fa4ec0500c8309c01e04ad2522bc06a4fb 0o644 0:0 907 /home/workspace/ad-placement/cases/0007.txt
|
| 13 |
+
346b9acf263cfb90a317a0c88c1fc4a9f88fe0e0b7010beb1b59e971924af21f 0o644 0:0 1458 /home/workspace/ad-placement/cases/0008.txt
|
| 14 |
+
4f025d9086e656c79d2b9bbeee3f3091428cd7aada6eae9f8052c22a26caf8d0 0o644 0:0 890 /home/workspace/ad-placement/cases/0009.txt
|
| 15 |
+
3bd7fe5554fada30c23a3189bfd2123dcb130de64898505d70d17e51a3afd509 0o644 0:0 1307 /home/workspace/ad-placement/cases/0010.txt
|
| 16 |
+
93cbdb0806a119f7220dec310334220eb2ee4785e2104dadad5218699f5e65e2 0o644 0:0 2799 /home/workspace/ad-placement/cases/0011.txt
|
| 17 |
+
3e843bee8e75588cec560e9a777a8c63b116af72c7f5615d0aabcb1a69f38d7b 0o644 0:0 1725 /home/workspace/ad-placement/cases/0012.txt
|
| 18 |
+
27ea535d82776c1875f38d675842a35381cc82d4eac494871ad77cf036c7cf62 0o644 0:0 1121 /home/workspace/ad-placement/cases/0013.txt
|
| 19 |
+
a524e240be486c7c15d8ac6378f6bd6beb1ab7c97a2b914e2bffe73299340cca 0o644 0:0 1468 /home/workspace/ad-placement/cases/0014.txt
|
| 20 |
+
0a26fcd806e4d251337ac82fb24d6751e5b7a24975b7b1c9c6d68ac8fb6717d2 0o644 0:0 2573 /home/workspace/ad-placement/cases/0015.txt
|
| 21 |
+
27a312518dcb20321fbee52c33f0c3eb0c5ea9906a4e37c636315a79bdf941e1 0o644 0:0 1795 /home/workspace/ad-placement/cases/0016.txt
|
| 22 |
+
1ed7b11f5e7f9e20b5a3c9be9640a78d62360a5a987cabb5432e7654ace450dc 0o644 0:0 1172 /home/workspace/ad-placement/cases/0017.txt
|
| 23 |
+
1cc9eeaa785bb6e806ea2656b0c5fa0550690e48715b1140b30f2a72967eca4c 0o644 0:0 2541 /home/workspace/ad-placement/cases/0018.txt
|
| 24 |
+
bc7b8b53e20cca34a818b27da1cf29d0bbede54f8bab0bb349b996db14ecabfa 0o644 0:0 2923 /home/workspace/ad-placement/cases/0019.txt
|
| 25 |
+
a9000f67ffb727883ab632c0179c25fa0d7340c94a6ad058cdb7f6b645a03f81 0o644 0:0 1473 /home/workspace/ad-placement/cases/0020.txt
|
| 26 |
+
4c8766c9ae65c1da502b90ba067dbc79acfe00a2e4800fcedc7202b6cdeec6f4 0o644 0:0 1099 /home/workspace/ad-placement/cases/0021.txt
|
| 27 |
+
dea9abb94c4a3bf8410db21adc9f6065a8faa6390736202a7f6976377cc7d59e 0o644 0:0 1613 /home/workspace/ad-placement/cases/0022.txt
|
| 28 |
+
d06bfac651227e04bf2921ca050f8e963b89496e44e51f2391281a8474dc58fa 0o644 0:0 3311 /home/workspace/ad-placement/cases/0023.txt
|
| 29 |
+
ec787ad2db26cd59e150618833cab3027eb6730e651b8c4ac83baba93508095f 0o644 0:0 1270 /home/workspace/ad-placement/cases/0024.txt
|
| 30 |
+
28faa019218ad89ec285da15261e89aff9b13f38e56c41906992658ff7cbb445 0o644 0:0 890 /home/workspace/ad-placement/cases/0025.txt
|
| 31 |
+
7319ed3dfddab6baf6e84ec00c695b770962a7c681a39b17a6e30972604ff5ae 0o644 0:0 987 /home/workspace/ad-placement/cases/0026.txt
|
| 32 |
+
36910505b7d31d54a45d8625caaed2a8c3f2e9e6a8fd3010b035fead91880ac7 0o644 0:0 979 /home/workspace/ad-placement/cases/0027.txt
|
| 33 |
+
f71010d178c59bc01d2b426fd87a39f76a2b5f07e4010fc74dcc6b862b14ed7c 0o644 0:0 1446 /home/workspace/ad-placement/cases/0028.txt
|
| 34 |
+
6623d4a65cdeabbf463cb417b83a72d6f18dd1eddbbcc5f64a27543033bf013a 0o644 0:0 2342 /home/workspace/ad-placement/cases/0029.txt
|
| 35 |
+
809e23cfa5be4fdfe5685df2214c24be9efdfa68529fc6eb247a5622eb0b8ae9 0o644 0:0 961 /home/workspace/ad-placement/cases/0030.txt
|
| 36 |
+
3bc474f143637579a6ec859f93c5bfd7341ceea752d445950122d5dae7d31cf9 0o644 0:0 1231 /home/workspace/ad-placement/cases/0031.txt
|
| 37 |
+
c9f9d0646c805257a5f000b023537e8a727b3c537cb17761970bbdf35613aa50 0o644 0:0 3060 /home/workspace/ad-placement/cases/0032.txt
|
| 38 |
+
80f6fae944aea85f2ae6de43300e9a95a747e87727bdc928dfdc3ac44025f7ac 0o644 0:0 2003 /home/workspace/ad-placement/cases/0033.txt
|
| 39 |
+
e49d4ef40a75aa42ce8a4c41a1c3b0528a248847cd2de1755f018ca080105bb9 0o644 0:0 958 /home/workspace/ad-placement/cases/0034.txt
|
| 40 |
+
06f62cac0f5dfaf49db4e932a20abc0a85b803b55cef3e5b01a2e6a12621dc19 0o644 0:0 1308 /home/workspace/ad-placement/cases/0035.txt
|
| 41 |
+
88861765e864a22a4a7d1a00f2954a27ddfb5f4d09053ada256eb77ef7986e2c 0o644 0:0 3052 /home/workspace/ad-placement/cases/0036.txt
|
| 42 |
+
50303da9aee4edecb4ff8386b0514ccba4124160ad94f2064c0393d743c8048d 0o644 0:0 893 /home/workspace/ad-placement/cases/0037.txt
|
| 43 |
+
e16cef81d231a853e5ffc09a16062c003a6bb35cdb79c95a8959e66f58fd0ea8 0o644 0:0 975 /home/workspace/ad-placement/cases/0038.txt
|
| 44 |
+
238e8b45a6e950f1f3fcc05d79c1eb10ded5ab07723521fedcb43bbf1c9cd4d9 0o644 0:0 2727 /home/workspace/ad-placement/cases/0039.txt
|
| 45 |
+
e2e1d01af664edc1b252a2f6e2d339d872d9aa540506becae4c7b5aca2be9e6f 0o644 0:0 3174 /home/workspace/ad-placement/cases/0040.txt
|
| 46 |
+
a331c40d1787c3243644b01854e4f597115f7878c2e3641dec6b2b2a2ce55fb9 0o644 0:0 1166 /home/workspace/ad-placement/cases/0041.txt
|
| 47 |
+
7533e417d71732dc9f777a0722ec0a60eaebffb0b9166914a63dc644448c5775 0o644 0:0 1742 /home/workspace/ad-placement/cases/0042.txt
|
| 48 |
+
e8d8c3b6f4736c5d84344156d64eda6b3fdfdb1ef23b2bb24c280aab7d4615ab 0o644 0:0 1867 /home/workspace/ad-placement/cases/0043.txt
|
| 49 |
+
14f6fedcec3be7a5fe9bd1e9dc4bf7dc41d1872eb55ebc1f02af8ca976dd2850 0o644 0:0 1624 /home/workspace/ad-placement/cases/0044.txt
|
| 50 |
+
ebacd09a1d070a51e20796394f1c07351545e921d6c7b5d24304aa6749848b88 0o644 0:0 901 /home/workspace/ad-placement/cases/0045.txt
|
| 51 |
+
f0adeccadcf73dac77b6c91fa4085b94f8850a9c397c570e8a46f80bd4870024 0o644 0:0 891 /home/workspace/ad-placement/cases/0046.txt
|
| 52 |
+
758e1b6f15b1f93db80ef82e798ecaee4b5ae2f39fc3d434ccef4311f8b8b4db 0o644 0:0 1339 /home/workspace/ad-placement/cases/0047.txt
|
| 53 |
+
90f1361d737b6a961fa856ec39ff055d2efab47fbe82c1dc94d3a7612ca836ce 0o644 0:0 1038 /home/workspace/ad-placement/cases/0048.txt
|
| 54 |
+
8699c689f1e120b99e801877b2a69ec106c503d8fd979976b2153f1a3d0afb8d 0o644 0:0 1218 /home/workspace/ad-placement/cases/0049.txt
|
| 55 |
+
dir 0o755 0:0 0 /home/workspace/ad-placement/tools/
|
| 56 |
+
dir 0o755 0:0 0 /home/workspace/ad-placement/tools/bin/
|
| 57 |
+
e68b36f67da46dcb89573f4e1ff115b9d9e6e83ad9d0703a31e6b88fd2d1d42d 0o755 0:0 1188232 /home/workspace/ad-placement/tools/bin/gen
|
| 58 |
+
2498e6a2d2cfa2435ad541ebe8a284ea576389c53f9a05555b594dcc3a360dcb 0o755 0:0 567656 /home/workspace/ad-placement/tools/bin/tester
|
| 59 |
+
dir 0o1777 0:0 0 /tmp/
|
| 60 |
+
8445b0919672013df885f4cef434a576e66d4823b7f1a80faf747134268036ed 0o755 0:0 3384 /tmp/eval_ahc.sh
|
kits/ad_placement_optimization/judge/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be09433f3b3931a736581cb70cd4cb8c524822524baeac6a89a856e22229d639
|
| 3 |
+
size 1884160
|
kits/ad_placement_optimization/judge/kit.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.judge.ad_placement_optimization:56cbfc81cfa1",
|
| 3 |
+
"source_image": "seededge/edgebench.judge.ad_placement_optimization:56cbfc81cfa1",
|
| 4 |
+
"source_image_id": "sha256:ac9145af315b9846236aa86102c3838b1d586d843c9dc733a984103f97a78b9c",
|
| 5 |
+
"base_image": "seededge/edgebench.base.cpp:19685ea8d3f4",
|
| 6 |
+
"base_image_id": "sha256:235c300afde13a4dface956a008947599de87104ac3e0d1a833e319049332858",
|
| 7 |
+
"from_tag": "edgebench.base.cpp:19685ea8d3f4",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:02bedd02e65bf895215abf4c6b7ae6f686daf5c257f4c8702c3c369aa145fa6a",
|
| 10 |
+
"sha256:3fd2d49fd9b103434144d34677b5183c296d7ce55e00be35b9f560f5b66acd8d",
|
| 11 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
| 12 |
+
],
|
| 13 |
+
"files": 53,
|
| 14 |
+
"deletions": [],
|
| 15 |
+
"hardlinks_into_base": 0
|
| 16 |
+
}
|
kits/ad_placement_optimization/work/Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.work.ad_placement_optimization:49747cad3ebd
|
| 2 |
+
# from the diff of seededge/edgebench.work.ad_placement_optimization:49747cad3ebd (id cabccff09d95)
|
| 3 |
+
# over seededge/edgebench.base.cpp:19685ea8d3f4 (id 235c300afde1)
|
| 4 |
+
FROM edgebench.base.cpp:19685ea8d3f4
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace/ad-placement
|
| 7 |
+
USER agent
|
kits/ad_placement_optimization/work/MANIFEST.sha256
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dir 0o755 0:0 0 /home/
|
| 2 |
+
dir 0o755 0:0 0 /home/workspace/
|
| 3 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/
|
| 4 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/
|
| 5 |
+
06111c6797d5e5932b792d0c3afdf13bc912ba44af806058bbca4770d8915305 0o644 1000:1000 5 /home/workspace/ad-placement/.git/COMMIT_EDITMSG
|
| 6 |
+
f6f2b945f6c411b02ba3da9c7ace88dcf71b6af65ba2e0d89aa82900042b5a10 0o644 1000:1000 23 /home/workspace/ad-placement/.git/HEAD
|
| 7 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/branches/
|
| 8 |
+
a4c337d6b54fadf12ed002daa5ff797bf12d9a5248ccbd9763dfda9ebd9ae9ac 0o644 1000:1000 144 /home/workspace/ad-placement/.git/config
|
| 9 |
+
85ab6c163d43a17ea9cf7788308bca1466f1b0a8d1cc92e26e9bf63da4062aee 0o644 1000:1000 73 /home/workspace/ad-placement/.git/description
|
| 10 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/hooks/
|
| 11 |
+
0223497a0b8b033aa58a3a521b8629869386cf7ab0e2f101963d328aa62193f7 0o755 1000:1000 478 /home/workspace/ad-placement/.git/hooks/applypatch-msg.sample
|
| 12 |
+
1f74d5e9292979b573ebd59741d46cb93ff391acdd083d340b94370753d92437 0o755 1000:1000 896 /home/workspace/ad-placement/.git/hooks/commit-msg.sample
|
| 13 |
+
f3c0228d8e827f1c5260ac59fdd92c3d425c46e54711ef713c5a54ae0a4db2b4 0o755 1000:1000 4655 /home/workspace/ad-placement/.git/hooks/fsmonitor-watchman.sample
|
| 14 |
+
81765af2daef323061dcbc5e61fc16481cb74b3bac9ad8a174b186523586f6c5 0o755 1000:1000 189 /home/workspace/ad-placement/.git/hooks/post-update.sample
|
| 15 |
+
e15c5b469ea3e0a695bea6f2c82bcf8e62821074939ddd85b77e0007ff165475 0o755 1000:1000 424 /home/workspace/ad-placement/.git/hooks/pre-applypatch.sample
|
| 16 |
+
f9af7d95eb1231ecf2eba9770fedfa8d4797a12b02d7240e98d568201251244a 0o755 1000:1000 1643 /home/workspace/ad-placement/.git/hooks/pre-commit.sample
|
| 17 |
+
d3825a70337940ebbd0a5c072984e13245920cdf8898bd225c8d27a6dfc9cb53 0o755 1000:1000 416 /home/workspace/ad-placement/.git/hooks/pre-merge-commit.sample
|
| 18 |
+
ecce9c7e04d3f5dd9d8ada81753dd1d549a9634b26770042b58dda00217d086a 0o755 1000:1000 1374 /home/workspace/ad-placement/.git/hooks/pre-push.sample
|
| 19 |
+
4febce867790052338076f4e66cc47efb14879d18097d1d61c8261859eaaa7b3 0o755 1000:1000 4898 /home/workspace/ad-placement/.git/hooks/pre-rebase.sample
|
| 20 |
+
a4c3d2b9c7bb3fd8d1441c31bd4ee71a595d66b44fcf49ddb310252320169989 0o755 1000:1000 544 /home/workspace/ad-placement/.git/hooks/pre-receive.sample
|
| 21 |
+
e9ddcaa4189fddd25ed97fc8c789eca7b6ca16390b2392ae3276f0c8e1aa4619 0o755 1000:1000 1492 /home/workspace/ad-placement/.git/hooks/prepare-commit-msg.sample
|
| 22 |
+
a53d0741798b287c6dd7afa64aee473f305e65d3f49463bb9d7408ec3b12bf5f 0o755 1000:1000 2783 /home/workspace/ad-placement/.git/hooks/push-to-checkout.sample
|
| 23 |
+
8d5f2fa83e103cf08b57eaa67521df9194f45cbdbcb37da52ad586097a14d106 0o755 1000:1000 3650 /home/workspace/ad-placement/.git/hooks/update.sample
|
| 24 |
+
a64d99b624c72a27099b869d31ee037bdf481f8c708b5131fe1e9f758bbc4957 0o644 1000:1000 1195 /home/workspace/ad-placement/.git/index
|
| 25 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/info/
|
| 26 |
+
6671fe83b7a07c8932ee89164d1f2793b2318058eb8b98dc5c06ee0a5a3b0ec1 0o644 1000:1000 240 /home/workspace/ad-placement/.git/info/exclude
|
| 27 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/logs/
|
| 28 |
+
09bc68a751a1853da2ccbc1fc7eefce72835e1f177348b1195571aaceb8fb74c 0o644 1000:1000 152 /home/workspace/ad-placement/.git/logs/HEAD
|
| 29 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/logs/refs/
|
| 30 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/logs/refs/heads/
|
| 31 |
+
09bc68a751a1853da2ccbc1fc7eefce72835e1f177348b1195571aaceb8fb74c 0o644 1000:1000 152 /home/workspace/ad-placement/.git/logs/refs/heads/master
|
| 32 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/
|
| 33 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/02/
|
| 34 |
+
2d62a825033efd142885bd49832e565759567f6e8bef8afafc67e183a11de747 0o444 1000:1000 2933 /home/workspace/ad-placement/.git/objects/02/20185a3083516a10ce45a71a0255ec4abe1a91
|
| 35 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/34/
|
| 36 |
+
ada1147c488b5860103f9250a064dd9ec462b339fc98de0ad5d82200318a5d79 0o444 1000:1000 359 /home/workspace/ad-placement/.git/objects/34/032be9940d1b651a41355a9799d63cb4e3cb51
|
| 37 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/3e/
|
| 38 |
+
23b8fb496dc1a5d19fbbde6a610906bbfae2f60e55e1b251968d3298a59f4b26 0o444 1000:1000 111 /home/workspace/ad-placement/.git/objects/3e/439782ada44d011dcd00f8d66c9dbf24130048
|
| 39 |
+
279ae6640e17028b7c52103dc23b5721ec34e4f4dc640fc50307dcc83ec3859c 0o444 1000:1000 80 /home/workspace/ad-placement/.git/objects/3e/4d85619057d7be07f80f02d422e2e77ba8538c
|
| 40 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/44/
|
| 41 |
+
4b189ee306c6d6567ddafbfdc093eafa4ff2c084081988653957b54f74034b79 0o444 1000:1000 65144 /home/workspace/ad-placement/.git/objects/44/d82c7722e5d02783f0ef7fe804921a11d5d250
|
| 42 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/57/
|
| 43 |
+
79ccd823abe476ea2531002cfba692cc1095e9c92b555304cc34c3d43c7279a6 0o444 1000:1000 292 /home/workspace/ad-placement/.git/objects/57/179efb5f9b871fa2f04d958eba3c921a7b3982
|
| 44 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/5a/
|
| 45 |
+
299f53c0bf928778f09e97d42b8b3955d7a1da1443ad6dabdbd51dcc935f80b5 0o444 1000:1000 121 /home/workspace/ad-placement/.git/objects/5a/0ea6ef064b732d11141c4d25d5af5bac92f335
|
| 46 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/79/
|
| 47 |
+
41819ce71802cd59379e2a57d0c15fcf6613f5f586b4ee86b7d92e60b34358ce 0o444 1000:1000 2407 /home/workspace/ad-placement/.git/objects/79/f32b45b8d37b5d50a7326fe002c41513d6d1bf
|
| 48 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/7e/
|
| 49 |
+
717febf7bc5d91c726b78ebf17e10adbf74bb7fa405b8cc7ed8f2f22fe034e95 0o444 1000:1000 678 /home/workspace/ad-placement/.git/objects/7e/5cb320c64c58e8b30539850410df6553be4664
|
| 50 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/86/
|
| 51 |
+
52f0a3530c02eb8b424d06c3e3e1de1eca30e971bd61e95a6c949fb0fc61bba7 0o444 1000:1000 1108 /home/workspace/ad-placement/.git/objects/86/6d6cff9aad470db2f0d1bdc7e79f04e66ae4f4
|
| 52 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/a1/
|
| 53 |
+
ccdee4e77b3a803d9fd1a282a25582208f675b86f796ec96b3c4ece64fcb5a8f 0o444 1000:1000 153 /home/workspace/ad-placement/.git/objects/a1/5cf1e7ecb75357763a65c73917e24fdf0dca1d
|
| 54 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/d5/
|
| 55 |
+
f9ef872d19094478c5791b17851af93050bc02d32aa8d974138f4893cb49427a 0o444 1000:1000 275820 /home/workspace/ad-placement/.git/objects/d5/96e47f6e49e524a40bb077b1b03ce68b29f0d2
|
| 56 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/d6/
|
| 57 |
+
93cc9ea993b640e1c40a859f6be890210f6e942630e108240b222d0851b6cc99 0o444 1000:1000 545294 /home/workspace/ad-placement/.git/objects/d6/40aac82b54d4be2657cae25d6f66f0f41225b9
|
| 58 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/d7/
|
| 59 |
+
5b90d38ab5024eea479b39dad2e77952a1b7336ac39c4911e8ca9a94418d4830 0o444 1000:1000 4943 /home/workspace/ad-placement/.git/objects/d7/29b2e992f0b77a8ea89a6c8d808d4ba035209c
|
| 60 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/d8/
|
| 61 |
+
ba0b60cd523d06c8d51897b3bdb3c7d2060e3a65b60b7e55cf2a6be54758697f 0o444 1000:1000 78 /home/workspace/ad-placement/.git/objects/d8/202244927732c75ea61f6f2e265d5ea7182f47
|
| 62 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/df/
|
| 63 |
+
56fdbe50137558f69692d1b605e5c8de095775d2cc267f1367c0c5d3e59cb42f 0o444 1000:1000 473 /home/workspace/ad-placement/.git/objects/df/d1b0c0179b56030a9d5618c474017ec818c76a
|
| 64 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/ef/
|
| 65 |
+
e683a2ae4bef9a00cf579b54c6507e43fc1952d9effe733392b104721fa42f7a 0o444 1000:1000 174 /home/workspace/ad-placement/.git/objects/ef/d09fac977bcf85414ed22e92e7417670a6ba1b
|
| 66 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/f2/
|
| 67 |
+
051393add238d3cf0f76ff01e60560628fd87df29c4f42cd00f0555049fa025e 0o444 1000:1000 62 /home/workspace/ad-placement/.git/objects/f2/454ee5d1b8a26d8f496bb836b5963c3688ddcb
|
| 68 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/fd/
|
| 69 |
+
7972af3163fe18ed9257b8d3e2ec1429cb356c20c06959144777debbd875c9b1 0o444 1000:1000 364 /home/workspace/ad-placement/.git/objects/fd/ae8a6bd178787574613075935d73a367f5a8ab
|
| 70 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/info/
|
| 71 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/objects/pack/
|
| 72 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/refs/
|
| 73 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/refs/heads/
|
| 74 |
+
88c5eda80e5a90225a7dac82bb994321ea8b62556311d07135e77a0f23e1923c 0o644 1000:1000 41 /home/workspace/ad-placement/.git/refs/heads/master
|
| 75 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/.git/refs/tags/
|
| 76 |
+
0051d2a6e88e299efc0c0b0f1a7e8a68b3060c855b55ffce8c6cfa601d4b30b2 0o644 1000:1000 4837 /home/workspace/ad-placement/README.md
|
| 77 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/assets/
|
| 78 |
+
c29720e85bbc3383ebbb68a19092970d3511eb4e3b8ce2fc0ad0ae6fe998f16e 0o644 1000:1000 66387 /home/workspace/ad-placement/assets/visualization.png
|
| 79 |
+
928cf6a2a8900f00acc45b6b8b9eeb94c55ca37f29ec531c62e87138bba3630c 0o644 1000:1000 558 /home/workspace/ad-placement/solution.cpp
|
| 80 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/tools/
|
| 81 |
+
9c66b7b810243b69781c017dfa059591841a43d442f9036927151a2bdf88fe2c 0o644 1000:1000 17017 /home/workspace/ad-placement/tools/Cargo.lock
|
| 82 |
+
ab3e980de18dcd57482e2eaacf079db4a8295b48e6e76f9f64a8adb7623eefb5 0o644 1000:1000 492 /home/workspace/ad-placement/tools/Cargo.toml
|
| 83 |
+
49deeb7a6a0dada2627c4528e34545bde0b14b2e26238f9c6eab4ffd65ea56f6 0o644 1000:1000 2631 /home/workspace/ad-placement/tools/README.md
|
| 84 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/tools/bin/
|
| 85 |
+
e68b36f67da46dcb89573f4e1ff115b9d9e6e83ad9d0703a31e6b88fd2d1d42d 0o755 1000:1000 1188232 /home/workspace/ad-placement/tools/bin/gen
|
| 86 |
+
2498e6a2d2cfa2435ad541ebe8a284ea576389c53f9a05555b594dcc3a360dcb 0o755 1000:1000 567656 /home/workspace/ad-placement/tools/bin/tester
|
| 87 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/tools/src/
|
| 88 |
+
dir 0o755 1000:1000 0 /home/workspace/ad-placement/tools/src/bin/
|
| 89 |
+
32f81ea02c315e22d388d0698f4fd0d7156a067c5d7909f0ce893159dadfc47d 0o644 1000:1000 1426 /home/workspace/ad-placement/tools/src/bin/gen.rs
|
| 90 |
+
b038bb9ad35b1963c7c23f3a64df621d404a5e57da1f19dc43551fa7c5d692c3 0o644 1000:1000 847 /home/workspace/ad-placement/tools/src/bin/tester.rs
|
| 91 |
+
d34cabca40ef9638a2ac9dd1a8d86a27b2d791e3f438586a5573f3a6c4181fd4 0o644 1000:1000 1092 /home/workspace/ad-placement/tools/src/bin/vis.rs
|
| 92 |
+
afefaa4ea149e14ba44391d4a48454faef9a6679e98e12c0ce23e836efa44fc0 0o644 1000:1000 8285 /home/workspace/ad-placement/tools/src/lib.rs
|
kits/ad_placement_optimization/work/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7d47f6e450465c0bac9125ec61132265c505b19962ec717bcfab155423a6cd4
|
| 3 |
+
size 2856960
|
kits/ad_placement_optimization/work/kit.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.work.ad_placement_optimization:49747cad3ebd",
|
| 3 |
+
"source_image": "seededge/edgebench.work.ad_placement_optimization:49747cad3ebd",
|
| 4 |
+
"source_image_id": "sha256:cabccff09d95a9e806eb01407dfcecee4fb0daf7c994bd6e1fea1905c05352b2",
|
| 5 |
+
"base_image": "seededge/edgebench.base.cpp:19685ea8d3f4",
|
| 6 |
+
"base_image_id": "sha256:235c300afde13a4dface956a008947599de87104ac3e0d1a833e319049332858",
|
| 7 |
+
"from_tag": "edgebench.base.cpp:19685ea8d3f4",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:58bdcea2902584d4459cb0d8af7297255c47966ef05848779f12bf79cb4753b9",
|
| 10 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 11 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 12 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 13 |
+
"sha256:7c2db566dbed3987109bbbaef188252d677eb974b08ee6f7b973d5df933c8623",
|
| 14 |
+
"sha256:5479472af59b7731ff3d076f61db4d356aba90e4c4751550f73bbb8f3682a072"
|
| 15 |
+
],
|
| 16 |
+
"files": 53,
|
| 17 |
+
"deletions": [],
|
| 18 |
+
"hardlinks_into_base": 0
|
| 19 |
+
}
|
kits/exchange_core_throughput/judge/Dockerfile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.judge.exchange_core_throughput:2cbf65650b3c
|
| 2 |
+
# from the diff of seededge/edgebench.judge.exchange_core_throughput:2cbf65650b3c (id 0bdb01f811e1)
|
| 3 |
+
# over seededge/edgebench.base.java:c530f7be6c58 (id 2bfd810735c9)
|
| 4 |
+
FROM edgebench.base.java:c530f7be6c58
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace/exchange-core
|
kits/exchange_core_throughput/judge/MANIFEST.sha256
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kits/exchange_core_throughput/judge/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20e028f5c5a7180557bfd34de119c55f44aa7b1470cb532718408762d41baeb4
|
| 3 |
+
size 135178240
|
kits/exchange_core_throughput/judge/kit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.judge.exchange_core_throughput:2cbf65650b3c",
|
| 3 |
+
"source_image": "seededge/edgebench.judge.exchange_core_throughput:2cbf65650b3c",
|
| 4 |
+
"source_image_id": "sha256:0bdb01f811e107589e3de2dcf2fbe0525d0650b05d3ecde7031d4dc6cb000a61",
|
| 5 |
+
"base_image": "seededge/edgebench.base.java:c530f7be6c58",
|
| 6 |
+
"base_image_id": "sha256:2bfd810735c91276af145fdf7c37d97c8ff88e55b524268f8aaa204417f42ad0",
|
| 7 |
+
"from_tag": "edgebench.base.java:c530f7be6c58",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:40d64505ca036338c52463f6b0be2149bc00b4f713abf514a8e19bb22a685d7f",
|
| 10 |
+
"sha256:35781c9769f690f6dc8f035bc4862ff225e1b88fbda293c49724507c3c9045e2",
|
| 11 |
+
"sha256:fc2aa14ba89842417374cb33e3e546949b03f7613ed85daeb6e6c6b3d25f3bf1",
|
| 12 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
| 13 |
+
],
|
| 14 |
+
"files": 3915,
|
| 15 |
+
"deletions": [],
|
| 16 |
+
"hardlinks_into_base": 0
|
| 17 |
+
}
|
kits/exchange_core_throughput/work/Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.work.exchange_core_throughput:cc0c0eabbf80
|
| 2 |
+
# from the diff of seededge/edgebench.work.exchange_core_throughput:cc0c0eabbf80 (id 4e17e23190e2)
|
| 3 |
+
# over seededge/edgebench.base.java:c530f7be6c58 (id 2bfd810735c9)
|
| 4 |
+
FROM edgebench.base.java:c530f7be6c58
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace/exchange-core
|
| 7 |
+
USER agent
|
kits/exchange_core_throughput/work/MANIFEST.sha256
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kits/exchange_core_throughput/work/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79a8ee0ec010943845b91e143ee04e616809acb6a7341cf75c8983d56757449a
|
| 3 |
+
size 134522880
|
kits/exchange_core_throughput/work/kit.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.work.exchange_core_throughput:cc0c0eabbf80",
|
| 3 |
+
"source_image": "seededge/edgebench.work.exchange_core_throughput:cc0c0eabbf80",
|
| 4 |
+
"source_image_id": "sha256:4e17e23190e27a3ff1f7d56cf6ce7d777bfb416950015765778f2af5000c0d70",
|
| 5 |
+
"base_image": "seededge/edgebench.base.java:c530f7be6c58",
|
| 6 |
+
"base_image_id": "sha256:2bfd810735c91276af145fdf7c37d97c8ff88e55b524268f8aaa204417f42ad0",
|
| 7 |
+
"from_tag": "edgebench.base.java:c530f7be6c58",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:3121ccd7ac472d175de4b9802457bd695748031d7ed4be9295748e9ca777f33f",
|
| 10 |
+
"sha256:d32e06013e1b3ebdf04c1006a2b3196cabc650e52ca2e3bc96e8e4ea8f025357",
|
| 11 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 12 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 13 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
| 14 |
+
],
|
| 15 |
+
"files": 3780,
|
| 16 |
+
"deletions": [],
|
| 17 |
+
"hardlinks_into_base": 0
|
| 18 |
+
}
|
kits/k12_math_recommendation/judge/Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.judge.k12_math_recommendation:1faabfecdb8e
|
| 2 |
+
# from the diff of seededge/edgebench.judge.k12_math_recommendation:1faabfecdb8e (id 2cc61c613457)
|
| 3 |
+
# over seededge/edgebench.base.python:e4670062c1cb (id 963581c7c7f2)
|
| 4 |
+
FROM edgebench.base.python:e4670062c1cb
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace
|
| 7 |
+
USER root
|
kits/k12_math_recommendation/judge/MANIFEST.sha256
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kits/k12_math_recommendation/judge/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bbad1430f3642cb90da7da6571006bcb1f3b44a5cd1a719d525819e0da33370
|
| 3 |
+
size 655841280
|
kits/k12_math_recommendation/judge/kit.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.judge.k12_math_recommendation:1faabfecdb8e",
|
| 3 |
+
"source_image": "seededge/edgebench.judge.k12_math_recommendation:1faabfecdb8e",
|
| 4 |
+
"source_image_id": "sha256:2cc61c61345766ffe2d98f2e7d48f6066d6924873bfdfb69a4436953ca547826",
|
| 5 |
+
"base_image": "seededge/edgebench.base.python:e4670062c1cb",
|
| 6 |
+
"base_image_id": "sha256:963581c7c7f2d1fca56f31cf38235a77395109fd62bb5d604b397ef2c46f4fd4",
|
| 7 |
+
"from_tag": "edgebench.base.python:e4670062c1cb",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:50a2c4c97654f71f09f5a187608dac1b0fd8632f74823312b0f62d819d1ece8b",
|
| 10 |
+
"sha256:c17767a8c43c1656df77211fde46585697f962eee1d54c4cb29d6d379a0fc785",
|
| 11 |
+
"sha256:9e29dcfbe09c011a6919f6440e488da309121e4636681d3ed2089f14e6878fa3",
|
| 12 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 13 |
+
"sha256:34ce06ce9b9de2db4dd94bd8b76d9b4d018ccb141ae34847d8965d5b6173d391",
|
| 14 |
+
"sha256:8f098f3cf0ebd49230a5021860aa67e2912776eb724e1f032b9227045ba34693",
|
| 15 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 16 |
+
"sha256:37c9a0b10f9d2a55749b55b75646ea5601786ca20566b6ce42461397e75f06c5",
|
| 17 |
+
"sha256:71d5315ce63ec3bb7ffaa857f34c67e8385ed64119f4b0776ce3e857d638b6bb",
|
| 18 |
+
"sha256:44cbaeeeec69816ec34be9a3dc2903a51bba64dd96c5e1a17b8fb5ee11aef52c"
|
| 19 |
+
],
|
| 20 |
+
"files": 11564,
|
| 21 |
+
"deletions": [],
|
| 22 |
+
"hardlinks_into_base": 0
|
| 23 |
+
}
|
kits/k12_math_recommendation/work/Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebuilds edgebench.work.k12_math_recommendation:fecdcfb17904
|
| 2 |
+
# from the diff of seededge/edgebench.work.k12_math_recommendation:fecdcfb17904 (id 2be97bd7dfef)
|
| 3 |
+
# over seededge/edgebench.base.python:e4670062c1cb (id 963581c7c7f2)
|
| 4 |
+
FROM edgebench.base.python:e4670062c1cb
|
| 5 |
+
ADD context.tar /
|
| 6 |
+
WORKDIR /home/workspace
|
| 7 |
+
USER agent
|
kits/k12_math_recommendation/work/MANIFEST.sha256
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kits/k12_math_recommendation/work/context.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edfd872c7fdec7fb75778eb0f9bf2dd4d206ae1b0726951be2ae1c1f0ccdf4a5
|
| 3 |
+
size 620185600
|
kits/k12_math_recommendation/work/kit.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"final_name": "edgebench.work.k12_math_recommendation:fecdcfb17904",
|
| 3 |
+
"source_image": "seededge/edgebench.work.k12_math_recommendation:fecdcfb17904",
|
| 4 |
+
"source_image_id": "sha256:2be97bd7dfefa2dd0c115d25c88aaf03c6db97b48595410b1a393ee992a5cbf3",
|
| 5 |
+
"base_image": "seededge/edgebench.base.python:e4670062c1cb",
|
| 6 |
+
"base_image_id": "sha256:963581c7c7f2d1fca56f31cf38235a77395109fd62bb5d604b397ef2c46f4fd4",
|
| 7 |
+
"from_tag": "edgebench.base.python:e4670062c1cb",
|
| 8 |
+
"task_layer_diff_ids": [
|
| 9 |
+
"sha256:981728ea66759dceac7b8fa3a87d536ebaa062654809b2f4ee32b9530f6220b8",
|
| 10 |
+
"sha256:3d93931201e897770c0d07d6f50d348410ae3ed6d25bbe2e61358a16c0ab8b75",
|
| 11 |
+
"sha256:dd9836830a35e810831a2f41dec30c086364484e42a994bc563f3343ce99e87f",
|
| 12 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 13 |
+
"sha256:bc449167f9ef6eb1c7b40ee3cade0d166f662368638fa6bff3a7cee6d7ce23be",
|
| 14 |
+
"sha256:bcecbd4677c36ba9c8a7ef4bfc55c03a4054a6a4baf01ac326db51047150d6da",
|
| 15 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 16 |
+
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
|
| 17 |
+
"sha256:0998c04683e111b27e1b6e250dd4d922784741ab85d23b69c5cc2159b11704ad",
|
| 18 |
+
"sha256:0e161a5014f65cce668f4eed3d04a85ffa7767f9a3f647a8264600f0c3f8bcb3",
|
| 19 |
+
"sha256:601e824c38618e05c7453d375af05851116b8f908bd067feb6d717621945f349",
|
| 20 |
+
"sha256:e8f38aff582091d2fa64800f2e24a0f890005330e2b0a600e9b141dea4457533"
|
| 21 |
+
],
|
| 22 |
+
"files": 11543,
|
| 23 |
+
"deletions": [],
|
| 24 |
+
"hardlinks_into_base": 0
|
| 25 |
+
}
|