codex-compare: VANL (vanilla, lossy defaults off) is the reference arm; paired differences against it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Pavlo Ratushnyi
2026-11-05 02:32:10 +01:00
co-authored by Claude Sonnet 5.5
parent ba26e685bf
commit 01e0504942
2 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ This page fixes the design before the first run; it contains no result. Numbers
| --- | --- | --- |
| LEL | Leleka release package `leleka-0.1.0-17e372944279-5090-linux-x86_64.tar.xz` (tag `leleka-5090-v0.1` plus the deploy-only follow-up commits), `leleka up --foreground --kar-fd` from the holder's sealed memfd | shipped: profile `rtx5090-32g`, KAR level-2 PLE, prefix cache auto, tail `reply`, greedy |
| VAN | vanilla Strata 0.2.6 (launcher `~/work/vanilla-strata/control`, engine 0.1.50), `launch --model iq3_s --context 256k --kv int8 --vision off --parallel 1 --tune skip` | **shipped defaults** (route tail skip ON, CPU prefill share auto); default GGUF PLE |
| VANL (optional, only if the owner wants the attribution) | same, `STRATA_ROUTE_TAIL_SKIP=0 STRATA_PREFILL_CPU_SHARE=0` | lossy defaults off, the Original of the 245k study |
| **VANL = the reference** (owner, 2026-11-05: "in principle this is the reference") | same, `STRATA_ROUTE_TAIL_SKIP=0 STRATA_PREFILL_CPU_SHARE=0` | lossy defaults off, the Original of the 245k study; LEL is judged against it first, VAN shows what vanilla's lossy defaults cost |
Same machine, same model files, same Codex CLI 0.163.0 (`~/work/codex-e2e/bin/codex`), same `config.toml.tmpl` (reasoning effort medium, context window 262144, no web search, workspace-write sandbox, no network).
The logging proxy injects `temperature: 0` into every request of every arm (Codex sends none; vanilla would otherwise sample), so both are greedy. Greedy agent sessions are still not reproducible run to run
@@ -31,7 +31,7 @@ Limits, identical for both arms: cell wall limit 3000 s, 150 model requests (the
## 3. Protocol
One **block** = one stack start of one arm (LEL load about 7-8 min, VAN about 5 min) running the warm-up cell and the tasks of one repetition. Three repetitions per arm and task, balanced against drift:
rep 1 LEL then VAN, rep 2 VAN then LEL, rep 3 LEL then VAN; the task order inside a block alternates with the repetition. Both arms run on the same server state otherwise (the lab holder is stopped for VAN by the usual
rep 1 LEL, VAN, VANL; rep 2 VANL, VAN, LEL; rep 3 LEL, VANL, VAN (9 blocks); the task order inside a block alternates with the repetition. Both arms run on the same server state otherwise (the lab holder is stopped for VAN by the usual
holder-free window and restarted afterwards). Server drift (uptime, GPU clocks, temperature) is recorded per block (`stack-r<k>/mon.csv`, `host-r<k>.txt`).
Stage 1 (queued behind the window-policy batch 2): `ttt` repetition 1 for LEL and VAN, which also shakes out the harness. Stage 2: the remaining repetitions and `nestng-crm` once its task is frozen and its dependencies are installed.
+12 -9
View File
@@ -94,18 +94,21 @@ def main():
if rs_:
md.append("| %s | %d | %d/%d | %s | %s | %s | %s | %s |" % (v, len(rs_), sum(1 for x in rs_ if x["accepted"] == "yes"), len(rs_), mean_sd([x["rounds"] for x in rs_]), mean_sd([x["tool_calls"] for x in rs_]),
mean_sd([x["wall_s"] for x in rs_]), mean_sd([x["decode_tok_s"] for x in rs_]), mean_sd([x["s_per_request"] for x in rs_])))
if "LEL" in variants and "VAN" in variants:
# the reference is VANL (vanilla with both lossy defaults off = the Original of the quality studies); VAN is what a vanilla user gets by default
for x, y, why in (("LEL", "VANL", "Leleka minus the reference"), ("VAN", "VANL", "vanilla shipped minus the reference (the cost of vanilla's lossy defaults)"), ("LEL", "VAN", "Leleka minus vanilla shipped")):
if x not in variants or y not in variants:
continue
pairs = []
for rep in sorted(set(x["rep"] for x in rows if x["task"] == t)):
a = [x for x in rows if x["task"] == t and x["variant"] == "LEL" and x["rep"] == rep]
b = [x for x in rows if x["task"] == t and x["variant"] == "VAN" and x["rep"] == rep]
if a and b:
pairs.append((a[0], b[0]))
for rep in sorted(set(r["rep"] for r in rows if r["task"] == t)):
p1 = [r for r in rows if r["task"] == t and r["variant"] == x and r["rep"] == rep]
p2 = [r for r in rows if r["task"] == t and r["variant"] == y and r["rep"] == rep]
if p1 and p2:
pairs.append((p1[0], p2[0]))
if pairs:
md += ["", "Paired by repetition, Leleka minus vanilla (%d pair%s):" % (len(pairs), "" if len(pairs) == 1 else "s"), ""]
md += ["", "Paired by repetition, %s %s (%d pair%s):" % (x + " - " + y, why, len(pairs), "" if len(pairs) == 1 else "s"), ""]
for key, label in (("rounds", "rounds"), ("tool_calls", "tool calls"), ("wall_s", "wall s"), ("decode_tok_s", "decode tok/s")):
ds = [a[key] - b[key] for a, b in pairs if isinstance(a[key], (int, float)) and isinstance(b[key], (int, float))]
md.append("* %s: %s (per pair: %s)" % (label, mean_sd(ds), ", ".join("%+.1f" % x for x in ds)))
ds = [p[0][key] - p[1][key] for p in pairs if isinstance(p[0][key], (int, float)) and isinstance(p[1][key], (int, float))]
md.append("* %s: %s (per pair: %s)" % (label, mean_sd(ds), ", ".join("%+.1f" % d for d in ds)))
md.append("")
md += ["## Sessions to read", ""]
md += ["* %s %s r%s: `%s` (%s, %s rounds)" % (r["variant"], r["task"], r["rep"], r["transcript"], r["accepted"], r["rounds"]) for r in rows if not r["task"].startswith("smoke")]