Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
6.3 KiB
Codex + runtime + model: vanilla Strata against Leleka on two real tasks (RTX 5090)
Branch claude/codex-compare (from claude/quality-245k, which carries the --agents-md option of cell.py). Owner request (2026-11-05): test the model and the runtime, KAR included, the way it is used,
with Codex CLI + runtime + model, on two tasks, handed out to the vanilla build (Strata) and to ours in turn, and compare relative quality, number of iterations and speed.
This page fixes the design before the first run; it contains no result. Numbers go to codex-compare/runs/main/_compare/ on the server and are quoted here after the runs.
1. Arms
| id | stack | configuration |
|---|---|---|
| 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 = 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
(adaptive expert tier, prefix cache), which is why every cell is repeated. No AGENTS.md pad: the sessions are what a user gets, contexts grow naturally (tens of thousands of tokens).
2. Tasks (frozen in scripts/e2e/codex/tasks/, installed read-only on the server)
ttt: three.js tic-tac-toe in oneindex.html(prompt of the earlier jobs 943*, unchanged; the vendoredthree.module.min.jsis an external seed file). Acceptance: static checks on the server; the six real-mouse browser checks (hidden/check_ttt.mjs, Playwright) run afterwards on the laptop over the stored workspaces (delta/browser_check_ttt.sh) and go into_compare/browser.json.nestng-crm: a simple NestJS REST API + Angular front-end CRM (companies, contacts, deals with stages, search, pipeline). New task, authored for this study: seed = scaffolded Nest and Angular projects with pinned dependencies andpackage-lock.json;node_modulesare not in the seed: the runner hard-links two shared, read-only trees (codex-compare/nm/backend,nm/frontend) into the workspace (cell.py --link-tree), so the agent has Node 22 + the real dependency set and no network, and no bulk data is written per cell. No browser on the server: verification is the Nest tests, a started server andnpm run buildof the Angular app. Acceptance (accept.py, variant-blind): black-box REST checks, the agent's own backend tests, production build of both projects, static checks of the Angular sources.smoke-miniruns first in every block as the warm-up cell (identical for both arms; not compared).
Limits, identical for both arms: cell wall limit 3000 s, 150 model requests (the proxy answers 503 beyond it: recorded round_cap), Codex medium reasoning. A cell that hits a limit is not completed.
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, 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.
4. What is compared
- Quality (relative): objective acceptance (pass / fail and checks passed of N), the browser checks of
ttt, failed or malformed model requests and tool-call errors, termination reason; then a blinded read of the final workspaces and sessions against a fixed rubric (correct behaviour, completeness against the prompt, code structure, tests written and run, how the agent used its feedback), with the arm hidden from the reader, done after all cells exist. - Iterations: model requests per cell (rounds), Codex tool calls, rounds that ended in an error, input tokens re-read in total.
- Speed: wall time to completion, decode tok/s (output tokens over decode time), time to first byte, seconds per request. Speed is only comparable between completed cells of the same task; a longer session is not slower.
scripts/e2e/codex/compare/cmp_report.py RUNS_ROOT prints per task and arm every repetition, mean and sd, and the paired difference LEL minus VAN by repetition. With three repetitions per cell it cannot resolve small differences (the
lossy-delta study measured the run-to-run CV of rounds; see codex-lossy-delta.md section 6); the report states the spread, not a verdict.
5. Provenance and rules kept
Test tooling only, never in serving. Server work folder /data/leleka-e2e/codex-compare/ (tasks, delta, tools read-only with INSTALL.sha256; toolchain/ Node.js with the tarball sha256 in the notes; nm/ shared dependencies; runs/main/).
Every run is a GPU-queue stub; jobs append to decode/notes.md. Nothing is claimed as a performance improvement from this study: it compares products on two workloads, and a faster or slower arm
is reported with its quality and its iteration count beside it (AGENTS.md rule on A/B claims).
Results: codex-compare-5090-results.md.