Skip to content

Benchmark

All benchmark numbers come from rampgate's deterministic simulator. Demonstrated (not benchmarked) on one laptop GPU (RTX 4050, 6 GB) with synthetic memory-hog containers: probation, a Rule V vacate and an OOM→Rule O cycle, checked by script. Not yet tested: multiple GPUs, gang jobs, CPU devices, a real framework's caching allocator, orchestrator restart, sub-second spikes. See Real hardware.

Simulated GPU cluster, six scenarios (Simulator): (a) small jobs, (b) a mixed queue, (c) a late eval spike, (d_over) over-declared hints, (d_under) under-declared hints, (e) a training queue. rampgate's rows (Probation, cold and warm history) are compared with three baselines: GreedyFree (start whenever free memory looks sufficient), DeclaredReservation (reserve the declared hint) and Serial (one job per device). The acceptance criteria (the L4 gates) were fixed before measuring. Every OOM of a rampgate row that is not a first-contact OOM (an OOM next to a first-attempt job that is still ramping and has no observation-based estimate) counts as a bug. No job may be OOM-killed twice on the same device.

Each table comes from a single run on held-out seeds, made once on a frozen git tag. The numbers are generated from the committed results.json (docs/benchmark/freeze-N/heldout/ in the repository), which also holds the ablation, sensitivity and trusted_margin tables and the plots. The pre-registration of the three freezes is kept in a private design document; see Methodology.

Freeze 1 and freeze 2 were recorded under simulator v1 (observation noise also decided OOMs). They are not comparable one-to-one with freeze 3 or with the development numbers from simulator v2, which are reported below. Freeze 3 is the held-out result under simulator v2 (below); development seeds under v2 are not held-out.

Summary: the price of safety

Freeze 3, held-out set 3 (seeds 3000–3019), simulator v2, tag bench-freeze-3, from docs/benchmark/freeze-3/heldout/results.json. The two tables below give the median of per-seed ratios (each strategy on the same seed) with [Q1–Q3] over the 20 seeds; the headline ranges in the text and in the README are ratios of medians, as in the makespan target notes. The gates passed (Freeze 3). Freeze 1 failed its gates, freeze 2 passed; both were recorded under simulator v1 and are kept below as recorded (the freeze-2 summary is here).

makespan vs OOM kills per run, freeze 3

Among OOM-free strategies: rampgate vs Serial (makespan ratio, median of per-seed ratios [Q1–Q3], lower is better; as ratios of medians: cold 0.15–0.71, warm 0.12–0.71):

Scenario cold Probation / Serial warm Probation / Serial
a_small 0.15 [0.14–0.15] 0.12 [0.12–0.13]
b_mixed 0.66 [0.60–0.69] 0.63 [0.55–0.68]
c_late_spike 0.41 [0.39–0.45] 0.38 [0.36–0.43]
d_over_declared 0.76 [0.67–0.79] 0.76 [0.67–0.79]
d_under_declared 0.65 [0.57–0.69] 0.63 [0.55–0.68]
e_trainq 0.56 [0.55–0.57] 0.44 [0.43–0.46]

DeclaredReservation is also OOM-free when hints are over-declared (d_over_declared). There, cold Probation takes 0.97 [0.94–1.00]× its makespan (median of per-seed ratios; ratio of medians 0.96).

The price of safety: rampgate vs GreedyFree and DeclaredReservation. Makespan ratio (median of per-seed ratios [Q1–Q3]), OOM kills and lost work side by side. The "first-contact" column counts OOMs next to a still-ramping job with no observation-based estimate, which is the only kind rampgate is allowed.

Scenario Strategy Makespan / GreedyFree OOMs / run of which first-contact Lost work (step-s)
a_small Probation 1.31 [1.28–1.43] 0 [0–0] 0 [0–0] 0 [0–0]
a_small Probation (warm) 1.08 [1.04–1.18] 0 [0–0] 0 [0–0] 0 [0–0]
a_small GreedyFree 1.00 [1.00–1.00] 158 [151–182] 44 [43–50] 3,458 [3,315–3,642]
a_small DeclaredReservation 1.00 [1.00–1.00] 158 [151–182] 44 [42–50] 3,456 [3,318–3,622]
b_mixed Probation 1.32 [1.18–1.44] 0 [0–1] 0 [0–1] 0 [0–36]
b_mixed Probation (warm) 1.28 [1.15–1.38] 0 [0–0] 0 [0–0] 0 [0–0]
b_mixed GreedyFree 1.00 [1.00–1.00] 549 [325–817] 71 [46–78] 7,716 [5,706–10,550]
b_mixed DeclaredReservation 1.00 [1.00–1.00] 553 [325–827] 70 [46–78] 7,746 [5,690–10,547]
c_late_spike Probation 1.52 [1.47–1.61] 0 [0–0] 0 [0–0] 0 [0–0]
c_late_spike Probation (warm) 1.44 [1.35–1.51] 0 [0–0] 0 [0–0] 0 [0–0]
c_late_spike GreedyFree 1.00 [1.00–1.00] 468 [428–518] 114 [101–122] 3,810 [3,453–4,099]
c_late_spike DeclaredReservation 1.00 [1.00–1.00] 474 [433–518] 114 [107–122] 3,768 [3,453–4,174]
d_over_declared Probation 1.51 [1.41–1.60] 0 [0–0] 0 [0–0] 0 [0–0]
d_over_declared Probation (warm) 1.51 [1.41–1.63] 0 [0–0] 0 [0–0] 0 [0–0]
d_over_declared GreedyFree 1.00 [1.00–1.00] 549 [325–817] 71 [46–78] 7,716 [5,706–10,550]
d_over_declared DeclaredReservation 1.57 [1.48–1.68] 0 [0–0] 0 [0–0] 0 [0–0]
d_under_declared Probation 1.30 [1.18–1.39] 0 [0–1] 0 [0–1] 0 [0–50]
d_under_declared Probation (warm) 1.28 [1.15–1.38] 0 [0–0] 0 [0–0] 0 [0–0]
d_under_declared GreedyFree 1.00 [1.00–1.00] 549 [325–817] 71 [46–78] 7,716 [5,706–10,550]
d_under_declared DeclaredReservation 0.99 [0.92–1.02] 311 [250–412] 50 [38–56] 6,229 [4,983–6,998]
e_trainq Probation 1.48 [1.44–1.52] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq Probation (warm) 1.16 [1.13–1.23] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq GreedyFree 1.00 [1.00–1.00] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq DeclaredReservation 1.00 [1.00–1.00] 0 [0–0] 0 [0–0] 0 [0–0]

How to read it: - In (a)–(d), rampgate's extra makespan buys removing several hundred OOM kills per run (a median of 158 to 549 for GreedyFree in the five scenarios where it OOMs; 0 in e_trainq) and thousands of step-seconds of lost work. - In e_trainq, GreedyFree has 0 OOMs and 0 lost work, so rampgate's extra makespan is a pure cost there: 1.18× warm and 1.45× cold as ratios of medians (median of per-seed ratios: 1.16× warm, 1.48× cold). - In d_over_declared, rampgate and the OOM-free DeclaredReservation both take about 1.5× GreedyFree's makespan, and rampgate is slightly faster (0.96× DeclaredReservation); both as ratios of medians. - The only OOMs of rampgate's cold Probation are first-contact ones: 14 over the 120 runs, in b_mixed (7) and d_under_declared (7). No warm Probation run has an OOM.

Target (reported, not a gate): warm Probation median makespan ≤ 1.2 × GreedyFree median makespan (ratio of medians, so it differs slightly from the per-seed ratios above). Met in two of six scenarios (a_small 1.12, e_trainq 1.18) and missed in four: b_mixed 1.26, c_late_spike 1.42, d_over_declared 1.50, d_under_declared 1.26. The six family scenarios meet it (1.12–1.18, see Freeze 3).

Freeze 3 (held-out)

The held-out result under simulator v2. Tag bench-freeze-3 (annotated tag object da5212e → commit 682c92677a3601d3f34543aa521ed9402e1831b3, created 2026-11-20 11:26:35 +03:00). ./dev ci all passed on 682c926 before the tag was made. The code is the 289ad87 behaviour (the gated development result after round 2) plus documentation and the committed development results; there is no other change to the library or the simulator. Freeze 1 and freeze 2 were recorded under simulator v1 and are not comparable one-to-one with this result (see Simulator attribution).

Two runs, both made once on the tag (--check gates; --no-plots, see Run conditions):

  • Run 1, the six original scenarios, seeds 3000–3019 (20; warm stores 13 000–13 019), all groups (main, ablations, warm, sensitivity, margins), 7,560 runs:
./dev run uv run python benchmarks/run.py --tag bench-freeze-3 --check --seed-start 3000 --seeds 20 --scenarios a_small b_mixed c_late_spike d_over_declared d_under_declared e_trainq --no-plots --jobs 16 --out docs/benchmark/freeze-3/heldout
  • Run 2, the family scenarios, seeds 3000–3049 (50; warm stores 13 000–13 049), groups main and warm, 2,100 runs:
./dev run uv run python benchmarks/run.py --tag bench-freeze-3 --check --seed-start 3000 --seeds 50 --scenarios f_family f_family_asc f_family_misspec50 f_family_misspec50_asc f_family_misspec75 f_family_misspec75_asc --groups main warm --no-plots --jobs 16 --out docs/benchmark/freeze-3/heldout-family

Gates

Both runs exited 0: all gates passed. The gates were pre-registered in the private design document.

  • Run 1: every full-rampgate row (Probation, Probation (all), Probation (warm), Probation (all, warm)) of main and warm has 0 bug OOMs (oom_count − first-contact) and 0 repeat-device OOMs, with at least 10 seeds per row. In (a)–(c), cold Probation's first-contact OOMs are below GreedyFree's and DeclaredReservation's on every seed. In d_under_declared, Probation's median makespan is below Serial's and its median OOMs are below those of GreedyFree and DeclaredReservation.
  • Run 2: 0 bug OOMs and 0 repeat-device OOMs for every full-rampgate row of main and warm, at least 10 seeds per row.
  • The makespan target is reported, not gated.

The per-seed ratio tables for run 1 are in the summary. Full-rampgate rows, run 1 (20 seeds per row; "bug OOMs" = oom_count − first-contact OOMs; first-contact OOMs as median per run (sum over seeds); median makespan and median wait p95 over seeds):

Scenario Row n Bug OOMs (sum) Repeat-device OOMs (sum) First-contact OOMs median (sum) Median makespan (s) Median wait p95 (s)
a_small Probation 20 0 0 0 (0) 1,911 1,003
a_small Probation (all) 20 0 0 0 (0) 3,276 2,363
a_small Probation (warm) 20 0 0 0 (0) 1,564 661
a_small Probation (all, warm) 20 0 0 0 (0) 3,276 2,363
b_mixed Probation 20 0 0 0 (7) 7,435 3,805
b_mixed Probation (all) 20 0 0 0 (7) 6,864 3,627
b_mixed Probation (warm) 20 0 0 0 (0) 6,807 3,735
b_mixed Probation (all, warm) 20 0 0 0 (0) 6,886 3,808
c_late_spike Probation 20 0 0 0 (0) 3,585 2,287
c_late_spike Probation (all) 20 0 0 0 (0) 3,928 2,698
c_late_spike Probation (warm) 20 0 0 0 (0) 3,369 2,129
c_late_spike Probation (all, warm) 20 0 0 0 (0) 3,966 2,698
d_over_declared Probation 20 0 0 0 (0) 8,035 4,547
d_over_declared Probation (all) 20 0 0 0 (0) 8,241 4,637
d_over_declared Probation (warm) 20 0 0 0 (0) 8,118 4,665
d_over_declared Probation (all, warm) 20 0 0 0 (0) 8,241 4,637
d_under_declared Probation 20 0 0 0 (7) 7,254 3,793
d_under_declared Probation (all) 20 0 0 0 (6) 6,864 3,584
d_under_declared Probation (warm) 20 0 0 0 (0) 6,807 3,735
d_under_declared Probation (all, warm) 20 0 0 0 (0) 6,886 3,808
e_trainq Probation 20 0 0 0 (0) 2,760 1,913
e_trainq Probation (all) 20 0 0 0 (0) 3,020 2,152
e_trainq Probation (warm) 20 0 0 0 (0) 2,232 1,117
e_trainq Probation (all, warm) 20 0 0 0 (0) 3,020 2,152

Full-rampgate rows, run 2, the family scenarios (50 seeds per row; seeds 3000–3049, 2,100 runs; gate: 0 bug OOMs and 0 repeat-device OOMs, at least 10 seeds per row). Same columns:

Scenario Row n Bug OOMs (sum) Repeat-device OOMs (sum) First-contact OOMs median (sum) Median makespan (s) Median wait p95 (s)
f_family Probation 50 0 0 5 (238) 6,548 3,906
f_family Probation (all) 50 0 0 5 (228) 6,324 3,820
f_family Probation (warm) 50 0 0 3 (143) 6,662 3,634
f_family Probation (all, warm) 50 0 0 3 (149) 6,380 3,833
f_family_asc Probation 50 0 0 5 (223) 6,712 2,760
f_family_asc Probation (all) 50 0 0 4 (212) 6,505 2,417
f_family_asc Probation (warm) 50 0 0 3 (157) 6,792 3,150
f_family_asc Probation (all, warm) 50 0 0 3 (148) 6,546 2,937
f_family_misspec50 Probation 50 0 0 4 (213) 6,546 3,858
f_family_misspec50 Probation (all) 50 0 0 4 (199) 6,314 3,722
f_family_misspec50 Probation (warm) 50 0 0 2 (128) 6,520 3,784
f_family_misspec50 Probation (all, warm) 50 0 0 2 (120) 6,391 3,624
f_family_misspec50_asc Probation 50 0 0 4 (210) 6,764 2,794
f_family_misspec50_asc Probation (all) 50 0 0 4 (192) 6,247 2,455
f_family_misspec50_asc Probation (warm) 50 0 0 3 (128) 6,688 3,412
f_family_misspec50_asc Probation (all, warm) 50 0 0 3 (132) 6,298 2,715
f_family_misspec75 Probation 50 0 0 4 (193) 6,268 3,617
f_family_misspec75 Probation (all) 50 0 0 4 (183) 6,042 3,526
f_family_misspec75 Probation (warm) 50 0 0 2 (106) 6,176 3,462
f_family_misspec75 Probation (all, warm) 50 0 0 2 (108) 6,252 3,478
f_family_misspec75_asc Probation 50 0 0 4 (206) 6,626 2,768
f_family_misspec75_asc Probation (all) 50 0 0 4 (185) 6,380 2,151
f_family_misspec75_asc Probation (warm) 50 0 0 2.5 (125) 6,595 3,098
f_family_misspec75_asc Probation (all, warm) 50 0 0 2 (125) 6,386 2,622

GreedyFree in the same seeds (median per run):

Scenario GreedyFree median OOMs GreedyFree median lost work (step-s)
a_small 158.5 3,458
b_mixed 549 7,716
c_late_spike 467.5 3,810
d_over_declared 549 7,716
d_under_declared 549 7,716
e_trainq 0 0
Scenario GreedyFree median OOMs GreedyFree median lost work (step-s)
f_family 896.5 12,273
f_family_asc 628 10,660
f_family_misspec50 867.5 12,342
f_family_misspec50_asc 587.5 10,304
f_family_misspec75 811.5 11,340
f_family_misspec75_asc 555 9,384

The family scenarios have first-contact OOMs (a median of 4–5 per cold run and 2–3 per warm run, over 50 seeds): unknown jobs are probed on purpose, see Near-miss metric. They are not bug OOMs. e_trainq has no OOMs for any strategy.

Makespan target notes (freeze 3)

Reported, not gated: warm Probation median makespan ≤ 1.2 × GreedyFree median makespan (ratio of medians).

Scenario Warm Probation / GreedyFree Target (≤ 1.2)
a_small 1.12 met
b_mixed 1.26 missed
c_late_spike 1.42 missed
d_over_declared 1.50 missed
d_under_declared 1.26 missed
e_trainq 1.18 met
f_family 1.13 met
f_family_asc 1.15 met
f_family_misspec50 1.13 met
f_family_misspec50_asc 1.18 met
f_family_misspec75 1.12 met
f_family_misspec75_asc 1.17 met

e_trainq. On these seeds GreedyFree has 0 OOMs and 0 lost work (median, and in every one of the 20 runs), so warm Probation's 1.18× makespan there is a pure cost: no OOM is avoided.

The four misses are the four that were already missed at freeze 2 and on the development seeds (Makespan target notes, development result). The slowdown is the cost of avoiding the OOMs of GreedyFree in the same scenarios and seeds (tables above).

Observation: cold Probation vs Probation (all)

Reported, not gated. Probation (cold) may use trusted estimates; in Probation (all) every job is untrusted. Median makespan (s) on the held-out seeds and on the development seeds (dev-round2), and the ratio of medians (cold / all):

Scenario Held-out: cold vs all Ratio Dev (seeds 0–49): cold vs all Ratio
b_mixed 7,435 vs 6,864 1.08 6,680 vs 6,416 1.04
d_under_declared 7,254 vs 6,864 1.06 6,660 vs 6,416 1.04
family scenarios (six) 1.03–1.08 0.99–1.04

Held-out family ratios: f_family 1.035, f_family_asc 1.032, f_family_misspec50 1.037, f_family_misspec50_asc 1.083, f_family_misspec75 1.037, f_family_misspec75_asc 1.039. Development: f_family_misspec75 0.988, the other five 1.002–1.041.

Per seed the effect is small. On the held-out seeds the median per-seed ratio cold / all is 1.00–1.004 in these scenarios (development: 1.00–1.03, f_family_misspec50 1.03). Cold is slower on 9 of 20 seeds in b_mixed and d_under_declared, and on 20–32 of 50 seeds in the family scenarios. In a_small, c_late_spike and e_trainq cold is faster (ratios 0.58, 0.91, 0.91); d_over_declared is about equal.

Likely cause, not verified: the trusted charge (E × m + q_d) reserves more than an untrusted job holds while warming. The same pattern is present in the development results, with the numbers above.

Held-out vs development, family scenarios

Interpretation: the held-out family draws were harder overall, supported by GreedyFree's higher OOMs on the same seeds (median OOMs +17 % in f_family, +14 % in f_family_misspec50 and f_family_misspec75 vs development seeds).

Result files

Run Files SHA-256
1, six original scenarios results.json e3fc8f36a2e36c9dbc1060764ed7c2ca6bf0d494b56b0a30d2c033798511888b
results.md fa8d91be3d75abaf30317357fce5f714b35a61971b80e1a655e2e51c4d2409e6
manifest.json
2, family scenarios results.json ea69cb22ccc0f6aa2c9e8da656c1a2264a110a6b7f8529d100673694ecfdcf0a
results.md d7735374af117cb81fb8ed954ec36106a52b5c1c28d7dbe5c26be9e6c9f16257
manifest.json

Both manifests record git_commit = tag_commit = 682c92677a3601d3f34543aa521ed9402e1831b3, dirty false and the tag bench-freeze-3. The hashes are those listed in the manifests and were checked against the files on disk.

Deviation: run 1 retried once

The protocol says that a crashed run is reported, not rerun. Run 1 was started twice.

The first attempt (started 2026-11-20 11:26:37 +03:00) received a SIGKILL from the host at 11:35:28, 8 min 51 s in, before writing any results (exit 137; no results.json, results.md or manifest.json). No held-out result was produced or seen. Ruled out as the cause: the kernel OOM killer, systemd-oomd, a reboot, the agent tool timeout and docker kill, docker stop and docker rm. The sender of the signal is unknown.

One retry was made with identical arguments, detached from the agent session (setsid and tmux), with an audit rule logging every SIGKILL with its sender. It ran 2026-11-21 11:59:27–13:29:08 +03:00 and completed. Run 2 then ran 13:29:08–13:57:34.

This deviates from the rule that a crashed run is reported, not rerun. The justification is that no result of the killed run was written or seen, so the retry could not be informed by held-out results. The deviation, and the rule that a second death before results were written would end the attempt with no further retry, were recorded in the private design document before the retry.

Run conditions

The machine was shared during the runs (another project's test containers, an Android emulator and an IDE). Available memory fell to about 500 MB and about 6 GB of swap was in use. The simulator is deterministic (results depend only on the code, the seeds and the arguments), so this does not change the results; it only affects wall-clock time.

The runs themselves made no plots (--no-plots, pre-registered so that a plotting failure cannot stop a run before its manifest is written). The plots in docs/benchmark/freeze-3/heldout/ and docs/benchmark/freeze-3/heldout-family/ were drawn afterwards from the committed results.json (SHA-256 e3fc8f36a2e36c9dbc1060764ed7c2ca6bf0d494b56b0a30d2c033798511888b and ea69cb22ccc0f6aa2c9e8da656c1a2264a110a6b7f8529d100673694ecfdcf0a) with ./dev run uv run --group bench python benchmarks/plots.py docs/benchmark/freeze-3/heldout/results.json (and the same for heldout-family); nothing was rerun. They are not part of the gated result, and the manifest hashes cover only results.json and results.md. Overview plots: six original scenarios, family scenarios; makespan vs OOMs for the family scenarios: pareto_ooms.png.

Freeze 1 (held-out set 1): failed

The primary result. --check failed on 6 runs: 6 OOMs of cold Probation that are not first-contact, 2 in (b) on seeds 1002 and 1008 and 4 in (c) on seeds 1005, 1009, 1013 and 1016 (in bold below). These six (scenario, seed) pairs are replayed as regression tests (packages/rampgate/tests/test_heldout_regressions.py); they pass since the changes listed under Methodology.

Seeds 1000–1019 (20), tag bench-freeze-1, commit d3dab2f (originally a344912, see Methodology). Cells: median [Q1–Q3] over seeds; OOM columns other than the median are totals over all seeds.

Scenario Strategy Makespan (s) OOMs / run First-contact OOMs (total) Other OOMs (total) Repeat-device OOMs (total) Lost work (step-s)
a_small Probation 1,691 [1,632–1,740] 0 [0–0] 0 0 0 0
a_small Probation (warm) 1,570 [1,492–1,602] 0 [0–0] 0 0 0 0
a_small GreedyFree 1,436 [1,365–1,505] 242 [216–259] 1,240 3,472 287 3,233
a_small DeclaredReservation 1,436 [1,365–1,505] 242 [216–259] 1,240 3,472 287 3,233
a_small Serial 12,860 [12,466–13,233] 0 [0–0] 0 0 0 0
b_mixed Probation 6,792 [5,745–7,830] 2 [0–2] 29 2 0 80
b_mixed Probation (warm) 6,700 [5,747–7,562] 0 [0–0] 0 0 0 0
b_mixed GreedyFree 5,694 [5,019–6,266] 1,330 [1,038–1,584] 2,061 24,823 340 14,844
b_mixed DeclaredReservation 5,694 [5,019–6,266] 1,330 [1,038–1,584] 2,061 24,823 340 14,844
b_mixed Serial 11,630 [10,646–12,166] 0 [0–0] 0 0 0 0
c_late_spike Probation 3,370 [3,062–3,585] 0 [0–1] 3 4 0 0
c_late_spike Probation (warm) 3,308 [3,118–3,592] 0 [0–0] 0 0 0 0
c_late_spike GreedyFree 2,528 [2,416–2,787] 446 [388–492] 2,901 6,132 262 4,419
c_late_spike DeclaredReservation 2,528 [2,416–2,787] 446 [388–492] 2,901 6,132 262 4,419
c_late_spike Serial 8,599 [8,291–9,204] 0 [0–0] 0 0 0 0
d_over_declared Probation 8,574 [7,226–9,726] 0 [0–0] 0 0 0 0
d_over_declared Probation (warm) 8,860 [7,282–9,726] 0 [0–0] 0 0 0 0
d_over_declared GreedyFree 5,694 [5,019–6,266] 1,330 [1,038–1,584] 2,061 24,823 340 14,844
d_over_declared DeclaredReservation 9,108 [7,788–9,844] 0 [0–0] 0 0 0 0
d_over_declared Serial 11,630 [10,646–12,166] 0 [0–0] 0 0 0 0
d_under_declared Probation 6,521 [5,835–8,252] 1 [0–2] 24 0 0 58
d_under_declared Probation (warm) 6,700 [5,747–7,562] 0 [0–0] 0 0 0 0
d_under_declared GreedyFree 5,694 [5,019–6,266] 1,330 [1,038–1,584] 2,061 24,823 340 14,844
d_under_declared DeclaredReservation 5,877 [5,140–6,284] 822 [602–904] 1,740 13,502 261 12,136
d_under_declared Serial 11,630 [10,646–12,166] 0 [0–0] 0 0 0 0
e_trainq Probation 2,788 [2,700–2,875] 0 [0–0] 0 0 0 0
e_trainq Probation (warm) 2,206 [2,104–2,350] 0 [0–0] 0 0 0 0
e_trainq GreedyFree 1,886 [1,801–1,969] 0 [0–0] 0 0 0 0
e_trainq DeclaredReservation 1,886 [1,801–1,969] 0 [0–0] 0 0 0 0
e_trainq Serial 5,024 [4,698–5,268] 0 [0–0] 0 0 0 0

freeze 1, held-out set 1

Freeze 2 (held-out set 2): after held-out evaluation 1

These are the changes made after freeze 1 failed (see Methodology): lower-bound estimates grow by oom_growth, an untrusted warming job holds its device (I17), Rule V vacates STABLE jobs when a device is physically overcommitted, and the isolation retry. --check passed: every rampgate row has 0 OOMs that are not first-contact and 0 repeat-device OOMs, on all 20 seeds. The development seeds 0–49 pass as well (docs/benchmark/freeze-2/dev/).

Seeds 2000–2019 (20), tag bench-freeze-2, commit 974932c (originally d810c06, see Methodology). Cells: median [Q1–Q3] over seeds; OOM columns other than the median are totals over all seeds.

Scenario Strategy Makespan (s) OOMs / run First-contact OOMs (total) Other OOMs (total) Repeat-device OOMs (total) Lost work (step-s)
a_small Probation 1,888 [1,761–1,973] 0 [0–0] 0 0 0 0
a_small Probation (warm) 1,528 [1,462–1,586] 0 [0–0] 0 0 0 0
a_small GreedyFree 1,394 [1,336–1,464] 237 [209–245] 1,286 3,297 290 3,037
a_small DeclaredReservation 1,394 [1,336–1,464] 237 [209–245] 1,286 3,297 290 3,037
a_small Serial 12,635 [12,328–12,941] 0 [0–0] 0 0 0 0
b_mixed Probation 6,506 [6,113–7,276] 1 [0–2] 22 0 0 46
b_mixed Probation (warm) 6,628 [5,873–7,176] 0 [0–0] 0 0 0 0
b_mixed GreedyFree 5,236 [4,876–5,722] 1,192 [995–1,330] 2,053 21,626 299 13,647
b_mixed DeclaredReservation 5,236 [4,876–5,722] 1,192 [995–1,330] 2,053 21,626 299 13,647
b_mixed Serial 11,054 [10,670–11,568] 0 [0–0] 0 0 0 0
c_late_spike Probation 3,522 [3,304–3,706] 0 [0–0] 1 0 0 0
c_late_spike Probation (warm) 3,280 [3,003–3,367] 0 [0–0] 0 0 0 0
c_late_spike GreedyFree 2,550 [2,330–2,670] 438 [400–490] 2,847 6,137 258 4,602
c_late_spike DeclaredReservation 2,550 [2,330–2,670] 438 [400–490] 2,847 6,137 258 4,602
c_late_spike Serial 8,657 [8,112–9,484] 0 [0–0] 0 0 0 0
d_over_declared Probation 8,287 [7,832–8,882] 0 [0–0] 0 0 0 0
d_over_declared Probation (warm) 8,287 [7,817–8,882] 0 [0–0] 0 0 0 0
d_over_declared GreedyFree 5,236 [4,876–5,722] 1,192 [995–1,330] 2,053 21,626 299 13,647
d_over_declared DeclaredReservation 8,712 [8,358–9,269] 0 [0–0] 0 0 0 0
d_over_declared Serial 11,054 [10,670–11,568] 0 [0–0] 0 0 0 0
d_under_declared Probation 6,368 [6,115–7,060] 0 [0–1] 13 0 0 18
d_under_declared Probation (warm) 6,628 [5,873–7,176] 0 [0–0] 0 0 0 0
d_under_declared GreedyFree 5,236 [4,876–5,722] 1,192 [995–1,330] 2,053 21,626 299 13,647
d_under_declared DeclaredReservation 5,162 [4,948–5,654] 624 [530–800] 1,638 11,349 225 10,058
d_under_declared Serial 11,054 [10,670–11,568] 0 [0–0] 0 0 0 0
e_trainq Probation 2,766 [2,521–3,059] 0 [0–0] 0 0 0 0
e_trainq Probation (warm) 2,178 [1,911–2,386] 0 [0–0] 0 0 0 0
e_trainq GreedyFree 1,920 [1,724–2,018] 0 [0–0] 0 0 0 0
e_trainq DeclaredReservation 1,920 [1,724–2,018] 0 [0–0] 0 0 0 0
e_trainq Serial 4,957 [4,709–5,375] 0 [0–0] 0 0 0 0

freeze 2, held-out set 2 freeze 2, makespan vs OOMs

Reported, not gated (freeze 2). For cold Probation, summed over the 20 seeds:

b_mixed c_late_spike d_under_declared
Rule V vacates 1 4 3
Isolation wait (total, s) 12,426 576 5,921
Runs where Overcommitted fired 19/20 18/20 19/20

The Overcommitted warning fires in most runs. This is a known v0.2 issue: admission reserves E × trusted_margin while a STABLE job reserves peak × safety_margin, so devices look overcommitted on paper at MarkStable (v0.2 roadmap).

Rule V vacate counts may be low. The counter used for these numbers (and for the vacated column of the freeze-2 records) counted Requeue(VACATED) and missed vacates whose job ended within the grace period. The stored records cannot be recomputed (no traces are kept), so the frozen numbers stay as recorded. The new vacate_stops counts Stop(vacate=True).

Limitation of (d), under-declared. In d_under_declared, hints affect only the first job of each template (hints are 0.4–0.7 of the true peak; after that the history max is used). This scenario tests under-declaration only in a narrow window. A scenario where hints stay decisive longer is a v0.2 benchmark candidate (v0.2 roadmap).

Freeze 2 summary (simulator v1, as recorded)

Freeze 2, held-out set 2 (seeds 2000–2019), from docs/benchmark/freeze-2/heldout/results.json. Ratios are per seed (each strategy on the same seed), shown as median [Q1–Q3] over the 20 seeds. Freeze 1 failed its gates and stays the primary result (below) [Note added 2026-11-21: Freeze 1 is now above. Freeze 3 is the current headline result; this summary is kept as recorded.]. This summary describes the configuration that passed.

makespan vs OOM kills per run, freeze 2

Among OOM-free strategies: rampgate vs Serial (makespan ratio, lower is better):

Scenario cold Probation / Serial warm Probation / Serial
a_small 0.15 [0.14–0.15] 0.12 [0.12–0.12]
b_mixed 0.60 [0.56–0.65] 0.59 [0.54–0.61]
c_late_spike 0.41 [0.39–0.42] 0.37 [0.35–0.38]
d_over_declared 0.75 [0.73–0.78] 0.75 [0.73–0.78]
d_under_declared 0.59 [0.56–0.63] 0.59 [0.54–0.61]
e_trainq 0.55 [0.53–0.57] 0.44 [0.41–0.47]

DeclaredReservation is also OOM-free when hints are over-declared (d_over_declared). There, cold Probation takes 0.95 [0.93–1.00]× its makespan.

The price of safety: rampgate vs GreedyFree and DeclaredReservation. Makespan ratio, OOM kills and lost work side by side. The "first-contact" column counts OOMs next to a still-ramping job with no observation-based estimate, which is the only kind rampgate is allowed.

Scenario Strategy Makespan / GreedyFree OOMs / run of which first-contact Lost work (step-s)
a_small Probation 1.31 [1.27–1.37] 0 [0–0] 0 [0–0] 0 [0–0]
a_small Probation (warm) 1.07 [1.03–1.13] 0 [0–0] 0 [0–0] 0 [0–0]
a_small GreedyFree 1.00 [1.00–1.00] 237 [209–245] 64 [63–65] 3,037 [2,938–3,261]
a_small DeclaredReservation 1.00 [1.00–1.00] 237 [209–245] 64 [63–65] 3,037 [2,938–3,261]
b_mixed Probation 1.27 [1.17–1.34] 1 [0–2] 1 [0–2] 46 [0–122]
b_mixed Probation (warm) 1.28 [1.12–1.35] 0 [0–0] 0 [0–0] 0 [0–0]
b_mixed GreedyFree 1.00 [1.00–1.00] 1,192 [995–1,330] 99 [88–114] 13,647 [10,968–15,546]
b_mixed DeclaredReservation 1.00 [1.00–1.00] 1,192 [995–1,330] 99 [88–114] 13,647 [10,968–15,546]
c_late_spike Probation 1.41 [1.29–1.45] 0 [0–0] 0 [0–0] 0 [0–0]
c_late_spike Probation (warm) 1.28 [1.22–1.32] 0 [0–0] 0 [0–0] 0 [0–0]
c_late_spike GreedyFree 1.00 [1.00–1.00] 438 [400–490] 144 [134–149] 4,602 [4,002–5,083]
c_late_spike DeclaredReservation 1.00 [1.00–1.00] 438 [400–490] 144 [134–149] 4,602 [4,002–5,083]
d_over_declared Probation 1.59 [1.52–1.74] 0 [0–0] 0 [0–0] 0 [0–0]
d_over_declared Probation (warm) 1.59 [1.52–1.72] 0 [0–0] 0 [0–0] 0 [0–0]
d_over_declared GreedyFree 1.00 [1.00–1.00] 1,192 [995–1,330] 99 [88–114] 13,647 [10,968–15,546]
d_over_declared DeclaredReservation 1.65 [1.60–1.75] 0 [0–0] 0 [0–0] 0 [0–0]
d_under_declared Probation 1.21 [1.15–1.34] 0 [0–1] 0 [0–1] 18 [0–55]
d_under_declared Probation (warm) 1.28 [1.12–1.35] 0 [0–0] 0 [0–0] 0 [0–0]
d_under_declared GreedyFree 1.00 [1.00–1.00] 1,192 [995–1,330] 99 [88–114] 13,647 [10,968–15,546]
d_under_declared DeclaredReservation 1.00 [0.94–1.05] 624 [530–800] 82 [62–92] 10,058 [8,582–11,062]
e_trainq Probation 1.50 [1.43–1.56] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq Probation (warm) 1.20 [1.05–1.25] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq GreedyFree 1.00 [1.00–1.00] 0 [0–0] 0 [0–0] 0 [0–0]
e_trainq DeclaredReservation 1.00 [1.00–1.00] 0 [0–0] 0 [0–0] 0 [0–0]

How to read it: - In (a)–(d), rampgate's extra makespan buys removing hundreds to about a thousand OOM kills per run and thousands of step-seconds of lost work. - In e_trainq, GreedyFree has no OOMs either, so rampgate's extra makespan (1.20× warm, 1.50× cold) buys nothing there. - In d_over_declared, rampgate and the OOM-free DeclaredReservation both take about 1.6× GreedyFree's makespan, and rampgate is slightly faster (0.95×).

Target (reported, not a gate): warm Probation median makespan ≤ 1.2 × GreedyFree median makespan (ratio of medians, so it differs slightly from the per-seed ratios above). Missed in four of six scenarios on freeze 2, and in two of six on freeze 1:

Scenario Freeze 1 (seeds 1000–1019) Freeze 2 (seeds 2000–2019)
a_small 1.09 (met) 1.10 (met)
b_mixed 1.18 (met) 1.27 (missed)
c_late_spike 1.31 (missed) 1.29 (missed)
d_over_declared 1.56 (missed) 1.58 (missed)
d_under_declared 1.18 (met) 1.27 (missed)
e_trainq 1.17 (met) 1.13 (met)

The two columns come from different seed sets, so the difference between them is not a measured cost of the freeze-2 changes. On the development seeds 0–49 the freeze-2 values are 1.08 / 1.30 / 1.30 / 1.66 / 1.30 / 1.15.

Development result after round 2 (simulator v2)

This section is not a held-out result. It uses development seeds 0–49. Freeze 3, the held-out run of this code, is reported above. Freeze 1 and freeze 2 were recorded under simulator v1 and are not comparable one-to-one with the v2 development numbers below (see Simulator attribution); their numbers stay exactly as recorded.

Gates. Code 289ad87, simulator v2, development seeds 0–49, run.py --groups main warm --check. The gates passed: every full-rampgate row of main and warm (Probation, Probation (all), Probation (warm), Probation (all, warm)), all 12 scenarios (the six above and six family scenarios, see below), has 0 bug OOMs (oom_count − first-contact) and 0 repeat-device OOMs. Sources: results.json, results.md and manifest.json in docs/benchmark/dev-round2/ (the manifest holds the SHA-256 of both result files). An earlier run of the same command, made before git was in the dev image, gave byte-identical results.json and results.md except the commit line.

How the round came about

Simulator v2 plus the sibling hold (code e753d35) had reached 0 bug OOMs on the development seeds. Diagnosing the last bug OOMs of the v1 cells showed that one was a pure v1 artifact and the other three were near misses under two mechanisms that do not depend on v1:

  • (A) Admission checked a trusted candidate's raw estimate E, while accounting charged E × margin. The last job admitted onto a device therefore had no margin: in one case the true sum was 79.80 GiB on 80.
  • (B) Allocator rounding. Three identical rounded observations understate the dispersion of the template: in one case the true sum was exactly 80.00 GiB on 80 (no OOM only because the overflow test is strict).

Fixes (both made before measuring them, pre-registered in the private design document):

  • (A) One charge function for admission and accounting: charge = min(E × m + q_d, C − F) (Rule A, invariant I22). The cap lets a near-capacity job start alone instead of waiting forever; a job waiting for that gets the explanation WaitingForExclusiveDevice. CapacityExceeded is still judged on the raw E against C.
  • (B) Device.alloc_granularity (q_d) is added once to a trusted charge. Derivation (an assumption, not a proven bound): assuming the margin m covers the job's continuous variation (x_new ≤ m · E), rounding up adds less than one block q, so the true peak is below E × m + q. q_d is a physical allocator parameter, not tuned on results: the simulator's misspec scenarios use their 2 GiB block, the other scenarios 0, and NvmlProbe defaults to 20 MiB (sizes taken from the PyTorch caching allocator's segment sizes; not validated on hardware). Fragmentation and segment caching on real GPUs are not covered by q_d.

Also found and fixed in this round: a same-tick sibling-hold bug (I21: the holds were computed once per tick, so a sibling started earlier in the tick did not hold a later candidate); a new invariant I23 (one decide call equals the sequential one-Start-per-call procedure); and forced jobs are left out of Rule V (I18).

Regression tests: for (A), two replays of development-seed runs; for (B), a replay of f_family_misspec50 Probation (warm) seed 0 at t = 2363, job f04 on gpu:0 (3 observations, E = 22.299 GiB, 24.780 free: the charge is 23.414 without q_d and 25.414 with it) and a synthetic unit test. The replay runs the scenario with its q_d = 2 GiB and asserts that f04 does not start at t = 2363; with q_d forced to 0 it fails (f04 starts). The synthetic test puts two trusted jobs of one template (E = 38 GiB, three observations) on an 80 GiB device: with q_d = 0 both start (charge 39.9 GiB each, 79.8 ≤ 80); with q_d = 2 GiB the second is refused (charge 41.9 GiB).

Round-2 ablation

Reported, not gated. Simulator v2, sibling hold on, every full-rampgate row of main and warm, 12 scenarios, seeds 0–49, 2,400 runs per cell. Cells: base (e753d35 behaviour), control (final code with (A) and (B) off, which isolates the I21 fix), A only, B only, A + B (the result). Totals over all twelve scenarios and all four rows:

Cell Bug OOMs First-contact OOMs Repeat-device OOMs Median makespan (s) Median wait p95 (s) Rule V vacates
base 0 4,015 0 5,728 2,734 1,292
control 0 4,015 0 5,728 2,734 1,292
A only 0 4,031 0 5,834 2,831 1,277
B only 0 3,979 0 5,724 2,736 1,286
A + B 0 3,991 0 5,847 2,867 1,291
  • Cost of A + B: median makespan +2 %, median wait p95 +5 %, consistent with the pre-registered expectation that the two changes can only remove admissions.
  • Control equals base in all 2,400 runs (decision digests, ignoring the new Start.foreign field): the I21 same-tick fix changes no development run.
  • In scenarios with q_d = 0, B only equals control and A only equals A + B, run for run, as expected.
  • Probation (all) rows are identical in all cells (they have no trusted estimates).

Digest check of the six original scenarios, e753d35 vs final code: 478 of 1,200 runs differ. First divergence, classified: 421 are a trusted candidate admitted with E ≤ free < charge that the final code refuses; 3 are the same with the C − F cap binding (d_over_declared, Probation); 0 other. 54 runs (all Probation (warm)) have no different decision at all, only Start.estimate values that differ by about 1e-3 relative (likely cause, not verified: the warm store is filled by a warm-up run of the same code, so history estimates move slightly). For f_family and f_family_asc, 158 of 400 runs differ: 155 the same refusal type, 3 estimate-value-only (likely the same cause, not verified).

Near-miss metric

New, report-only (never a gate), for every row including the baselines (Simulator). Per run: the minimum true headroom (C − true total) / C before OOM resolution, and the ticks with headroom below 1 % of C. On the final code, the original six scenarios have a median minimum headroom of 14–21 % depending on the row. The family scenarios have a median of about −0.7 % (negative means a tick that overflowed): these are first-contact OOMs, where unknown jobs are probed on purpose, not bug OOMs.

Simulator attribution (v1 vs v2)

Simulator v1 used the noisy observation samples both for what rampgate sees and to decide OOMs and victims, so observation noise could cause an OOM and a plateau job could be chosen as victim after an upward noise sample. Simulator v2 separates true demand from observation noise: OOMs, victims, max_overcommit and utilization are judged on true usage; sample noise only affects what rampgate observes (Simulator).

Some result differences therefore come from the simulator, not the algorithm. A 2×2 ablation (simulator v1/v2 × sibling hold off/on; v1 is the executor of b3cc5f2; every rampgate row of main and warm; seeds 0–49; sums; reported, not gated). Order of cells: v1/off → v1/on → v2/off → v2/on.

Family scenarios v1/off v1/on v2/off v2/on
Bug OOMs 22 4 7 0
Repeat-device OOMs 464 408 0 0
Category C, pre-registered 563 530 31 32
Category C, corrected 274 273 0 0
First-contact OOMs 5,016 4,598 3,916 3,938
Original six v1/off v1/on v2/off v2/on
Bug OOMs 0 0 1 0
Repeat-device OOMs 0 0 0 0
Category C, pre-registered 12 12 5 5
Category C, corrected 3 3 0 0
First-contact OOMs 102 102 77 77

Attribution: repeat-device OOMs and category C are simulator v1 artifacts (removed by v2, not by rampgate). The hold removes the bug OOMs (hold off → hold on) except 4 left on v1. Reporting rule: an improvement attributed to v2 is a simulator-fidelity change, never a rampgate improvement. For the six original scenarios, v1 (b3cc5f2) vs v2 with the hold (e753d35): the decision sequence differs in 590 of 2,100 runs, and utilization differs in every run (it is now computed from true usage).

Category C

Category C counts OOM kills where no running process on the device was in its ramp. At e753d35 (v2 with the hold) the pre-registered definition counts 37 kills (32 family, 5 original); the corrected definition counts 0.

The correction is post-hoc (made after the v2/hold diagnosis). The pre-registered definition (no process on the device in its true ramp: RampPlateau elapsed < load_s + ramp_s) misses a process's last ramp step when the tick that reaches the plateau comes after load_s + ramp_s; that step is a real allocation, and all 37 kills are such last steps. Corrected: an OOM kill where no running process on the device had a true usage increase in that tick. Category C was not re-measured on the round-2 code.

Family scenarios caveat

The six family scenarios (f_family, f_family_misspec50, f_family_misspec75, each also with ascending submit order) are synthetic; they are not traces of real jobs. Each has 26 jobs on 2 GPUs. Three model families are drawn with a fixed memory M from U(8, 20) GiB and a corner peak P_max (at batch 32, sequence 4096) from U(50, 65) GiB; the pre-registered rescale to (60, 70) was not used. A job's batch size and sequence length are drawn from {4, 8, 16, 32} and {512, 1024, 2048, 4096}, with ±5 % jitter. In f_family the peak is linear in tokens (M + (P_max − M) × b·s / (32·4096)). In the misspec variants a share ρ (0.5 or 0.75) of the activation memory scales with b·s² and the jitter-scaled peak is rounded up to 2 GiB allocator blocks (q_d = 2 GiB on their devices). benchmarks/scenarios.py is the exact generator.

Makespan target notes

The target (not a gate): warm Probation median makespan ≤ 1.2 × GreedyFree median makespan. It is missed in four of the original scenarios. Ratio = median warm Probation makespan / median GreedyFree makespan, seeds 0–49 unless noted:

Scenario Target Final (A + B, v2) Base e753d35 (v2) Freeze-2 code, dev seeds (v1) Freeze-2 held-out (v1, seeds 2000–2019)
b_mixed ≤ 1.20 1.32 1.26 1.30 1.27
c_late_spike ≤ 1.20 1.46 1.45 1.30 1.29
d_over_declared ≤ 1.20 1.61 1.61 1.66 1.58
d_under_declared ≤ 1.20 1.32 1.26 1.30 1.27

a_small (1.11), e_trainq (1.15) and the six family scenarios (1.12–1.18) meet it. All four misses already existed at freeze 2. The rise of c_late_spike from 1.30 to 1.45 comes from simulator v2 (GreedyFree's median makespan dropped from 2,526 to 2,252 s; warm Probation's stayed at 3,276 s), not from rampgate. A + B adds 0.06 in b_mixed and d_under_declared (warm Probation 6,639 → 6,936 s) and about 0 elsewhere. The base column uses GreedyFree from the final-code run; this assumes that round 2 does not change baseline admission (an assumption, not separately checked).

Cost of the misses. GreedyFree's OOMs and lost work in the same scenarios and seeds (final code, development seeds 0–49, from results.json). GreedyFree has OOMs in all 50 runs of each scenario. The slowdown is the cost of avoiding those OOMs.

Scenario GreedyFree OOMs (sum over 50 seeds; median per run) GreedyFree jobs that OOMed (median per run, of jobs per run) GreedyFree lost work (step-s; sum; median per run) warm Probation OOMs / lost work
b_mixed 30,795; 582 10 of 22 419,733; 7,336 0 / 0
c_late_spike 23,207; 445.5 20 of 20 179,553; 3,476 0 / 0
d_over_declared 30,795; 582 10 of 22 419,733; 7,336 0 / 0
d_under_declared 30,795; 582 10 of 22 419,733; 7,336 0 / 0

The OOM count includes repeated kills of the same job (one job can be killed dozens of times in a run); the jobs column counts distinct jobs with at least one OOM.

The b_mixed, d_over_declared and d_under_declared rows are identical for GreedyFree because GreedyFree ignores declared hints and the two (d) scenarios are the (b) workload with hints added (benchmarks/scenarios.py).

Methodology

Protocol. Development and diagnosis use development seeds only (0–9 up to freeze 1, 0–49 since). When --check passes on them and every regression test passes, the configuration is frozen as the git tag bench-freeze-N. Simulator v2 (true demand vs observation noise, Simulator) is used from freeze 3 on; freezes 1 and 2 stay as recorded under v1. Held-out set N (seeds 1000·N … 1000·N + 19, warm stores from 10 000 + 1000·N) has never been run before; it is run once on the tag. Freeze 3 used seeds 3000–3019 (warm stores 13 000–13 019) for the six original scenarios and seeds 3000–3049 (warm stores 13 000–13 049) for the family scenarios (pre-registered); its one retry is reported under Deviation. A failed criterion is not relaxed. Its result stays as it is, its failures may be diagnosed on their traces, and the failing (scenario, seed) pairs become regression tests. A held-out set is never reported again after it is spent. The tag is made before its run and published at release.

Pre-registration. The pre-registration (acceptance criteria, change notes, freeze protocol) lives in a private design document. The repository history was rewritten on 2026-10-29 before first publication to remove it. The original history is kept in a private archive; original freeze commits: bench-freeze-1 a3449125be65812bbbb9245908466ccfc79f33c1, bench-freeze-2 d810c0683d2e254031727ec92375382fe0bdf471. It can be shared with reviewers on request; these hashes prove that an archive shared later wasn't altered, but not when the tags were made. Both tags were made locally and not published before their results were read, so the timing is not independently verifiable.

bench-freeze-1 bench-freeze-2 bench-freeze-3
Tag → commit 462ffb6 → d3dab2f b9d47fc → 974932c da5212e → 682c926
Original tag → commit (private archive) d32ec95 → a344912 abb4338 → d810c06 n/a (not rewritten)
Tag created 2026-10-27 13:13:35 +03:00 2026-10-28 10:32:00 +03:00 2026-11-20 11:26:35 +03:00
Held-out run started 2026-10-27 13:13:39 +03:00 2026-10-28 10:32:05 +03:00 run 1: 2026-11-20 11:26:37 +03:00 (killed, no results written), retried 2026-11-21 11:59:27 +03:00; run 2: 2026-11-21 13:29:08 +03:00
Results first read 2026-10-27 14:32:52 +03:00 2026-10-28 12:23:12 +03:00 run 1: 2026-11-21 13:29 +03:00; run 2: 2026-11-21 13:57 +03:00 (gate output in each run's log, read when the run exited)

Until 2026-10-28 the protocol required pushing the tag to GitHub before its run. That rule was dropped while freeze 2's run was in progress, before its results were read, because the project stays local until release.

Changes after results were first seen, in summary (from 2026-10-21; the full commit-by-commit table follows).

  • Before freeze 1:
  • a HintExceeded warning;
  • the first-contact clarification;
  • a stricter repeat-OOM gate;
  • the L4 gates scoped to the main and warm groups (the sensitivity sweep is reported only);
  • an OOM lower bound alone is never trusted;
  • trusted_margin with ≥ 3 observations (Rule A).
  • After freeze 1 failed:
  • lower-bound estimates grow by oom_growth;
  • an untrusted warming job holds its device (I17);
  • Rule V and the isolation retry;
  • the six freeze-1 failures as regression tests.
  • After freeze 2:
  • the isolation-precedence fix (I20);
  • the L6 items, which change no development-seed run (see Determinism).
  • Core-fix track, after freeze 2 and before freeze 3 (2026-11):
  • simulator v2 (true demand vs observation noise) and the sibling hold (I21), reaching 0 bug OOMs on development seeds at e753d35;
  • round 2, pre-registered before its code and measurements: one charge function for admission and accounting (I22), the allocation granularity q_d, the charge cap, the same-tick sibling-hold fix, I23, forced jobs left out of Rule V (I18); final gated run at 289ad87 (results).
  • The category C definition was corrected after results were seen (post-hoc, see above).
  • Freeze 3 (2026-11-20 and 2026-11-21): tag bench-freeze-3 on 682c926 (the 289ad87 behaviour plus documentation and committed development results). Both held-out runs (six original scenarios, seeds 3000–3019; family scenarios, seeds 3000–3049) passed their gates (Freeze 3). Run 1 was retried once after an unexplained SIGKILL before any result was written (Deviation).

Changes made after results were first seen (the first benchmark results were seen after 58cfb1e, 2026-10-21). Hashes are after the history rewrites; private marks a commit that changed only removed files (the design document or private diagnosis material) and exists only in the original history, under the original hash shown. History rewrites maps the hashes that appear in the frozen records to their originals.

After the first development-seed results, before freeze 1 (2026-10-22):

Commit Change
ff19871 HintExceeded warning when observed usage exceeds the declared hint.
3cf9ffb Clarified "first-contact OOM": a declared hint is not an observation (written after results were seen).
cc7c5b2 Added OOM kills per job and the repeat-OOM gate (a stricter criterion, added after results).
private (5a5a081) The L4 gates cover the main and warm groups; the sensitivity sweep is reported only.
64ca762 Fix: an OOM lower bound alone never makes an estimate trusted.
private (4ccf181) Design document for 64ca762.
615fbec Changelog for 64ca762.
private (72de3ca) Design document: a separate trusted_margin (1.05) for trusted warming jobs.
c4de4f3 Config.trusted_margin (default 1.05).
2e3c1f2 History keeps arrival order, so an older lower bound never overrides a later success.
d4e94be Bench tooling: trusted_margin sweep, Pareto plots, warm-vs-cold diagnosis, --seed-start / --commit.
private (d7955b0) Protocol: development seeds 0–9, held-out seeds 1000–1019, freeze tag.
private (c1629e8) Design document for rule A, rationale written before measuring.
d3dab2f Rule A: trusted_margin only with ≥ 3 observations. Tagged bench-freeze-1.

After held-out evaluation 1, before freeze 2 (2026-10-27):

Commit Change
396e4ca Recorded the freeze-1 held-out results unchanged.
49f2b43 Plots carry tag, commit and seed set and are redrawn from results.json.
752e7d3 Freeze-1 held-out plots and failure traces (the traces were removed from the published history, see History rewrites).
private (f9e0dee) Design document: lower-bound-only estimates grow by oom_growth, rationale before measuring.
4d21648 Lower-bound-only estimates grow by oom_growth for admission.
private (61ebe13) Design document: an untrusted warming job holds its device against every start (I17).
e7afa91 An untrusted warming job holds its device against every start (I17).
5561a10 The six freeze-1 held-out failures as regression tests (replayed, not reported).
dcfa2c2 Protocol: freeze-N, a new held-out set per freeze, development seeds 0–49.
private (732837a) Design document: every dimension whose estimate is a lower bound grows (scope widened before measuring).
02a8315 Grow every estimate dimension that comes from a lower bound.
private (e75c280) Diagnosis tooling: --only pairs, --all-ooms.
private (1b85ced) Diagnosis: check that Overcommitted was active at freeze-1's (c) OOMs.
private (61f58bd) Design document: Rule V (vacate), isolation retry, I18/I19, I13 exception, new reported metrics, v0.2 roadmap note.
private (101e77e) Design document: Rule V vacates STABLE jobs only, triggered by MarkStable / UpdateReservation.
c11bd65 Rule V and the isolation retry; state schema v4.
a113bc5 Report Rule V vacates, isolation wait and Overcommitted warnings (not gated).
974932c Development-seed failures found before freeze 2 (b_mixed 36, d_under 36, b_mixed 19) as regression tests. bench-freeze-2 after the rewrite.
private (d810c06) Design document roadmap: a v0.2 scenario where hints stay decisive longer. Originally tagged bench-freeze-2 (no code change: the rewritten tag points at its parent 974932c, same code tree).

After held-out evaluation 2: the freeze-2 results recorded unchanged; the README's benchmark, status and prior-art sections and this Methodology section (then in the README); the design document's publishing rule and its record of publication, including a correction (it used to say bench-freeze-1 was pushed after its results; it has never been pushed).

Before first publication (2026-10-29): the history was rewritten to remove the design document, and then the private diagnosis material (History rewrites). The rewrites change no code: every commit keeps its tree minus the removed paths. Their follow-up commits change no behaviour: they replace the references to SPEC.md (in code, only comments, docstrings and benchmark report headings), publish the invariants as Invariants, move the benchmark tables and this Methodology from the README to this page, and map old commit hashes to new ones. The frozen records keep their original hashes.

After the first push (2026-10-30): a trailer line was removed from every commit message (History rewrites); no tree changed.

Reproducing a run

A held-out run (--tag) and a gated development run (--check) write manifest.json next to results.json: the exact arguments (argv), the commit, the tag name and its commit, whether the tree was dirty, the Python version, the SHA-256 of uv.lock, the seed ranges (run seeds and warm-store seeds, + 10000), UTC start and end timestamps and the SHA-256 of every file the run wrote (results.json, results.md, plots). --tag refuses to start on a dirty tree or when the tag does not point at HEAD. A gated or held-out run refuses to start when git cannot be queried (the commit and the tree state are never guessed); other runs record null for the commit then. The gated development run after round 2 is kept in docs/benchmark/dev-round2/ with its manifest. A run without a manifest is not reported as a held-out or gated result. (Freeze 2's held-out invocation was not recorded, so its runs cannot be re-executed with certainty.)

Determinism after freeze 2

The isolation-precedence fix and the L6 changes (observe_sample, JobNotObserved, the Rule S usage floor and its warm-up from the floor crossing, state schemas v5 and v6) leave every development-seed benchmark run unchanged. benchmarks/trace_digest.py runs every task of the main, warm and ablations groups on seeds 0–49 (3000 runs) and records each run's results.json row and the SHA-256 of its per-tick action_id sequence. The digest files of the commit before the fix and of each later commit were byte-identical (SHA-256 9528d6bc8a84bce98447fa8dadbc64eaf79dfff8a0bcc036f66aaa357f31d303). To reproduce, on each commit:

python benchmarks/trace_digest.py --out a.json
python benchmarks/trace_digest.py --compare a.json b.json

Commits: the commit before the fix 7cff69c; the isolation-precedence fix f91f421; the L6 core changes d031c85; warm-up from the floor crossing fc7a0e1. The record of that comparison is in the private archive.

History rewrites

Before first publication the history was rewritten twice with git filter-repo --invert-paths, on 2026-10-29: first to remove the private design document (SPEC.md), then to remove private diagnosis material (the freeze-1 failure traces, the diagnosis scripts, the determinism record and the raw container logs of the real-hardware runs). No code changed. After each pass, every commit's tree was checked to equal its original minus the removed paths. Commits that changed only removed files were dropped. The original history is kept in a private archive and can be shared with reviewers on request.

On 2026-10-30, after the first push, a third pass removed one trailer line from every commit message and changed nothing else: each commit's tree, author, committer and dates are the same. The hashes on this page are the ones after this pass.

The frozen records (docs/benchmark/freeze-*/, docs/real-run/runs/, and the plots) are byte-identical and name the original commits:

Original (in the records and the private archive) Current
bench-freeze-1 tag d32ec95c37af7856d3f83146651fc91f8527fbd4 462ffb686fec30cbf8ead26fe3ca8088ddc25c2a
bench-freeze-1 commit a3449125be65812bbbb9245908466ccfc79f33c1 d3dab2fd9a10e3a4c85e4dad8f3b26c9bea4c308
bench-freeze-2 tag abb4338fe018d2dfb119142cdeba0c14e052b338 b9d47fc966cf3d7c95629968b979cb26950b5de9
bench-freeze-2 commit d810c0683d2e254031727ec92375382fe0bdf471 974932c4c2d0ef3d515c8912270434c4588113a6 (the original changed only SPEC.md and was dropped; this is its parent, same code tree)
commit in freeze-2/dev/results.json and results.md 5153dea50a0ba9a4feb393148be407cf87c135c5 974932c4c2d0ef3d515c8912270434c4588113a6
commit in real-run/runs/staged-20261028-103628/run.jsonl c0c0c0eeb4e673cf10b4bdc6e3702ba1a9780964 e15b99e8eabab4a82dc8812717de2a9782e66a6c
commit in real-run/runs/unstaged-20261028-121757/ and staged-20261028-122553/run.jsonl 8dca1f2ba5eaab8b7bfc54d3c17c89b2223db9fa c0e52d0bde69ab8ebf05139b0a5d2ab950f1b82e
commit in real-run/preempt.json 67d7594a8555f51a42ae841d2f4120f1215168df f30f50123ba1dec5f821b513cf12239c6e2528c8

The freeze-1 held-out records name a3449125… and the freeze-2 held-out records name d810c068…, the freeze commits above.