# Strata family, post 2: data and scripts

Everything behind the numbers in "Same File, Different Engine". One box, one operator, mostly one run per setting; speed numbers are medians, accuracy is a local grader (not the official judge).

**Hardware:** RTX 5090 32 GB (PCIe 4.0 x16, 28.0 GB/s probed), Ryzen 9 3950X (Zen 2, AVX2, no AVX-512), 121 GiB DDR4, NVMe. llama.cpp build `77c4540ce` (2026-10-13). Strata 0.1.51 (MTP and llama.cpp comparison), Strata 0.1.42–0.1.47 (real-use logs and older runs), Project Maya 1.1.13.

## What is here

| File | What it is |
|---|---|
| `data/qwen_iq3s_llamacpp_vs_strata.csv` | Qwen IQ3_S, llama.cpp vs Strata, same file and prompts, 8K–260K |
| `data/strata_mtp_on_off.csv` | Strata MTP on vs off, 3 runs per length (the first MTP-off run at 8K logs 10 drafts offered although MTP was off; its median is unaffected) |
| `data/glm_llamacpp_maya_s24.csv` | llama.cpp on the Maya-S24 GLM file, tuned and auto placement |
| `data/speed_all_runs.csv` | Strata and Maya runs across engine versions, including Maya's needle runs |
| `data/llama_swap_real_usage.csv` | real-use medians by prompt-size bucket from the llama-swap logs (requests with at least 64 output tokens) |
| `data/hof95_runs.csv`, `data/hof95_all_models_summary.json` | the 95-CVE accuracy runs and the summary for every model I scored |
| `data/grade-pairs.json` | exact McNemar counts and p-values for every pair compared, and the determinism counts |
| `llamacpp-configs.md` | the llama.cpp flags, the tuning tables and the settings that failed to load |
| `bench-glm.py` | the GLM llama.cpp benchmark (generates its own prompts) |
| `bench-qwen.py` | the Qwen llama.cpp benchmark; replays Strata's request files, which are **not** in this bundle |

## What is and is not reproducible from here

- The ratios, MTP gains, acceptance rates and p-values can be re-derived from the CSVs and `grade-pairs.json` (the post's unit tests do exactly that).
- The GLM llama.cpp run can be repeated with `bench-glm.py` against a llama.cpp server on port 8083 once you have the Maya-S24 files.
- The Strata and Maya engines are separate repositories; their own docs say how to run them. Their runs are not scripted here.
- The Qwen prompts are Strata's request files and are not included, so that half is not reproducible from this bundle.
- The per-task grades behind the McNemar tests live on the benchmark box; `grade-pairs.json` holds the resulting counts.

## The McNemar rule

Exact two-sided: with `a` tasks only run A got right and `b` only run B got right, `p = min(1, 2 × P(X ≤ min(a, b)))` for X ~ Binomial(a + b, 0.5). Strict match, all 95 tasks, the headline run of each setting.

---

# Basalt follow-up (post 3: "A Fork That Decodes Faster")

Basalt (a Strata fork, Qwen3.8-Flash-Next only, version 0.0.1) against Strata 0.1.51 on the same IQ3_S quant (Basalt loads its own `.basalt` pack, Strata the GGUF; I did not verify the weights are identical), plus one Basalt Q4_K_XL run. Same box and caveats as above.

| File | What it is |
|---|---|
| `data/basalt_iq3s_mtp_on_off.csv` | Basalt default-config synthetic sweep, MTP on and off, 3 runs per length (Strata's side is `data/strata_mtp_on_off.csv`) |
| `data/basalt_iq3s_matched_config.csv` | Basalt at matched config (spec 4 and spec 0) over the same lengths |
| `data/basalt_q4kxl_mtp_on_off.csv` | Basalt Q4_K_XL synthetic sweep, MTP on and off |
| `data/basalt-hof-runs.csv` | the 11 95-CVE runs: strict hits, prefill (prompts of 16K tokens and up), median decode, draft acceptance, answers capped at 600 tokens, wall time |
| `data/basalt-grade-pairs.json` | exact McNemar counts and p-values for every pair of runs compared |
| `data/basalt-realcode-prefill.csv` | prefill on six prompts built from unrelated real source files, both engines |
| `data/basalt-identity.json` | counts from the 20-prompt greedy-output comparison |
| `basalt/identity.py` | the 20-prompt script; run it against any OpenAI-compatible server |
| `basalt/realcode_prefill.py` | builds the six real-source prompts from a corpus directory you supply (`HOF_CORPUS`) |
| `basalt/basalt-configs.md` | the Basalt configs and the Strata settings they were compared with |
| `basalt-eval-harness.tar.gz` | the Basalt files above in one archive |

**What is not shipped:** the 95-CVE corpus and prompts, the model answers, and the per-task grades (the benchmark's source text is not mine to republish; `data/basalt-grade-pairs.json` holds the resulting counts); the Strata request files for the synthetic prompts; the HoF-Bench runner and grader. The Q4_K_XL pack and the Basalt packs themselves are third-party downloads, and the Q4_K_XL pack has been deleted from my box, so that run cannot be repeated without downloading it again. The synthetic half is therefore not reproducible from this bundle.

Most numbers in the post can be re-derived from the files here: the decode gains from `basalt-hof-runs.csv`, the Basalt sweep ratios from the three sweep CSVs (the Strata side is `data/strata_mtp_on_off.csv`, which is in the main download, not in the Basalt tarball), the p-values from `basalt-grade-pairs.json`, and the post-hoc permutation p of 0.048 from the ten IQ3_S rows of `basalt-hof-runs.csv`. A few figures are quoted from my notes and cannot be re-derived from this bundle: the 2,915 n-gram drafts, Basalt's startup probe (34.4 GB/s), the expert-cache hit rate on the 95-CVE run, and the pack sizes. The identity test compares text only: both servers accepted a logprobs request and returned none.
