Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

bench: community report, RX 9060 XT 16 GB, IQ2_XS and IQ3_XXS (PR #1802)

isoux357f980b5bd232
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/METHODS.md b/bench/results/2026-10-10-community-rx-9060-xt/METHODS.md
new file mode 100644
index 000000000..0d7d287a5
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/METHODS.md
@@ -0,0 +1,175 @@
+# Detailed methods for the RX 9060 XT benchmark
+
+Measured October 9–10, 2026. Contributor: [isoux35](https://github.com/isoux35).
+
+On this Windows desktop, increasing IQ2_XS prefill from 2,048 to 8,192 reduced median fresh-prompt latency by about 56% for the two tested prompt sizes. In a separate same-day coding comparison at matched 32K settings, IQ2_XS completed the small synthetic tasks sooner than IQ3_XXS, with both passing the acceptance checks. A single near-limit recall request also completed with 113,501 input tokens under a 122,880-token context limit.
+
+These are measurements of this installed stack, not a universal ranking of the models or a claim of reliable coding over 120K tokens. No engine code, defaults, or upstream headline performance claims are changed.
+
+## Hardware and software
+
+| Component | Tested setup |
+| --- | --- |
+| GPU | AMD Radeon RX 9060 XT, 16 GB VRAM, gfx1200; one discrete GPU used |
+| CPU | AMD Ryzen 7 9800X3D, 8 cores / 16 threads |
+| RAM | 64 GB installed, approximately 61.66 GiB usable by Windows; DDR5-6000 |
+| Operating system | Windows 11 Home 25H2, build 26200.9457 |
+| Display driver | 32.0.31041.1004 |
+| Engine | Prebuilt Strata 0.1.40.3, windows-x64, HIP backend |
+| Packaged runtime | BUILD.json records ROCm `10.2.0a20260930`, hipBLASLt version `100500` |
+| Wrapper checkout | `d5ea7133741e67743c0e886bb426c0ce8d69cf6c` |
+| Client stack | OpenCode 1.18.34 in Ubuntu 24.04 WSL; OpenChamber 1.24.2 frontend |
+| Independent test runner | Node.js v24.21.0 in WSL |
+
+The engine's exact compiled source commit is not recorded; the wrapper checkout is **not** presented as the binary's build commit. Storage model, negotiated PCIe link, GPU power limits, temperature, and detailed CPU-worker defaults were not recorded. This was not an isolated benchmark workstation: browser, client services, WSL, and normal background applications were present.
+
+This uses native Windows HIP, **not** Vulkan inference or an engine running in WSL. Strata distributes experts and context storage across GPU and system memory; this is not an all-weights-in-VRAM configuration.
+
+## Model artifacts
+
+Both models came from [ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF).
+
+| Quant | GGUF filename | Bytes |
+| --- | --- | ---: |
+| IQ2_XS | Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf | 39,225,954,592 |
+| IQ2_XS | Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf | 28,800,138,432 |
+| IQ3_XXS | Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf | 47,039,860,096 |
+| IQ3_XXS | Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf | 28,800,138,432 |
+
+The IQ2_XS first-shard download metadata records revision `ed59f92082b1e93c0e96d60a8b11aab089b52f09` and object ETag `92cee27ae5bbadcd732416a0f7a7f0acc092399dbbe8f5a5efa707c2ec0a49d7`. The shared second shard was reused from the existing installation; its original revision and the IQ3_XXS revision were not recorded. File sizes alone do not establish artifact identity.
+
+The existing prepared IQ packs and expert profile were used. MTP used the prepared runtime pack from `mtp-q2_0.gguf` (889,014,272 bytes). Pack, draft, and expert-profile hashes were not recorded during the trials, limiting exact cross-machine reproducibility. No model binaries, packs, or calibration files are included here. No new calibration was forced for these tests.
+
+## Common settings and timing boundaries
+
+The tested arguments below use portable path labels instead of the contributor's file paths. These are engine argument details, not a complete standalone server launch command:
+
+```text
+STRATA_HIP_WMMA=1
+--pack <PREPARED_PACK>
+--native <FIRST_GGUF_SHARD>
+--ple-gguf <SECOND_GGUF_SHARD>
+--expert-profile <EXPERT_PROFILE>
+--expert-cache auto
+--prefill <ARM_SIZE>
+--spec 4
+--spec-min-p 0.5
+--mtp <PREPARED_MTP_RUNTIME_PACK>
+--max-context <CONTEXT_LIMIT>
+--kv int8
+--vram-reserve-mib 2048
+--kv-resident 32768
+```
+
+One parallel request; vision and experimental speed projection disabled. Sampling: temperature 1.0, top-p 0.95, top-k 20, min-p 0, seed 42, repetition penalty 1.0, presence and frequency penalties 0.
+
+Direct recall trials used low reasoning and a 1,024-token output cap, streaming requests, `cache_prompt=false`, and `strata_checkpoint=false`. All measured recall requests reported zero reused prompt tokens. Streaming first-token latency starts at client request submission and ends at the first nonempty reasoning, answer, or tool-call delta; first-answer latency excludes reasoning. End-to-end wall time includes HTTP and output reception but excludes model loading. Engine prompt and decode timing are reported separately, and decode counts include reasoning tokens.
+
+Available physical RAM was sampled on Windows every 0.5 seconds for direct requests. Coding resource summaries use whole-host/whole-adapter counters, not process-isolated memory. Dedicated and shared GPU counter peaks are not simultaneous allocations and must not be added together or treated as extra VRAM capacity.
+
+## Prefill comparison with IQ2_XS
+
+Context limit was 122,880 for all four arms. Each arm started a fresh engine, followed by one excluded quote-arithmetic warmup, then three repetitions of the 8K prompt and three of the 28K prompt in that order. No OS file-cache purge or adaptive expert-cache reset was performed between requests. These are **fresh prompts without prefix reuse**, not fully cold model/expert-cache measurements. Arm order was 2,048, 4,096, 8,192, then 16,384; it was not randomized.
+
+Actual input lengths were 8,019 and 28,180 tokens. Completion lengths ranged from 111 to 120 tokens. Entries show median wall seconds with min–max in parentheses; throughput columns are median engine tokens/second. Each row has three repetitions per prompt size.
+
+| Prefill | 8K wall seconds | 8K prompt / decode tok/s | 28K wall seconds | 28K prompt / decode tok/s |
+| ---: | ---: | ---: | ---: | ---: |
+| 2,048 | 25.400 (25.281–25.765) | 346.3 / 53.2 | 83.355 (82.183–84.013) | 347.0 / 57.9 |
+| 4,096 | 15.703 (15.682–15.772) | 593.3 / 52.7 | 49.558 (49.393–50.104) | 593.1 / 57.0 |
+| 8,192 | 11.212 (11.111–11.423) | 879.4 / 56.3 | 37.008 (36.915–37.021) | 807.4 / 57.6 |
+| 16,384 | 11.384 (11.189–11.428) | 876.3 / 55.3 | 36.778 (36.757–37.087) | 811.2 / 57.8 |
+
+All 24 measured recall answers contained the correct three values, but **0/24 were strict plain JSON** because they used Markdown fences. Minimum available RAM per arm was 9.17, 9.03, 8.76, and 9.02 GiB respectively.
+
+8,192 was selected locally: approximately 56% lower median wall time than 2,048 on each tested size, with essentially unchanged decode speed. 16,384 did not meaningfully improve latency. The selection rule required at least 5% improvement over the smaller selected arm and more than 4 GiB available RAM. This does not justify changing defaults for other hardware or workloads.
+
+Per-run throughput ranges, timing, token counts, answers, and warmups are in [data](data); `scripts/summarize.py` recomputes medians and ranges without contacting a model.
+
+## Matched coding comparison at 32K
+
+Both quants were tested the same day with context 32,768, prefill 8,192, INT8 KV, resident KV 32,768, WMMA enabled, 2,048 MiB VRAM reserve, spec 4, one request at a time, and the same sampling settings. Coding used medium reasoning and an 8,192-token output allowance. IQ2 was tested first, then IQ3; order was not randomized. Fresh sessions and copied fixtures were used for each trial, while adaptive expert cache could remain warm within a model's batch.
+
+Three synthetic TypeScript tasks were repeated three times each per model. The fixtures require an interval-merge repair, an order-summary refactor, and a three-file reservation-workflow repair. The Build agent was limited to 12 steps and at most two repair rounds, with only the named source files editable and only the acceptance-test command allowed. Tests, instructions, and client config were checked for changes, and tests were also run independently after completion. The test totals below count repetitions: **81 checks across the three fixtures, repeated three times = 243**, not 243 distinct tests.
+
+| Measurement | IQ2_XS | IQ3_XXS |
+| --- | ---: | ---: |
+| Tasks passed | 9/9 | 9/9 |
+| Acceptance checks across repetitions | 243/243 | 243/243 |
+| Overall median task seconds | 99.988 | 136.321 |
+| Overall task range, seconds | 55.463–145.326 | 81.012–166.632 |
+| Weighted engine decode tok/s | 49.61 | 42.52 |
+| Minimum host available RAM, GiB | 8.92 | 3.11 |
+| Peak adapter dedicated counter, GiB | 14.88 | 15.04 |
+| Peak adapter shared counter, GiB | 34.16 | 41.12 |
+
+| Task | IQ2 median seconds (min–max) | IQ3 median seconds (min–max) |
+| --- | ---: | ---: |
+| Merge windows | 60.368 (55.463–99.988) | 109.951 (81.012–136.321) |
+| Refactor orders | 93.343 (91.803–120.835) | 119.482 (104.944–137.212) |
+| Reservation workflow | 143.302 (125.702–145.326) | 158.644 (151.560–166.632) |
+
+IQ2's overall median task time was about 27% lower and weighted decode speed about 17% higher, with approximately 5.8 GiB more minimum RAM headroom. Both solved these limited tests; this does not establish equal general reasoning or production-code quality. Engine totals can include client helper requests and reasoning, so weighted decode is `sum(output tokens) / sum(decode seconds)`, not a pure single-request model benchmark. This is **not** a comparison against the older dense Qwen 27B llama.cpp setup.
+
+All 18 trial records are in [coding-per-run.json](data/coding-per-run.json). Synthetic original [fixtures](fixtures) and all 18 generated [solutions](solutions), with per-file SHA-256 hashes in the records, permit independent checks. Private client config and full agent transcripts are intentionally excluded.
+
+## Large context and cache reuse
+
+The selected IQ2 profile used context **122,880**, resident KV 32,768, and prefill 8,192. One recall request contained **113,501 input tokens** and generated 119 tokens, with no prefix reuse. Three fixed markers near the start, middle, and end were recovered correctly.
+
+| Single near-limit recall | Measurement |
+| --- | ---: |
+| Wall time | 146.629 s |
+| First streamed token, including reasoning | 144.157 s |
+| First answer content | 145.537 s |
+| Engine prompt processing | 789.9 tok/s; 143.696 s |
+| Engine generation | 46.9 tok/s; 2.539 s |
+| MTP draft offered / accepted | 98 / 85 |
+| Minimum available RAM | 9.49 GiB |
+
+The answer was semantically correct but Markdown-fenced, hence failed strict JSON formatting. Input plus an 8,192-token reserve fits the configured context arithmetically; this request actually used a 1,024-token cap and generated only 119. It did **not** test an 8K answer at the limit, complex long-context reasoning, or multi-file coding with 120K history. This was one run, not a distribution.
+
+An OpenCode backend cache check used a different approximately 22K-input document followed by three short questions in the same session. The first assistant response took 62.468 seconds with 22,102 uncached tokens; follow-ups took 1.276, 1.181, and 1.085 seconds while reusing 22,205, 22,269, and 22,323 tokens. All four answers passed. These latencies come from assistant creation/completion timestamps, excluding the five-second polling interval. This was an API/backend test, not a timed OpenChamber UI benchmark or an uncached-versus-cached workload with identical prompts.
+
+Three final medium-reasoning smoke cases each ran once with an 8,192-token allowance: quote arithmetic (6.870 s), validation classification (5.343 s), and the correct `read_file` tool call (4.367 s). The first two used `response_format: {"type":"json_object"}` and passed semantic and strict JSON checks. Strata's response handling can buffer, validate, and canonicalize JSON, so their observed first-answer time is not raw engine first-token latency. This is not grammar-constrained decoding. The tool call was checked but **not executed**.
+
+## Incidents and stability limits
+
+Successful-run measurements do not include these recovered setup/client incidents:
+
+- One undelivered coding submission returned HTTP 502 through the local client proxy. The session was verified empty and idle twice before that undelivered prompt was sent once. No completed task was silently repeated. The preceding helper activity can affect expert-cache warmth and aggregate counters.
+- One read-only client check returned HTTP 502 after an instance reload. Only read-only GET checks were retried; task submissions and configuration writes were not automatically replayed.
+- An initial prefill cleanup idle race occurred after a completed answer. The harness added an idle guard and resumed only unsubmitted trials.
+- A Windows CRLF versus canonical LF fixture-hash mismatch was corrected before prompts were sent, without changing acceptance tests.
+- Fixture policy blocked attempts to run disallowed shell commands. These expected permission errors were not model crashes; counts remain in the trial records.
+
+No relevant Windows crash, display-driver, or WHEA events were observed during the approximately 72-minute tuning window. This is not an overnight burn-in, proof of hardware stability, or a guarantee of future crash-free use. These observations are not attributed to an engine bug or to quantization without further evidence.
+
+## Reproduction
+
+Start with Strata's supported setup and prepare the matching model and MTP packs. Use the tested 0.1.40.3 package for a version-matched comparison; a newer release is a separate experiment. Apply the argument settings above with paths and the HIP device ordinal appropriate to your computer. Do not copy private configuration from another machine or expose an unauthenticated server on the network.
+
+The exact direct prompts and scoring are in `scripts/reproduce_direct.py` and `scripts/benchmark.py`. The wrapper is adapted for portable command-line paths and an optional `STRATA_API_KEY` environment variable; it does not start/restart servers, modify configs, install software, or execute generated tools. Start a fresh engine separately for each prefill arm, change only its prefill argument, and verify its setting before running:
+
+```text
+python scripts/reproduce_direct.py --base http://127.0.0.1:8081 --model qwen3.8-flash-next-iq2_xs --mode prefill --prefill 8192 --output new-prefill-8192.json
+python scripts/reproduce_direct.py --base http://127.0.0.1:8081 --model qwen3.8-flash-next-iq2_xs --mode recall120k --output new-recall120k.json
+python scripts/reproduce_direct.py --base http://127.0.0.1:8081 --model qwen3.8-flash-next-iq2_xs --mode medium --output new-medium.json
+python scripts/summarize.py
+```
+
+The direct harness runs on Windows because it samples Windows physical memory. Output files must not already exist; failed requests are preserved and not automatically retried. The `--prefill` value labels the chosen arm; it does **not** configure the server. Near-limit tests require adequate available RAM and can keep the computer busy for minutes. Run locally with other model work idle.
+
+For the coding comparison, copy one original fixture to a fresh disposable project/session for each model, task, and repetition. Use the same matched 32K settings, the Build agent limits above, and this prompt, substituting the fixture name and repeat number:
+
+```text
+Independent coding trial {case}, repeat {repeat}. Read AGENTS.md, README.md, all existing source files and acceptance.test.ts. Complete the task in README, preserving the public API and the tests. Use tools to edit only permitted source files and run node --test acceptance.test.ts. If tests fail, make at most two repair rounds. Report the actual test counts and a concise explanation. No network, packages, delegation or other projects.
+```
+
+Use identical client provider options for both models: medium reasoning, 8,192 output, interleaved `reasoning_content`, temperature 1.0/top-p 0.95, and the same model for helper requests. Do not reuse real project sessions. Run `node --test acceptance.test.ts` independently, check the protected files, and for the refactor also confirm that the original exported function imports and calls the two helpers. Original fixtures intentionally contain bugs and may fail until implemented.
+
+To check a published solution, copy its source files over a **disposable copy** of the matching original fixture, then run the acceptance test. Do not overwrite your own project. Record client/engine versions, actual token counts, all repetitions, failures, and timing boundaries for any new comparison.
+
+## Included files and privacy
+
+Only benchmark prose, whitelisted numeric/results data, synthetic prompts/tests, generated synthetic solutions, and small reproduction scripts are included. Paths, credentials, network addresses belonging to the contributor, session/message IDs, real project files, raw Windows logs, screenshots, and conversation histories are excluded. Loopback URLs and portable path labels in the reproduction instructions are generic examples.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/README.md b/bench/results/2026-10-10-community-rx-9060-xt/README.md
new file mode 100644
index 000000000..1c2214730
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/README.md
@@ -0,0 +1,106 @@
+# Community benchmark on RX 9060 XT with IQ2_XS and IQ3_XXS
+
+Measured October 9–10, 2026 by [isoux35](https://github.com/isoux35). Sharing results from my Windows desktop: Strata 0.1.40.3, Qwen3.8-Flash-Next GSQ-RCO, one 16 GB AMD GPU, and 64 GB RAM.
+
+The goal was to find a practical configuration for local coding and larger context. **IQ2_XS with prefill 8,192** was the configuration I kept. It was faster than IQ3_XXS on the matched synthetic coding tasks, and one 113,501-token recall request completed under a 122,880-token context limit. That recall check is not a demonstration of reliable coding at 120K.
+
+## Hardware and software
+
+| Component | Setup |
+| --- | --- |
+| GPU | AMD Radeon RX 9060 XT, 16 GB, gfx1200; single GPU |
+| CPU | Ryzen 7 9800X3D, 8 cores / 16 threads |
+| RAM | 64 GB DDR5-6000; approximately 61.66 GiB usable |
+| OS | Windows 11 Home 25H2, build 26200.9457 |
+| Driver | 32.0.31041.1004 |
+| Strata | Prebuilt Windows HIP engine 0.1.40.3; wrapper checkout `d5ea713` |
+| Packaged runtime | ROCm `10.2.0a20260930`; hipBLASLt `100500` per BUILD.json |
+| Client | OpenCode 1.18.34 in Ubuntu 24.04 WSL; OpenChamber 1.24.2 |
+
+The engine runs natively on Windows, not Vulkan or WSL. The wrapper checkout is not the binary's verified source commit. Storage model, PCIe link, power limits, and temperatures were not measured. Other desktop applications and client services remained running.
+
+## Model and configuration
+
+Models: [ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF), **IQ2_XS and IQ3_XXS**, using the existing prepared packs and Q2_0 MTP runtime pack. Exact filenames, sizes, available revision metadata, and provenance gaps are in [METHODS.md](METHODS.md#model-artifacts).
+
+Common engine settings, with machine-specific paths omitted:
+
+```text
+STRATA_HIP_WMMA=1
+--expert-cache auto --prefill 8192
+--spec 4 --spec-min-p 0.5
+--kv int8 --kv-resident 32768 --vram-reserve-mib 2048
+--max-context 122880
+```
+
+Prefill trials varied only the prefill size. The coding comparison used **32,768 context for both models**, not 122,880. One parallel request, vision and speed projection off. Sampling: temperature 1.0, top-p 0.95, top-k 20, min-p 0, seed 42, repeat penalty 1.0, presence/frequency penalties 0. No new calibration was forced.
+
+## Method and reproduction
+
+- **Prefill:** fresh engine for each of four batch sizes; one excluded warmup, then three 8K and three 28K recall requests. Low reasoning, 1,024-token output cap. Actual input lengths were 8,019 and 28,180 tokens, outputs 111–120 tokens, with zero reused prompt tokens. Expert and OS caches were retained within each arm; these are not fully cold-cache measurements.
+- **Coding:** three synthetic TypeScript tasks, three fresh projects/sessions per task and model. Medium reasoning, 8,192 output allowance, Build agent limited to 12 steps and two repair rounds. Only permitted source files and the test command were allowed. Acceptance tests were also checked independently with Node.js v24.21.0.
+- **Timing:** loading excluded. Prompt/decode throughput comes from engine timings; decode includes reasoning. Direct wall time includes HTTP and output reception. First streamed token can be reasoning, not answer text. Coding decode is weighted across engine requests and can include client helpers.
+- **Memory:** whole-host available physical RAM, sampled every 0.5 seconds for direct requests. GPU figures are whole-adapter counters, not process-isolated allocations.
+
+Configurations ran in fixed order, not randomized: prefill 2,048 → 4,096 → 8,192 → 16,384; coding IQ2 before IQ3. Background work and adaptive expert-cache state can affect the comparison.
+
+[METHODS.md](METHODS.md#reproduction) contains the commands and exact coding prompt. The direct [reproduction script](scripts/reproduce_direct.py) sends requests but does not change server settings or execute generated tools. [summarize.py](scripts/summarize.py) recomputes the published aggregates offline.
+
+## Results
+
+### IQ2_XS prefill
+
+Each cell is median **[min–max]** over three runs. Prompt/decode units are tokens per second; total latency is seconds. All requests had zero prompt-prefix reuse.
+
+| Prefill | Input tokens | Prompt tok/s | Decode tok/s | Total seconds |
+| ---: | ---: | ---: | ---: | ---: |
+| 2,048 | 8,019 | 346.3 [344.1–347.2] | 53.2 [49.7–57.7] | 25.400 [25.281–25.765] |
+| 4,096 | 8,019 | 593.3 [592.7–597.4] | 52.7 [51.8–55.7] | 15.703 [15.682–15.772] |
+| 8,192 | 8,019 | 879.4 [876.3–881.8] | 56.3 [53.1–59.1] | 11.212 [11.111–11.423] |
+| 16,384 | 8,019 | 876.3 [869.1–881.6] | 55.3 [53.2–59.8] | 11.384 [11.189–11.428] |
+| 2,048 | 28,180 | 347.0 [344.4–351.6] | 57.9 [57.5–59.4] | 83.355 [82.183–84.013] |
+| 4,096 | 28,180 | 593.1 [588.2–595.3] | 57.0 [56.8–58.0] | 49.558 [49.393–50.104] |
+| 8,192 | 28,180 | 807.4 [806.8–809.1] | 57.6 [56.0–58.0] | 37.008 [36.915–37.021] |
+| 16,384 | 28,180 | 811.2 [806.5–811.5] | 57.8 [57.3–58.5] | 36.778 [36.757–37.087] |
+
+Moving from 2,048 to 8,192 cut median total latency by about **56%** at both tested lengths. 16,384 offered no meaningful further gain. Minimum available RAM remained above 8.75 GiB across these measured arms. Per-run records, warmups, and output text: [data](data).
+
+### IQ2_XS versus IQ3_XXS at matched 32K settings
+
+| Measurement | IQ2_XS | IQ3_XXS |
+| --- | ---: | ---: |
+| Tasks passed | 9/9 | 9/9 |
+| Acceptance checks across repeats | 243/243 | 243/243 |
+| Median task seconds [min–max] | 99.988 [55.463–145.326] | 136.321 [81.012–166.632] |
+| Weighted engine decode tok/s | 49.61 | 42.52 |
+| Minimum available host RAM, GiB | 8.92 | 3.11 |
+| Peak dedicated GPU counter, GiB | 14.88 | 15.04 |
+| Peak shared GPU counter, GiB | 34.16 | 41.12 |
+
+IQ2's overall median task time was about **27% lower**, with about **17% higher weighted decode throughput**. Both passed these tasks; this is not evidence that their general answer quality is equal. The checks are 81 across three fixtures, repeated three times—not 243 distinct tests. Shared GPU memory is system memory, not additional VRAM; dedicated/shared peaks should not be added together.
+
+Per-run results: [coding-per-run.json](data/coding-per-run.json). Original [fixtures](fixtures) and generated [solutions](solutions) are included for independent checking. This is not a comparison against the previous dense Qwen 27B llama.cpp model.
+
+### Large context and follow-up cache
+
+One IQ2 request at context 122,880, prefill 8,192:
+
+| Input / output / reused tokens | Prompt tok/s | Decode tok/s | First streamed token | Total time | Minimum available RAM |
+| --- | ---: | ---: | ---: | ---: | ---: |
+| 113,501 / 119 / 0 | 789.9 | 46.9 | 144.157 s | 146.629 s | 9.49 GiB |
+
+All three markers near the start, middle, and end were recalled. **Single run, simple recall only**; output cap was 1,024, and an 8K answer at the context limit was not tested. [Raw record](data/selected-120k-smoke.json).
+
+In a separate OpenCode backend check, the first approximately 22K-input response took 62.468 seconds; three short follow-ups took 1.276 / 1.181 / 1.085 seconds with over 22K tokens reused. All four passed. These are assistant timestamps, excluding polling delay—not a timed OpenChamber UI benchmark. [Cache data](data/cache-opencode.json).
+
+## Correctness and limitations
+
+- Recall content passed **24/24**, but strict plain JSON passed **0/24**: responses used Markdown fences. The near-limit answer had the same formatting issue.
+- Three medium-reasoning smoke checks passed: quote arithmetic, validation classification, and one correct tool call. The JSON cases used `response_format`, whose buffering/validation can affect streaming latency; this is not a grammar-decoding guarantee. The tool call was checked, not executed.
+- One undelivered coding submission and one read-only check returned proxy HTTP 502. The empty/idle session was verified before sending the undelivered prompt once; completed tasks were not replayed. Harness idle timing and CRLF hash checks also needed correction. Details are retained in [METHODS.md](METHODS.md#incidents-and-stability-limits).
+- No relevant Windows crash/display/WHEA events appeared during the approximately 72-minute window. No overnight stability or thermal endurance claim is made.
+- Larger real repositories, complex reasoning over 120K history, vision, parallel requests, and performance beyond the tested context were not validated.
+
+**Current choice for this desktop:** IQ2_XS, prefill 8,192, context 122,880, with normal client compaction retained. IQ3_XXS remains a fallback. This report changes no upstream engine code or defaults.
+
+Only sanitized benchmark data and synthetic code are included. Credentials, personal paths, home-network addresses, real projects, chat histories, raw logs, screenshots, and executable hashes are excluded.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/cache-opencode.json b/bench/results/2026-10-10-community-rx-9060-xt/data/cache-opencode.json
new file mode 100644
index 000000000..2078c7517
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/cache-opencode.json
@@ -0,0 +1,76 @@
+{
+ "turns": [
+ {
+ "turn": 1,
+ "assistant_seconds": 62.468,
+ "polling_wall_seconds": 65.17466425895691,
+ "answer": "{\"start\":\"CLENEX-4181\",\"middle\":\"STRATA-8081\",\"end\":\"LONDON-9060\"}",
+ "correct": true,
+ "tokens": {
+ "total": 22205,
+ "input": 22102,
+ "output": 103,
+ "reasoning": 0,
+ "cache": {
+ "read": 0,
+ "write": 0
+ }
+ },
+ "finish": "stop"
+ },
+ {
+ "turn": 2,
+ "assistant_seconds": 1.276,
+ "polling_wall_seconds": 5.040393352508545,
+ "answer": "CLENEX-4181",
+ "correct": true,
+ "tokens": {
+ "total": 22270,
+ "input": 30,
+ "output": 35,
+ "reasoning": 0,
+ "cache": {
+ "read": 22205,
+ "write": 0
+ }
+ },
+ "finish": "stop"
+ },
+ {
+ "turn": 3,
+ "assistant_seconds": 1.181,
+ "polling_wall_seconds": 5.044191360473633,
+ "answer": "STRATA-8081",
+ "correct": true,
+ "tokens": {
+ "total": 22322,
+ "input": 31,
+ "output": 22,
+ "reasoning": 0,
+ "cache": {
+ "read": 22269,
+ "write": 0
+ }
+ },
+ "finish": "stop"
+ },
+ {
+ "turn": 4,
+ "assistant_seconds": 1.085,
+ "polling_wall_seconds": 5.0410315990448,
+ "answer": "LONDON-9060",
+ "correct": true,
+ "tokens": {
+ "total": 22372,
+ "input": 28,
+ "output": 21,
+ "reasoning": 0,
+ "cache": {
+ "read": 22323,
+ "write": 0
+ }
+ },
+ "finish": "stop"
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/coding-per-run.json b/bench/results/2026-10-10-community-rx-9060-xt/data/coding-per-run.json
new file mode 100644
index 000000000..82b269189
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/coding-per-run.json
@@ -0,0 +1,712 @@
+{
+ "results": [
+ {
+ "case": "merge-windows",
+ "repeat": 1,
+ "model": "iq2",
+ "wall_s": 55.463,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 7,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 6,
+ "prompt_tokens": 47023,
+ "reused": 38660,
+ "output_tokens": 1416,
+ "prompt_ms": 24897.6,
+ "decode_ms": 27036.9,
+ "drafts_offered": 1190,
+ "drafts_accepted": 965
+ },
+ "generation_tps": 52.37286819124973,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "c9890872bff05c136f96558209a479cf97a6f9c015f92235ef4197f7c04ca799"
+ }
+ },
+ {
+ "case": "merge-windows",
+ "repeat": 2,
+ "model": "iq2",
+ "wall_s": 60.368,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 7,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 6,
+ "prompt_tokens": 47766,
+ "reused": 39395,
+ "output_tokens": 1734,
+ "prompt_ms": 23728.500000000015,
+ "decode_ms": 33186.200000000004,
+ "drafts_offered": 1459,
+ "drafts_accepted": 1153
+ },
+ "generation_tps": 52.2506342997993,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "e4806a38a4fdda2977d9ebf3d15c658e19ee7394b99be9bd701a3a69e43bca5f"
+ }
+ },
+ {
+ "case": "merge-windows",
+ "repeat": 3,
+ "model": "iq2",
+ "wall_s": 99.988,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 7,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 50539,
+ "reused": 30342,
+ "output_tokens": 2951,
+ "prompt_ms": 46189.299999999996,
+ "decode_ms": 59249.40000000002,
+ "drafts_offered": 2468,
+ "drafts_accepted": 1853
+ },
+ "generation_tps": 49.80641154172024,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "7bba1b5aba5960eefc45005830b471b9c4491d9e8a7e2532d86de54778c78b03"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 1,
+ "model": "iq2",
+ "wall_s": 120.835,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 9,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 64229,
+ "reused": 43281,
+ "output_tokens": 3711,
+ "prompt_ms": 43495.999999999985,
+ "decode_ms": 74470.39999999997,
+ "drafts_offered": 3014,
+ "drafts_accepted": 2315
+ },
+ "generation_tps": 49.83187951185977,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "5c727738256b7cf25a46e92a0f5100c32df77354657e1d317c216d85c449a65c",
+ "validation.ts": "430f4f34496010b25317a9c68eff94e4fcbc4f4016b6ad7a2afe297a102e789b",
+ "aggregation.ts": "0e749416e7af1189e57e915054cc36e8288c0df7578da630cf5a9763d48adf64"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 2,
+ "model": "iq2",
+ "wall_s": 93.343,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 9,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 59839,
+ "reused": 40091,
+ "output_tokens": 2291,
+ "prompt_ms": 43874.100000000006,
+ "decode_ms": 46505.399999999965,
+ "drafts_offered": 1891,
+ "drafts_accepted": 1446
+ },
+ "generation_tps": 49.26309632859844,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "06582975b1c7749598eaf9b1560a7a0575b7e2234ba164641dd9d157104f0023",
+ "validation.ts": "93742276a04be91ca59fa041c34193cc981f562c28a382200845ee1a0b7f3733",
+ "aggregation.ts": "d4e7d3af880e3ac3af9141f96194ddc1edbadb200088e583f7f52575047fd982"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 3,
+ "model": "iq2",
+ "wall_s": 91.803,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 9,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 59489,
+ "reused": 39756,
+ "output_tokens": 2331,
+ "prompt_ms": 41112.20000000001,
+ "decode_ms": 47516.00000000009,
+ "drafts_offered": 1927,
+ "drafts_accepted": 1427
+ },
+ "generation_tps": 49.05715969357681,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "77cf178c6b373f2a68f7485544dcef0a541c88c9f874d850ab936e0a0726a71b",
+ "validation.ts": "b95549b4f1ce6fd976627a11931fa93e40c650d79235aaaf1b77d7f3d15af679",
+ "aggregation.ts": "686e5f9b274602f891c92b24d1b3c958561586bd06c0532296b77664a6cc0494"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 1,
+ "model": "iq2",
+ "wall_s": 143.302,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 11,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 68784,
+ "reused": 46180,
+ "output_tokens": 4620,
+ "prompt_ms": 46345.600000000035,
+ "decode_ms": 93955.49999999994,
+ "drafts_offered": 3944,
+ "drafts_accepted": 2831
+ },
+ "generation_tps": 49.17221450580331,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "f7c925e1931d49c67404bc2637cf2432ccd7b5c7ad89f27a15f0270b21479bff",
+ "requests.ts": "036731dbd2644a8aac39bc3850c2e3000707bdb2edd80a9a3a8f14d745c64288",
+ "allocate.ts": "609ad9e4a41fafbe9a2a16a387c0a97571c7c5cecb5a7d15d3582140b5ff28d9"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 2,
+ "model": "iq2",
+ "wall_s": 145.326,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 10,
+ "tool_count": 13,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 11,
+ "prompt_tokens": 95657,
+ "reused": 73058,
+ "output_tokens": 4442,
+ "prompt_ms": 50873.69999999984,
+ "decode_ms": 90429.39999999997,
+ "drafts_offered": 3751,
+ "drafts_accepted": 2729
+ },
+ "generation_tps": 49.12119288638432,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "9d1793538c5b7715d6709e02b510b4196f2abd99e13d032765b1af1c806c50c5",
+ "requests.ts": "eba15c94027fc5015342b69c09a20ab667377506e0f187e7d1e9d7116e5ee96a",
+ "allocate.ts": "58958cf324d7cfb6ebd85357c5de33bb1df73a1c141fff3b84184289e21479e6"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 3,
+ "model": "iq2",
+ "wall_s": 125.702,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 11,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 66094,
+ "reused": 44453,
+ "output_tokens": 3749,
+ "prompt_ms": 45572.29999999999,
+ "decode_ms": 76810.09999999998,
+ "drafts_offered": 3142,
+ "drafts_accepted": 2310
+ },
+ "generation_tps": 48.80868531612381,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "f3bd35d9eea5faf74088f4e1f0278184b9572486e7bd663c61558e9de140671b",
+ "requests.ts": "39ca61e3fb544ed922b5851f04060a65cf08c532043571a47739e0b6ee8cb8e7",
+ "allocate.ts": "dc81742828188aa31f6ba0eca165ab54461d1cfb07c341f93a8d2eea2cfbae12"
+ }
+ },
+ {
+ "case": "merge-windows",
+ "repeat": 1,
+ "model": "iq3",
+ "wall_s": 81.012,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 9,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 6,
+ "prompt_tokens": 52281,
+ "reused": 42832,
+ "output_tokens": 2135,
+ "prompt_ms": 28794.700000000004,
+ "decode_ms": 48841.5,
+ "drafts_offered": 1841,
+ "drafts_accepted": 1417
+ },
+ "generation_tps": 43.712826182652044,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "01f9287e0c573d0d437b050c9071a6e7d976d307392f737fbcc1bb82a7f731f6"
+ }
+ },
+ {
+ "case": "merge-windows",
+ "repeat": 2,
+ "model": "iq3",
+ "wall_s": 136.321,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 8,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 59847,
+ "reused": 39187,
+ "output_tokens": 3618,
+ "prompt_ms": 50173.499999999985,
+ "decode_ms": 83049.79999999999,
+ "drafts_offered": 3057,
+ "drafts_accepted": 2249
+ },
+ "generation_tps": 43.564222912035916,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "5c34da2f2bc23ebed85e9961938d623e6266ce4a6e2edb39b5302ab73d29e1e5"
+ }
+ },
+ {
+ "case": "merge-windows",
+ "repeat": 3,
+ "model": "iq3",
+ "wall_s": 109.951,
+ "checks": 25,
+ "passed": 25,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 7,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 7,
+ "prompt_tokens": 49042,
+ "reused": 30049,
+ "output_tokens": 2422,
+ "prompt_ms": 48901.5,
+ "decode_ms": 58264.100000000006,
+ "drafts_offered": 2117,
+ "drafts_accepted": 1523
+ },
+ "generation_tps": 41.56933686438132,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "windows.ts": "541aee5f1b5f9ff5031742da268d9d3dd10f25260d483e5046072361a293fa23"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 1,
+ "model": "iq3",
+ "wall_s": 104.944,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 8,
+ "tool_count": 10,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 9,
+ "prompt_tokens": 67685,
+ "reused": 48049,
+ "output_tokens": 2077,
+ "prompt_ms": 51204.09999999998,
+ "decode_ms": 49947.19999999998,
+ "drafts_offered": 1772,
+ "drafts_accepted": 1384
+ },
+ "generation_tps": 41.58391261171799,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "a98fc473305094e474f68c4efff2fcb84ab757a520e7b79689a52d220c0dcc6c",
+ "validation.ts": "430f4f34496010b25317a9c68eff94e4fcbc4f4016b6ad7a2afe297a102e789b",
+ "aggregation.ts": "9136902f4b9e15f1d6377ce341fb3602cd32422c4a9a3f20135f2f4817669a64"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 2,
+ "model": "iq3",
+ "wall_s": 119.482,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 10,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 62561,
+ "reused": 42273,
+ "output_tokens": 2869,
+ "prompt_ms": 49435.0,
+ "decode_ms": 67192.79999999996,
+ "drafts_offered": 2454,
+ "drafts_accepted": 1886
+ },
+ "generation_tps": 42.69802716957771,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "a98fc473305094e474f68c4efff2fcb84ab757a520e7b79689a52d220c0dcc6c",
+ "validation.ts": "430f4f34496010b25317a9c68eff94e4fcbc4f4016b6ad7a2afe297a102e789b",
+ "aggregation.ts": "9136902f4b9e15f1d6377ce341fb3602cd32422c4a9a3f20135f2f4817669a64"
+ }
+ },
+ {
+ "case": "refactor-orders",
+ "repeat": 3,
+ "model": "iq3",
+ "wall_s": 137.212,
+ "checks": 24,
+ "passed": 24,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 7,
+ "tool_count": 10,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 8,
+ "prompt_tokens": 63865,
+ "reused": 43228,
+ "output_tokens": 3525,
+ "prompt_ms": 51135.5,
+ "decode_ms": 83125.70000000001,
+ "drafts_offered": 2988,
+ "drafts_accepted": 2263
+ },
+ "generation_tps": 42.40565793731661,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "orders.ts": "0823459338038a099e36a7d20c8279f9c128f90474c5272b98a5a1136a85f213",
+ "validation.ts": "93742276a04be91ca59fa041c34193cc981f562c28a382200845ee1a0b7f3733",
+ "aggregation.ts": "774ef9a84e12063715b8db0cca4141d51b28c064bfda476ddfbb974239a51485"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 1,
+ "model": "iq3",
+ "wall_s": 158.644,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 12,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 7,
+ "prompt_tokens": 57077,
+ "reused": 33960,
+ "output_tokens": 4491,
+ "prompt_ms": 50754.399999999965,
+ "decode_ms": 105292.0,
+ "drafts_offered": 3908,
+ "drafts_accepted": 2804
+ },
+ "generation_tps": 42.6528131292026,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "a871b7e3c67aacbd223d0b199f1242ed9917cfad2d75856ccd32f7f1d93e49d0",
+ "requests.ts": "2bb44d2cfd568b51e8314796045386ffc383819f2a942d3919d22fe70686ba29",
+ "allocate.ts": "8d771e3d64e51c3d74336f8f752a4d5dcc39f683eabafb368c8df0027fb34ae1"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 2,
+ "model": "iq3",
+ "wall_s": 151.56,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 6,
+ "tool_count": 11,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 7,
+ "prompt_tokens": 55754,
+ "reused": 33157,
+ "output_tokens": 4141,
+ "prompt_ms": 51591.00000000006,
+ "decode_ms": 97561.80000000005,
+ "drafts_offered": 3610,
+ "drafts_accepted": 2625
+ },
+ "generation_tps": 42.44489134066815,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "98aa12feff3de724054440b2d836425cee22d02356ab2e422c10364f359780c6",
+ "requests.ts": "4a62cb81145f0d92b16a4d129eafa4a5d4be072000c5e0daee0217ac8ae76084",
+ "allocate.ts": "3185d368c1cbee91c31610ef7e9ddba7b3157d7283838f0927f10fea63768808"
+ }
+ },
+ {
+ "case": "reservation-workflow",
+ "repeat": 3,
+ "model": "iq3",
+ "wall_s": 166.632,
+ "checks": 32,
+ "passed": 32,
+ "failed": 0,
+ "protected": {
+ "AGENTS.md": true,
+ "README.md": true,
+ "acceptance.test.ts": true,
+ "opencode.json": true
+ },
+ "model_verified": true,
+ "structural": true,
+ "steps": 8,
+ "tool_count": 13,
+ "test_tool_runs": 1,
+ "engine_delta": {
+ "requests": 9,
+ "prompt_tokens": 85383,
+ "reused": 61961,
+ "output_tokens": 4615,
+ "prompt_ms": 53303.20000000001,
+ "decode_ms": 109750.5,
+ "drafts_offered": 3998,
+ "drafts_accepted": 2861
+ },
+ "generation_tps": 42.04992232381629,
+ "success": true,
+ "completion_error_count": 0,
+ "tool_error_count": 1,
+ "tool_error_note": "Raw permission/error text omitted; expected disallowed shell-command attempts were blocked by the fixture policy.",
+ "solution_sha256": {
+ "stock.ts": "47aed300c22cd48242ca3b4d998f2df147ccc81f5eda08f71e81f15b30548e04",
+ "requests.ts": "7052b6fe110efc7efd581ecbbc374b0f8a881e0016ffed70c6ece3da444dc13b",
+ "allocate.ts": "4bf537e7f7751a87cf9c26fe7d3eab7522771783a54d0eeb7586223cd4aee56f"
+ }
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-16384.json b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-16384.json
new file mode 100644
index 000000000..13573cc04
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-16384.json
@@ -0,0 +1,264 @@
+{
+ "prefill": 16384,
+ "completed": true,
+ "method": "Fresh engine per arm, one excluded warmup; no prompt-prefix reuse. Adaptive expert cache and OS file cache not reset between requests.",
+ "warmup": {
+ "case": "quote_math",
+ "run": 0,
+ "wall_seconds": 8.841,
+ "first_token_seconds": 3.385938700001134,
+ "first_answer_seconds": 7.821036599998479,
+ "usage": {
+ "prompt_tokens": 105,
+ "completion_tokens": 285,
+ "total_tokens": 390,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 105,
+ "prompt_ms": 3319.4,
+ "prompt_per_token_ms": 31.613,
+ "prompt_per_second": 31.6,
+ "predicted_n": 285,
+ "predicted_ms": 5517.7,
+ "predicted_per_token_ms": 19.36,
+ "predicted_per_second": 51.7,
+ "draft_n": 229,
+ "draft_n_accepted": 200
+ },
+ "finish_reason": "stop",
+ "answer": "{\n \"subtotal\": 780,\n \"discounted\": 702,\n \"tax\": 91.26,\n \"total\": 793.26\n}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.945812225341797,
+ "minimum_available_ram_GiB": 9.204185485839844,
+ "available_ram_after_GiB": 9.271530151367188,
+ "error": null
+ },
+ "results": [
+ {
+ "case": "recall_8k",
+ "run": 1,
+ "wall_seconds": 11.384,
+ "first_token_seconds": 9.15797499999826,
+ "first_answer_seconds": 10.465646699998615,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9096.3,
+ "prompt_per_token_ms": 1.134,
+ "prompt_per_second": 881.6,
+ "predicted_n": 120,
+ "predicted_ms": 2256.4,
+ "predicted_per_token_ms": 18.803,
+ "predicted_per_second": 53.2,
+ "draft_n": 99,
+ "draft_n_accepted": 87
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.27145767211914,
+ "minimum_available_ram_GiB": 9.228954315185547,
+ "available_ram_after_GiB": 9.316627502441406,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 2,
+ "wall_seconds": 11.428,
+ "first_token_seconds": 9.286093200000323,
+ "first_answer_seconds": 10.60287099999914,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9227.0,
+ "prompt_per_token_ms": 1.151,
+ "prompt_per_second": 869.1,
+ "predicted_n": 120,
+ "predicted_ms": 2169.5,
+ "predicted_per_token_ms": 18.079,
+ "predicted_per_second": 55.3,
+ "draft_n": 100,
+ "draft_n_accepted": 85
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.324447631835938,
+ "minimum_available_ram_GiB": 9.196247100830078,
+ "available_ram_after_GiB": 9.275569915771484,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 3,
+ "wall_seconds": 11.189,
+ "first_token_seconds": 9.208074599999236,
+ "first_answer_seconds": 10.392184399999678,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9151.2,
+ "prompt_per_token_ms": 1.141,
+ "prompt_per_second": 876.3,
+ "predicted_n": 120,
+ "predicted_ms": 2006.9,
+ "predicted_per_token_ms": 16.724,
+ "predicted_per_second": 59.8,
+ "draft_n": 99,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.27462387084961,
+ "minimum_available_ram_GiB": 9.213397979736328,
+ "available_ram_after_GiB": 9.265583038330078,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 1,
+ "wall_seconds": 36.778,
+ "first_token_seconds": 34.866015899999184,
+ "first_answer_seconds": 36.09911160000047,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34726.6,
+ "prompt_per_token_ms": 1.232,
+ "prompt_per_second": 811.5,
+ "predicted_n": 111,
+ "predicted_ms": 1938.7,
+ "predicted_per_token_ms": 17.466,
+ "predicted_per_second": 57.3,
+ "draft_n": 91,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.275810241699219,
+ "minimum_available_ram_GiB": 9.214668273925781,
+ "available_ram_after_GiB": 9.31698226928711,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 2,
+ "wall_seconds": 37.087,
+ "first_token_seconds": 35.061412799997925,
+ "first_answer_seconds": 36.315634800001135,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 120,
+ "total_tokens": 28300,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34939.7,
+ "prompt_per_token_ms": 1.24,
+ "prompt_per_second": 806.5,
+ "predicted_n": 120,
+ "predicted_ms": 2051.1,
+ "predicted_per_token_ms": 17.092,
+ "predicted_per_second": 58.5,
+ "draft_n": 103,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.316307067871094,
+ "minimum_available_ram_GiB": 9.01810073852539,
+ "available_ram_after_GiB": 9.180099487304688,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 3,
+ "wall_seconds": 36.757,
+ "first_token_seconds": 34.86107059999995,
+ "first_answer_seconds": 36.10917100000006,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34739.7,
+ "prompt_per_token_ms": 1.233,
+ "prompt_per_second": 811.2,
+ "predicted_n": 111,
+ "predicted_ms": 1920.9,
+ "predicted_per_token_ms": 17.305,
+ "predicted_per_second": 57.8,
+ "draft_n": 97,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.18795394897461,
+ "minimum_available_ram_GiB": 9.05562973022461,
+ "available_ram_after_GiB": 9.179523468017578,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-2048.json b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-2048.json
new file mode 100644
index 000000000..f54dd59c2
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-2048.json
@@ -0,0 +1,264 @@
+{
+ "prefill": 2048,
+ "completed": true,
+ "method": "Fresh engine per arm, one excluded warmup; no prompt-prefix reuse. Adaptive expert cache and OS file cache not reset between requests.",
+ "warmup": {
+ "case": "quote_math",
+ "run": 0,
+ "wall_seconds": 9.255,
+ "first_token_seconds": 3.4818357000003743,
+ "first_answer_seconds": 8.550565300000017,
+ "usage": {
+ "prompt_tokens": 105,
+ "completion_tokens": 288,
+ "total_tokens": 393,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 105,
+ "prompt_ms": 3396.5,
+ "prompt_per_token_ms": 32.348,
+ "prompt_per_second": 30.9,
+ "predicted_n": 288,
+ "predicted_ms": 5841.3,
+ "predicted_per_token_ms": 20.282,
+ "predicted_per_second": 49.3,
+ "draft_n": 235,
+ "draft_n_accepted": 195
+ },
+ "finish_reason": "stop",
+ "answer": "{\"subtotal\":780,\"discounted\":702,\"tax\":91.26,\"total\":793.26}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 10.174140930175781,
+ "minimum_available_ram_GiB": 9.505393981933594,
+ "available_ram_after_GiB": 9.627822875976562,
+ "error": null
+ },
+ "results": [
+ {
+ "case": "recall_8k",
+ "run": 1,
+ "wall_seconds": 25.765,
+ "first_token_seconds": 23.38377970000147,
+ "first_answer_seconds": 24.867043000002013,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 23305.5,
+ "prompt_per_token_ms": 2.906,
+ "prompt_per_second": 344.1,
+ "predicted_n": 120,
+ "predicted_ms": 2413.7,
+ "predicted_per_token_ms": 20.114,
+ "predicted_per_second": 49.7,
+ "draft_n": 99,
+ "draft_n_accepted": 83
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.627857208251953,
+ "minimum_available_ram_GiB": 9.342979431152344,
+ "available_ram_after_GiB": 9.493133544921875,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 2,
+ "wall_seconds": 25.4,
+ "first_token_seconds": 23.17358349999995,
+ "first_answer_seconds": 24.541135100000247,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 23099.0,
+ "prompt_per_token_ms": 2.881,
+ "prompt_per_second": 347.2,
+ "predicted_n": 120,
+ "predicted_ms": 2256.4,
+ "predicted_per_token_ms": 18.803,
+ "predicted_per_second": 53.2,
+ "draft_n": 99,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.603466033935547,
+ "minimum_available_ram_GiB": 9.55563735961914,
+ "available_ram_after_GiB": 9.904010772705078,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 3,
+ "wall_seconds": 25.281,
+ "first_token_seconds": 23.230508000000555,
+ "first_answer_seconds": 24.491721000002144,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 23154.9,
+ "prompt_per_token_ms": 2.888,
+ "prompt_per_second": 346.3,
+ "predicted_n": 120,
+ "predicted_ms": 2081.4,
+ "predicted_per_token_ms": 17.345,
+ "predicted_per_second": 57.7,
+ "draft_n": 99,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.897266387939453,
+ "minimum_available_ram_GiB": 9.472877502441406,
+ "available_ram_after_GiB": 9.654644012451172,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 1,
+ "wall_seconds": 83.355,
+ "first_token_seconds": 81.36225959999865,
+ "first_answer_seconds": 82.61961689999953,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 120,
+ "total_tokens": 28300,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 81221.1,
+ "prompt_per_token_ms": 2.882,
+ "prompt_per_second": 347.0,
+ "predicted_n": 120,
+ "predicted_ms": 2020.2,
+ "predicted_per_token_ms": 16.835,
+ "predicted_per_second": 59.4,
+ "draft_n": 97,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.651805877685547,
+ "minimum_available_ram_GiB": 9.599807739257812,
+ "available_ram_after_GiB": 9.866710662841797,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 2,
+ "wall_seconds": 84.013,
+ "first_token_seconds": 81.95294450000074,
+ "first_answer_seconds": 83.25123000000167,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 120,
+ "total_tokens": 28300,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 81811.8,
+ "prompt_per_token_ms": 2.903,
+ "prompt_per_second": 344.4,
+ "predicted_n": 120,
+ "predicted_ms": 2086.5,
+ "predicted_per_token_ms": 17.387,
+ "predicted_per_second": 57.5,
+ "draft_n": 105,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.871635437011719,
+ "minimum_available_ram_GiB": 9.167980194091797,
+ "available_ram_after_GiB": 9.505802154541016,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 3,
+ "wall_seconds": 82.183,
+ "first_token_seconds": 80.29345960000137,
+ "first_answer_seconds": 81.55685530000119,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 80152.3,
+ "prompt_per_token_ms": 2.844,
+ "prompt_per_second": 351.6,
+ "predicted_n": 111,
+ "predicted_ms": 1915.7,
+ "predicted_per_token_ms": 17.259,
+ "predicted_per_second": 57.9,
+ "draft_n": 95,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.514446258544922,
+ "minimum_available_ram_GiB": 9.457550048828125,
+ "available_ram_after_GiB": 9.802536010742188,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-4096.json b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-4096.json
new file mode 100644
index 000000000..50344a5de
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-4096.json
@@ -0,0 +1,264 @@
+{
+ "prefill": 4096,
+ "completed": true,
+ "method": "Fresh engine per arm, one excluded warmup; no prompt-prefix reuse. Adaptive expert cache and OS file cache not reset between requests.",
+ "warmup": {
+ "case": "quote_math",
+ "run": 0,
+ "wall_seconds": 8.853,
+ "first_token_seconds": 3.3357520999998087,
+ "first_answer_seconds": 7.7799672999972245,
+ "usage": {
+ "prompt_tokens": 105,
+ "completion_tokens": 279,
+ "total_tokens": 384,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 105,
+ "prompt_ms": 3254.8,
+ "prompt_per_token_ms": 30.998,
+ "prompt_per_second": 32.3,
+ "predicted_n": 279,
+ "predicted_ms": 5580.7,
+ "predicted_per_token_ms": 20.003,
+ "predicted_per_second": 50.0,
+ "draft_n": 238,
+ "draft_n_accepted": 196
+ },
+ "finish_reason": "stop",
+ "answer": "{\n \"subtotal\": 780,\n \"discounted\": 702,\n \"tax\": 91.26,\n \"total\": 793.26\n}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 10.387939453125,
+ "minimum_available_ram_GiB": 9.684619903564453,
+ "available_ram_after_GiB": 9.71804428100586,
+ "error": null
+ },
+ "results": [
+ {
+ "case": "recall_8k",
+ "run": 1,
+ "wall_seconds": 15.772,
+ "first_token_seconds": 13.486252299997432,
+ "first_answer_seconds": 14.886465799998405,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 13422.5,
+ "prompt_per_token_ms": 1.674,
+ "prompt_per_second": 597.4,
+ "predicted_n": 120,
+ "predicted_ms": 2314.9,
+ "predicted_per_token_ms": 19.291,
+ "predicted_per_second": 51.8,
+ "draft_n": 95,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.718116760253906,
+ "minimum_available_ram_GiB": 9.66946792602539,
+ "available_ram_after_GiB": 9.716747283935547,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 2,
+ "wall_seconds": 15.703,
+ "first_token_seconds": 13.578529099999287,
+ "first_answer_seconds": 14.858703800000512,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 13516.1,
+ "prompt_per_token_ms": 1.686,
+ "prompt_per_second": 593.3,
+ "predicted_n": 120,
+ "predicted_ms": 2153.1,
+ "predicted_per_token_ms": 17.942,
+ "predicted_per_second": 55.7,
+ "draft_n": 98,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.71658706665039,
+ "minimum_available_ram_GiB": 9.607013702392578,
+ "available_ram_after_GiB": 9.607257843017578,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 3,
+ "wall_seconds": 15.682,
+ "first_token_seconds": 13.602058699998452,
+ "first_answer_seconds": 15.010164099996473,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 111,
+ "total_tokens": 8130,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 13529.0,
+ "prompt_per_token_ms": 1.687,
+ "prompt_per_second": 592.7,
+ "predicted_n": 111,
+ "predicted_ms": 2107.3,
+ "predicted_per_token_ms": 18.985,
+ "predicted_per_second": 52.7,
+ "draft_n": 95,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.613288879394531,
+ "minimum_available_ram_GiB": 9.135387420654297,
+ "available_ram_after_GiB": 9.135387420654297,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 1,
+ "wall_seconds": 50.104,
+ "first_token_seconds": 48.06052119999731,
+ "first_answer_seconds": 49.3216188999977,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 120,
+ "total_tokens": 28300,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 47909.8,
+ "prompt_per_token_ms": 1.7,
+ "prompt_per_second": 588.2,
+ "predicted_n": 120,
+ "predicted_ms": 2069.1,
+ "predicted_per_token_ms": 17.242,
+ "predicted_per_second": 58.0,
+ "draft_n": 103,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.134944915771484,
+ "minimum_available_ram_GiB": 9.034980773925781,
+ "available_ram_after_GiB": 9.542415618896484,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 2,
+ "wall_seconds": 49.558,
+ "first_token_seconds": 47.635458000000654,
+ "first_answer_seconds": 48.927845700000034,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 47512.3,
+ "prompt_per_token_ms": 1.686,
+ "prompt_per_second": 593.1,
+ "predicted_n": 111,
+ "predicted_ms": 1948.3,
+ "predicted_per_token_ms": 17.552,
+ "predicted_per_second": 57.0,
+ "draft_n": 95,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.55087661743164,
+ "minimum_available_ram_GiB": 9.447223663330078,
+ "available_ram_after_GiB": 9.500301361083984,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 3,
+ "wall_seconds": 49.393,
+ "first_token_seconds": 47.462972600002104,
+ "first_answer_seconds": 48.735229900001286,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 47338.1,
+ "prompt_per_token_ms": 1.68,
+ "prompt_per_second": 595.3,
+ "predicted_n": 111,
+ "predicted_ms": 1955.2,
+ "predicted_per_token_ms": 17.614,
+ "predicted_per_second": 56.8,
+ "draft_n": 99,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.498558044433594,
+ "minimum_available_ram_GiB": 9.492111206054688,
+ "available_ram_after_GiB": 9.606456756591797,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-8192.json b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-8192.json
new file mode 100644
index 000000000..7395502d4
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/prefill-8192.json
@@ -0,0 +1,264 @@
+{
+ "prefill": 8192,
+ "completed": true,
+ "method": "Fresh engine per arm, one excluded warmup; no prompt-prefix reuse. Adaptive expert cache and OS file cache not reset between requests.",
+ "warmup": {
+ "case": "quote_math",
+ "run": 0,
+ "wall_seconds": 8.798,
+ "first_token_seconds": 3.3178087000014784,
+ "first_answer_seconds": 7.784277200000361,
+ "usage": {
+ "prompt_tokens": 105,
+ "completion_tokens": 285,
+ "total_tokens": 390,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 105,
+ "prompt_ms": 3250.6,
+ "prompt_per_token_ms": 30.958,
+ "prompt_per_second": 32.3,
+ "predicted_n": 285,
+ "predicted_ms": 5543.9,
+ "predicted_per_token_ms": 19.452,
+ "predicted_per_second": 51.4,
+ "draft_n": 223,
+ "draft_n_accepted": 200
+ },
+ "finish_reason": "stop",
+ "answer": "{\n \"subtotal\": 780,\n \"discounted\": 702,\n \"tax\": 91.26,\n \"total\": 793.26\n}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 10.293716430664062,
+ "minimum_available_ram_GiB": 9.664436340332031,
+ "available_ram_after_GiB": 9.697887420654297,
+ "error": null
+ },
+ "results": [
+ {
+ "case": "recall_8k",
+ "run": 1,
+ "wall_seconds": 11.423,
+ "first_token_seconds": 9.194095099999686,
+ "first_answer_seconds": 10.499791599999298,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9118.4,
+ "prompt_per_token_ms": 1.137,
+ "prompt_per_second": 879.4,
+ "predicted_n": 120,
+ "predicted_ms": 2259.5,
+ "predicted_per_token_ms": 18.829,
+ "predicted_per_second": 53.1,
+ "draft_n": 96,
+ "draft_n_accepted": 87
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.70633316040039,
+ "minimum_available_ram_GiB": 9.604408264160156,
+ "available_ram_after_GiB": 9.604408264160156,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 2,
+ "wall_seconds": 11.111,
+ "first_token_seconds": 9.166701800000737,
+ "first_answer_seconds": 10.387907800002722,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 111,
+ "total_tokens": 8130,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9094.2,
+ "prompt_per_token_ms": 1.134,
+ "prompt_per_second": 881.8,
+ "predicted_n": 111,
+ "predicted_ms": 1972.0,
+ "predicted_per_token_ms": 17.766,
+ "predicted_per_second": 56.3,
+ "draft_n": 90,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.599163055419922,
+ "minimum_available_ram_GiB": 9.599163055419922,
+ "available_ram_after_GiB": 9.667289733886719,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_8k",
+ "run": 3,
+ "wall_seconds": 11.212,
+ "first_token_seconds": 9.207692400002998,
+ "first_answer_seconds": 10.400993900002504,
+ "usage": {
+ "prompt_tokens": 8019,
+ "completion_tokens": 120,
+ "total_tokens": 8139,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 8019,
+ "prompt_ms": 9150.7,
+ "prompt_per_token_ms": 1.141,
+ "prompt_per_second": 876.3,
+ "predicted_n": 120,
+ "predicted_ms": 2032.0,
+ "predicted_per_token_ms": 16.933,
+ "predicted_per_second": 59.1,
+ "draft_n": 100,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.658519744873047,
+ "minimum_available_ram_GiB": 9.600780487060547,
+ "available_ram_after_GiB": 9.618278503417969,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 1,
+ "wall_seconds": 37.021,
+ "first_token_seconds": 35.06575399999929,
+ "first_answer_seconds": 36.373738300000696,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34927.1,
+ "prompt_per_token_ms": 1.239,
+ "prompt_per_second": 806.8,
+ "predicted_n": 111,
+ "predicted_ms": 1981.5,
+ "predicted_per_token_ms": 17.851,
+ "predicted_per_second": 56.0,
+ "draft_n": 97,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.618522644042969,
+ "minimum_available_ram_GiB": 8.757949829101562,
+ "available_ram_after_GiB": 9.254573822021484,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 2,
+ "wall_seconds": 37.008,
+ "first_token_seconds": 34.95294530000319,
+ "first_answer_seconds": 36.226432200001,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 120,
+ "total_tokens": 28300,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34826.7,
+ "prompt_per_token_ms": 1.236,
+ "prompt_per_second": 809.1,
+ "predicted_n": 120,
+ "predicted_ms": 2081.9,
+ "predicted_per_token_ms": 17.349,
+ "predicted_per_second": 57.6,
+ "draft_n": 105,
+ "draft_n_accepted": 84
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.248302459716797,
+ "minimum_available_ram_GiB": 9.168975830078125,
+ "available_ram_after_GiB": 9.555938720703125,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ },
+ {
+ "case": "recall_28k",
+ "run": 3,
+ "wall_seconds": 36.915,
+ "first_token_seconds": 35.02689590000227,
+ "first_answer_seconds": 36.28207939999993,
+ "usage": {
+ "prompt_tokens": 28180,
+ "completion_tokens": 111,
+ "total_tokens": 28291,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 28180,
+ "prompt_ms": 34903.8,
+ "prompt_per_token_ms": 1.239,
+ "prompt_per_second": 807.4,
+ "predicted_n": 111,
+ "predicted_ms": 1913.3,
+ "predicted_per_token_ms": 17.237,
+ "predicted_per_second": 58.0,
+ "draft_n": 95,
+ "draft_n_accepted": 79
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\"start\": \"CLENEX-4181\", \"middle\": \"STRATA-8081\", \"end\": \"LONDON-9060\"}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.555522918701172,
+ "minimum_available_ram_GiB": 9.120704650878906,
+ "available_ram_after_GiB": 9.250995635986328,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/resource-summary.json b/bench/results/2026-10-10-community-rx-9060-xt/data/resource-summary.json
new file mode 100644
index 000000000..705c6ba13
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/resource-summary.json
@@ -0,0 +1,17 @@
+{
+ "scope": "Whole-host available physical memory and whole-adapter GPU counters, including background applications; not per-process allocations.",
+ "coding_iq2": {
+ "samples": 482,
+ "minimum_free_GiB": 8.916801452636719,
+ "peak_dedicated_adapter_GiB": 14.882369995117188,
+ "peak_shared_adapter_GiB": 34.158538818359375
+ },
+ "coding_iq3": {
+ "samples": 594,
+ "minimum_free_GiB": 3.107921600341797,
+ "peak_dedicated_adapter_GiB": 15.036750793457031,
+ "peak_shared_adapter_GiB": 41.1239013671875
+ },
+ "windows_event_window_minutes": 72.34,
+ "relevant_windows_events": 0
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/selected-120k-smoke.json b/bench/results/2026-10-10-community-rx-9060-xt/data/selected-120k-smoke.json
new file mode 100644
index 000000000..e82ff1af6
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/selected-120k-smoke.json
@@ -0,0 +1,38 @@
+{
+ "case": "recall_120k",
+ "run": 1,
+ "wall_seconds": 146.629,
+ "first_token_seconds": 144.15666979999878,
+ "first_answer_seconds": 145.53723080000054,
+ "usage": {
+ "prompt_tokens": 113501,
+ "completion_tokens": 119,
+ "total_tokens": 113620,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 113501,
+ "prompt_ms": 143696.2,
+ "prompt_per_token_ms": 1.266,
+ "prompt_per_second": 789.9,
+ "predicted_n": 119,
+ "predicted_ms": 2539.4,
+ "predicted_per_token_ms": 21.339,
+ "predicted_per_second": 46.9,
+ "draft_n": 98,
+ "draft_n_accepted": 85
+ },
+ "finish_reason": "stop",
+ "answer": "```json\n{\n \"start\": \"CLENEX-4181\",\n \"middle\": \"STRATA-8081\",\n \"end\": \"LONDON-9060\"\n}\n```",
+ "tool_calls": [],
+ "available_ram_before_GiB": 10.194572448730469,
+ "minimum_available_ram_GiB": 9.489490509033203,
+ "available_ram_after_GiB": 9.540184020996094,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": false,
+ "normal_output_reserve_fits": true
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/data/selected-medium-smoke.json b/bench/results/2026-10-10-community-rx-9060-xt/data/selected-medium-smoke.json
new file mode 100644
index 000000000..2f163d5fe
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/data/selected-medium-smoke.json
@@ -0,0 +1,123 @@
+{
+ "reasoning": "medium",
+ "output_allowance": 8192,
+ "completed": true,
+ "results": [
+ {
+ "case": "quote_math",
+ "run": 1,
+ "wall_seconds": 6.87,
+ "first_token_seconds": 6.8701013999998395,
+ "first_answer_seconds": 6.870102199998655,
+ "usage": {
+ "prompt_tokens": 146,
+ "completion_tokens": 253,
+ "total_tokens": 399,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 146,
+ "prompt_ms": 2124.6,
+ "prompt_per_token_ms": 14.552,
+ "prompt_per_second": 68.7,
+ "predicted_n": 253,
+ "predicted_ms": 4741.9,
+ "predicted_per_token_ms": 18.743,
+ "predicted_per_second": 53.4,
+ "draft_n": 210,
+ "draft_n_accepted": 172
+ },
+ "finish_reason": "stop",
+ "answer": "{\"subtotal\":780,\"discounted\":702,\"tax\":91.26,\"total\":793.26}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.529060363769531,
+ "minimum_available_ram_GiB": 9.504161834716797,
+ "available_ram_after_GiB": 9.565986633300781,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": true
+ },
+ {
+ "case": "validation_logic",
+ "run": 1,
+ "wall_seconds": 5.343,
+ "first_token_seconds": 5.342779599999631,
+ "first_answer_seconds": 5.342780200000561,
+ "usage": {
+ "prompt_tokens": 146,
+ "completion_tokens": 179,
+ "total_tokens": 325,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 146,
+ "prompt_ms": 2001.6,
+ "prompt_per_token_ms": 13.71,
+ "prompt_per_second": 72.9,
+ "predicted_n": 179,
+ "predicted_ms": 3326.8,
+ "predicted_per_token_ms": 18.585,
+ "predicted_per_second": 53.8,
+ "draft_n": 161,
+ "draft_n_accepted": 120
+ },
+ "finish_reason": "stop",
+ "answer": "{\"accepted\":[0,1.5,3],\"rejected\":[null,\"4\",-2]}",
+ "tool_calls": [],
+ "available_ram_before_GiB": 9.549999237060547,
+ "minimum_available_ram_GiB": 9.549999237060547,
+ "available_ram_after_GiB": 9.562705993652344,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": true
+ },
+ {
+ "case": "tool_call",
+ "run": 1,
+ "wall_seconds": 4.367,
+ "first_token_seconds": 3.68360599999869,
+ "first_answer_seconds": null,
+ "usage": {
+ "prompt_tokens": 304,
+ "completion_tokens": 37,
+ "total_tokens": 341,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 304,
+ "prompt_ms": 3640.3,
+ "prompt_per_token_ms": 11.975,
+ "prompt_per_second": 83.5,
+ "predicted_n": 37,
+ "predicted_ms": 707.3,
+ "predicted_per_token_ms": 19.116,
+ "predicted_per_second": 52.3,
+ "draft_n": 29,
+ "draft_n_accepted": 26
+ },
+ "finish_reason": "tool_calls",
+ "answer": "",
+ "tool_calls": [
+ {
+ "name": "read_file",
+ "arguments": "{\"path\":\"package.json\"}"
+ }
+ ],
+ "available_ram_before_GiB": 9.57065200805664,
+ "minimum_available_ram_GiB": 9.528636932373047,
+ "available_ram_after_GiB": 9.528636932373047,
+ "error": null,
+ "semantic_pass": true,
+ "strict_pass": true
+ }
+ ]
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/AGENTS.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/AGENTS.md
new file mode 100644
index 000000000..748714950
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/AGENTS.md
@@ -0,0 +1 @@
+Disposable local coding benchmark. Work only in this project. Read README.md, the existing source files and acceptance.test.ts. Follow the allowed-file scope in README. Never change tests, this file, or configuration. Use node --test acceptance.test.ts. No network, installation, delegation or files outside this project. If tests fail, permit at most two repair rounds; then report the actual failure. Report the actual pass/fail count and changes.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/README.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/README.md
new file mode 100644
index 000000000..2700bfbea
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/README.md
@@ -0,0 +1 @@
+Repair mergeWindows in windows.ts. A window has finite numeric start/end with start <= end. The optional gap defaults to zero and must be finite and nonnegative, even for empty input. Invalid input values throw RangeError. Return windows sorted by start then end, merging overlaps, touching endpoints, and windows separated by at most gap. Use the maximum end of merged windows, including contained windows. Do not mutate the input array or its objects; returned objects must be new. Preserve the exported function and type. Only windows.ts may be changed. Run node --test acceptance.test.ts. Do not change tests.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/acceptance.test.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/acceptance.test.ts
new file mode 100644
index 000000000..213bbe1da
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/acceptance.test.ts
@@ -0,0 +1,22 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import {mergeWindows} from './windows.ts';
+const w=(start:number,end:number)=>({start,end});
+test('empty',()=>assert.deepEqual(mergeWindows([]),[]));
+test('one',()=>assert.deepEqual(mergeWindows([w(1,2)]),[w(1,2)]));
+test('sort input',()=>assert.deepEqual(mergeWindows([w(5,6),w(1,2)]),[w(1,2),w(5,6)]));
+test('overlap',()=>assert.deepEqual(mergeWindows([w(1,4),w(3,7)]),[w(1,7)]));
+test('touching',()=>assert.deepEqual(mergeWindows([w(1,3),w(3,5)]),[w(1,5)]));
+test('containment',()=>assert.deepEqual(mergeWindows([w(1,10),w(2,3),w(8,12)]),[w(1,12)]));
+test('same start',()=>assert.deepEqual(mergeWindows([w(1,8),w(1,3)]),[w(1,8)]));
+test('duplicate',()=>assert.deepEqual(mergeWindows([w(1,2),w(1,2)]),[w(1,2)]));
+test('exact gap',()=>assert.deepEqual(mergeWindows([w(1,2),w(4,5)],2),[w(1,5)]));
+test('outside gap',()=>assert.deepEqual(mergeWindows([w(1,2),w(4,5)],1),[w(1,2),w(4,5)]));
+test('gap chains',()=>assert.deepEqual(mergeWindows([w(8,9),w(1,2),w(4,6)],2),[w(1,9)]));
+test('negative coordinates',()=>assert.deepEqual(mergeWindows([w(-4,-1),w(-2,3)]),[w(-4,3)]));
+test('fractional coordinates',()=>assert.deepEqual(mergeWindows([w(.5,1.25),w(1.5,2)],.25),[w(.5,2)]));
+test('zero length',()=>assert.deepEqual(mergeWindows([w(2,2),w(1,2)]),[w(1,2)]));
+test('frozen input',()=>{const a=Object.freeze([Object.freeze(w(3,5)),Object.freeze(w(1,4))]); assert.deepEqual(mergeWindows(a as any),[w(1,5)]);});
+test('new objects and unchanged input',()=>{const a=[w(3,5),w(1,4)]; const old=structuredClone(a);const b=mergeWindows(a);assert.deepEqual(a,old);assert.ok(b.every(x=>!a.includes(x)));});
+for(const gap of [-1,NaN,Infinity,-Infinity]) test('bad gap '+gap,()=>assert.throws(()=>mergeWindows([],gap),RangeError));
+for(const pair of [[2,1],[NaN,1],[0,Infinity],[-Infinity,0],[0,NaN]]) test('bad window '+pair,()=>assert.throws(()=>mergeWindows([w(pair[0],pair[1])]),RangeError));
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/windows.ts
new file mode 100644
index 000000000..85b1647ff
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/merge-windows/windows.ts
@@ -0,0 +1,11 @@
+export type Window = {start: number; end: number};
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ windows.sort((a,b)=>a.start-b.start);
+ const result: Window[] = [];
+ for (const w of windows) {
+ const last = result.at(-1);
+ if (last && w.start < last.end) last.end = w.end;
+ else result.push(w);
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/AGENTS.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/AGENTS.md
new file mode 100644
index 000000000..748714950
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/AGENTS.md
@@ -0,0 +1 @@
+Disposable local coding benchmark. Work only in this project. Read README.md, the existing source files and acceptance.test.ts. Follow the allowed-file scope in README. Never change tests, this file, or configuration. Use node --test acceptance.test.ts. No network, installation, delegation or files outside this project. If tests fail, permit at most two repair rounds; then report the actual failure. Report the actual pass/fail count and changes.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/README.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/README.md
new file mode 100644
index 000000000..eae184024
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/README.md
@@ -0,0 +1 @@
+Refactor the working summarizeOrders implementation without changing its public exports, behavior, error type, or input immutability. Extract validateOrders into validation.ts and aggregateOrders into aggregation.ts. Keep exported Order and Summary types in orders.ts. orders.ts must import and call both helpers; avoid copying their implementations back into summarizeOrders. validateOrders returns new records with trimmed customer names and rejects invalid records (including cancelled records) with RangeError. aggregateOrders accepts validated records, ignores cancelled ones, groups by customer, sums priceCents*quantity and quantities, and returns summaries sorted by customer using code-point order. Both helpers must be exported and must not mutate input. Only orders.ts, validation.ts and aggregation.ts may be changed/created. No packages needed. Run node --test acceptance.test.ts; do not change tests.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/acceptance.test.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/acceptance.test.ts
new file mode 100644
index 000000000..1428f7423
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/acceptance.test.ts
@@ -0,0 +1,18 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import {summarizeOrders} from './orders.ts';
+const o=(customer:string,priceCents=100,quantity=1,cancelled=false)=>({customer,priceCents,quantity,cancelled});
+test('empty',()=>assert.deepEqual(summarizeOrders([]),[]));
+test('single',()=>assert.deepEqual(summarizeOrders([o('a',125,2)]),[{customer:'a',totalCents:250,units:2}]));
+test('grouping',()=>assert.deepEqual(summarizeOrders([o('b',100,2),o('a',50,3),o('b',25,1)]),[{customer:'a',totalCents:150,units:3},{customer:'b',totalCents:225,units:3}]));
+test('trim and group',()=>assert.deepEqual(summarizeOrders([o(' a ',30),o('a',20)]),[{customer:'a',totalCents:50,units:2}]));
+test('cancelled ignored',()=>assert.deepEqual(summarizeOrders([o('a',100,1,true)]),[]));
+test('case sensitive',()=>assert.deepEqual(summarizeOrders([o('a'),o('A')]).map(x=>x.customer),['A','a']));
+test('zero price',()=>assert.equal(summarizeOrders([o('a',0,4)])[0].units,4));
+test('frozen input',()=>{const a=Object.freeze([Object.freeze(o(' b ')),Object.freeze(o('a'))]);assert.equal(summarizeOrders(a as any)[1].customer,'b');});
+test('unchanged input',()=>{const a=[o(' b '),o('a')];const old=structuredClone(a);summarizeOrders(a);assert.deepEqual(a,old);});
+test('invalid array',()=>assert.throws(()=>summarizeOrders(null as any),RangeError));
+for(const invalid of [o(''),o(' '),o('a',-1),o('a',1.5),o('a',NaN),o('a',Infinity),o('a',100,0),o('a',100,-1),o('a',100,1.5),{...o('a'),cancelled:'yes'},null]) test('invalid '+JSON.stringify(invalid),()=>assert.throws(()=>summarizeOrders([invalid] as any),RangeError));
+test('invalid cancelled record still rejected',()=>assert.throws(()=>summarizeOrders([o('a',-1,1,true)]),RangeError));
+test('exported validation helper',async()=>{const {validateOrders}=await import('./validation.ts');const a=[o(' a ',2,3)];const r=validateOrders(a);assert.equal(r[0].customer,'a');assert.notEqual(r[0],a[0]);assert.equal(a[0].customer,' a ');assert.throws(()=>validateOrders([o('',1)]),RangeError);});
+test('exported aggregation helper',async()=>{const {aggregateOrders}=await import('./aggregation.ts');const a=Object.freeze([Object.freeze(o('b',2,3)),Object.freeze(o('a',4)),Object.freeze(o('a',10,1,true))]);assert.deepEqual(aggregateOrders(a as any),[{customer:'a',totalCents:4,units:1},{customer:'b',totalCents:6,units:3}]);});
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/orders.ts
new file mode 100644
index 000000000..8601fd874
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/refactor-orders/orders.ts
@@ -0,0 +1,12 @@
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+export function summarizeOrders(orders: Order[]): Summary[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ const normalized=orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+ const groups=new Map<string,Summary>();
+ for(const o of normalized){if(o.cancelled)continue;let s=groups.get(o.customer);if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}s.totalCents+=o.priceCents*o.quantity;s.units+=o.quantity;}
+ return [...groups.values()].sort((a,b)=>a.customer<b.customer?-1:a.customer>b.customer?1:0);
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/AGENTS.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/AGENTS.md
new file mode 100644
index 000000000..748714950
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/AGENTS.md
@@ -0,0 +1 @@
+Disposable local coding benchmark. Work only in this project. Read README.md, the existing source files and acceptance.test.ts. Follow the allowed-file scope in README. Never change tests, this file, or configuration. Use node --test acceptance.test.ts. No network, installation, delegation or files outside this project. If tests fail, permit at most two repair rounds; then report the actual failure. Report the actual pass/fail count and changes.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/README.md b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/README.md
new file mode 100644
index 000000000..5f044cacf
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/README.md
@@ -0,0 +1 @@
+Repair the reservation workflow across stock.ts, requests.ts and allocate.ts. Preserve exported types/functions. Stock SKU and request ID/SKU are trimmed, case-sensitive strings and must be nonempty. Stock units must be a nonnegative integer; request quantity must be a positive integer. Reject any invalid record with RangeError before allocation; validate duplicates too. Combine duplicate stock SKUs by adding units. Deduplicate request IDs after trimming: first occurrence wins, ignoring later valid duplicates. Process requests in their original order. Accept a request only if its complete quantity is available; rejected requests consume no stock. Unknown SKU rejection reason is unknown-sku; insufficient quantity reason is insufficient-stock. reserve returns {accepted: string[], rejected: {id,reason}[], remaining: Record<string,number>}; preserve request order in accepted/rejected and sort remaining keys using code-point order. Include untouched stock SKUs in remaining, including zero. Do not mutate inputs. Only the three source files may change. Read all three and acceptance.test.ts, then run node --test acceptance.test.ts. Do not change tests.
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/acceptance.test.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/acceptance.test.ts
new file mode 100644
index 000000000..cf606109e
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/acceptance.test.ts
@@ -0,0 +1,23 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import {reserve} from './allocate.ts';
+const s=(sku:string,units:number)=>({sku,units});const r=(id:string,sku='a',quantity=1)=>({id,sku,quantity});
+test('empty',()=>assert.deepEqual(reserve([],[]),{accepted:[],rejected:[],remaining:{}}));
+test('exact stock',()=>assert.deepEqual(reserve([s('a',2)],[r('x','a',2)]),{accepted:['x'],rejected:[],remaining:{a:0}}));
+test('duplicates stock added',()=>assert.equal(reserve([s('a',2),s('a',3)],[r('x','a',4)]).remaining.a,1));
+test('trim stock and requests',()=>assert.deepEqual(reserve([s(' a ',2)],[r(' x ',' a ',1)]),{accepted:['x'],rejected:[],remaining:{a:1}}));
+test('trim duplicate stock',()=>assert.equal(reserve([s(' a ',1),s('a',2)],[]).remaining.a,3));
+test('unknown sku',()=>assert.deepEqual(reserve([s('a',1)],[r('x','z')]),{accepted:[],rejected:[{id:'x',reason:'unknown-sku'}],remaining:{a:1}}));
+test('insufficient consumes nothing',()=>assert.deepEqual(reserve([s('a',2)],[r('x','a',3),r('y','a',2)]),{accepted:['y'],rejected:[{id:'x',reason:'insufficient-stock'}],remaining:{a:0}}));
+test('first duplicate request wins',()=>assert.deepEqual(reserve([s('a',4)],[r('x','a',2),r('x','a',1)]),{accepted:['x'],rejected:[],remaining:{a:2}}));
+test('trim request IDs before dedup',()=>assert.equal(reserve([s('a',4)],[r(' x '),r('x')]).remaining.a,3));
+test('rejected first duplicate still wins',()=>assert.deepEqual(reserve([s('a',2)],[r('x','z'),r('x','a')]).accepted,[]));
+test('case sensitive SKUs',()=>assert.equal(reserve([s('a',2),s('A',3)],[r('x','A',2)]).remaining.A,1));
+test('sorted remaining keys',()=>assert.deepEqual(Object.keys(reserve([s('z',1),s('A',0),s('b',2)],[]).remaining),['A','b','z']));
+test('preserve order',()=>assert.deepEqual(reserve([s('a',1),s('b',1)],[r('z','b'),r('x','a'),r('a','b'),r('b','z')]),{accepted:['z','x'],rejected:[{id:'a',reason:'insufficient-stock'},{id:'b',reason:'unknown-sku'}],remaining:{a:0,b:0}}));
+test('zero stock retained',()=>assert.deepEqual(reserve([s('a',0)],[]).remaining,{a:0}));
+test('frozen inputs',()=>{const a=Object.freeze([Object.freeze(s(' a ',2))]);const b=Object.freeze([Object.freeze(r(' x ','a'))]);assert.equal(reserve(a as any,b as any).remaining.a,1);});
+test('inputs unchanged',()=>{const a=[s(' a ',2)];const b=[r(' x ',' a ')];const old=structuredClone([a,b]);reserve(a,b);assert.deepEqual([a,b],old);});
+for(const x of [s('',1),s(' ',1),s('a',-1),s('a',1.5),s('a',NaN),s('a',Infinity)])test('invalid stock '+JSON.stringify(x),()=>assert.throws(()=>reserve([x],[]),RangeError));
+for(const x of [r(''),r(' '),r('x',''),r('x',' '),r('x','a',0),r('x','a',-1),r('x','a',1.5),r('x','a',NaN),r('x','a',Infinity)])test('invalid request '+JSON.stringify(x),()=>assert.throws(()=>reserve([s('a',3)],[x]),RangeError));
+test('invalid duplicate rejected',()=>assert.throws(()=>reserve([s('a',3)],[r('x'),r('x','a',0)]),RangeError));
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/allocate.ts
new file mode 100644
index 000000000..004321dea
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/allocate.ts
@@ -0,0 +1,7 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){const n=remaining.get(r.sku)??0;remaining.set(r.sku,Math.max(0,n-r.quantity));if(n>=r.quantity)accepted.push(r.id);else rejected.push({id:r.id,reason:'insufficient-stock'});}
+ return {accepted,rejected,remaining:Object.fromEntries(remaining)};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/requests.ts
new file mode 100644
index 000000000..e3e48d05b
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/requests.ts
@@ -0,0 +1,2 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{return requests;}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/stock.ts
new file mode 100644
index 000000000..d702a992f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/fixtures/reservation-workflow/stock.ts
@@ -0,0 +1,2 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{return new Map(stock.map(s=>[s.sku,s.units]));}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/scripts/benchmark.py b/bench/results/2026-10-10-community-rx-9060-xt/scripts/benchmark.py
new file mode 100644
index 000000000..12d30dba9
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/scripts/benchmark.py
@@ -0,0 +1,208 @@
+"""Matched OpenAI-compatible smoke benchmark; never executes generated code/tools."""
+import argparse
+import ctypes
+import json
+import threading
+import time
+import urllib.request
+from pathlib import Path
+
+AUTH_HEADERS = {}
+
+
+class MemoryStatus(ctypes.Structure):
+ _fields_ = [("length", ctypes.c_ulong), ("load", ctypes.c_ulong)] + [
+ (name, ctypes.c_ulonglong) for name in
+ ("total_physical", "available_physical", "total_pagefile", "available_pagefile",
+ "total_virtual", "available_virtual", "available_extended")
+ ]
+
+
+def available_ram():
+ status = MemoryStatus()
+ status.length = ctypes.sizeof(status)
+ if not ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(status)):
+ raise ctypes.WinError()
+ return status.available_physical / 2**30
+
+
+def get_json(base, route):
+ req = urllib.request.Request(base + route, headers=AUTH_HEADERS)
+ with urllib.request.urlopen(req, timeout=10) as response:
+ return json.load(response)
+
+
+def assert_idle(base):
+ slots = get_json(base, "/slots")
+ if not isinstance(slots, list):
+ raise RuntimeError("Unrecognized slots response; cannot confirm idle")
+ if any(slot.get("is_processing") for slot in slots):
+ raise RuntimeError("Model is already working; not interrupting it")
+
+
+def request(base, model, label, prompt, run, tools=None, *, response_format=None, reasoning_effort="low", max_tokens=1024):
+ assert_idle(base)
+ # Different first messages minimize shared-prefix reuse; residual cache is reported.
+ payload = {
+ "model": model, "messages": [{"role": "user", "content": f"Benchmark {label} run {run}.\n{prompt}"}],
+ "temperature": 1.0, "top_p": 0.95, "top_k": 20, "min_p": 0.0,
+ "repeat_penalty": 1.0, "repetition_penalty": 1.0,
+ "presence_penalty": 0.0, "frequency_penalty": 0.0,
+ "reasoning_effort": reasoning_effort, "seed": 42, "max_tokens": max_tokens,
+ "cache_prompt": False, "strata_checkpoint": False,
+ "experimental_speed_projection": False,
+ "stream": True, "stream_options": {"include_usage": True},
+ }
+ if tools:
+ payload.update(tools=tools, tool_choice="auto")
+ if response_format is not None:
+ payload['response_format']=response_format
+ before = available_ram()
+ samples = [before]
+ stop = threading.Event()
+
+ def sample():
+ while not stop.wait(0.5):
+ samples.append(available_ram())
+
+ monitor = threading.Thread(target=sample, daemon=True)
+ monitor.start()
+ started = time.perf_counter()
+ first_delta = first_content = None
+ text, reasoning, calls = "", "", {}
+ usage, timings, finish = {}, {}, None
+ error = None
+ try:
+ req = urllib.request.Request(base + "/v1/chat/completions", json.dumps(payload).encode(),
+ {"Content-Type": "application/json", **AUTH_HEADERS})
+ with urllib.request.urlopen(req, timeout=900) as response:
+ for raw in response:
+ line = raw.decode("utf-8").strip()
+ if not line.startswith("data:"):
+ continue
+ data = line[5:].strip()
+ if data == "[DONE]":
+ break
+ event = json.loads(data)
+ if event.get("error"):
+ raise RuntimeError(str(event["error"]))
+ if event.get("usage"):
+ usage = event["usage"]
+ if event.get("timings"):
+ timings = event["timings"]
+ for choice in event.get("choices", []):
+ delta = choice.get("delta", {})
+ content = delta.get("content") or ""
+ thought = delta.get("reasoning_content") or delta.get("reasoning") or ""
+ if content or thought or delta.get("tool_calls"):
+ first_delta = first_delta if first_delta is not None else time.perf_counter() - started
+ if content:
+ first_content = first_content if first_content is not None else time.perf_counter() - started
+ text += content
+ reasoning += thought
+ for call in delta.get("tool_calls", []):
+ target = calls.setdefault(call.get("index", 0), {"name": "", "arguments": ""})
+ function = call.get("function", {})
+ target["name"] += function.get("name") or ""
+ target["arguments"] += function.get("arguments") or ""
+ finish = choice.get("finish_reason") or finish
+ except Exception as exc:
+ error = str(exc)
+ finally:
+ elapsed = time.perf_counter() - started
+ stop.set()
+ monitor.join(timeout=2)
+ samples.append(available_ram())
+ return {
+ "case": label, "run": run, "wall_seconds": round(elapsed, 3),
+ "first_token_seconds": first_delta, "first_answer_seconds": first_content,
+ "usage": usage, "timings": timings, "finish_reason": finish,
+ "answer": text, "reasoning": reasoning, "tool_calls": list(calls.values()),
+ "available_ram_before_GiB": before, "minimum_available_ram_GiB": min(samples),
+ "available_ram_after_GiB": samples[-1], "error": error,
+ }
+
+
+def validate(row, strict=False):
+ if row["error"] or row["finish_reason"] == "length":
+ return False
+ if row["case"] == "tool_call":
+ calls = row["tool_calls"]
+ try:
+ return len(calls) == 1 and calls[0]["name"] == "read_file" and json.loads(calls[0]["arguments"]) == {"path": "package.json"}
+ except (ValueError, KeyError):
+ return False
+ raw_answer = row["answer"].strip()
+ if not strict and raw_answer.startswith("```") and raw_answer.endswith("```"):
+ raw_answer = "\n".join(raw_answer.splitlines()[1:-1])
+ try:
+ answer = json.loads(raw_answer)
+ except ValueError:
+ return False
+ if row["case"] == "quote_math":
+ expected = {"subtotal": 780, "discounted": 702, "tax": 91.26, "total": 793.26}
+ return isinstance(answer, dict) and answer.keys() == expected.keys() and all(
+ isinstance(answer[k], (int, float)) and abs(answer[k] - v) < 0.005 for k, v in expected.items())
+ if row["case"] == "validation_logic":
+ return answer == {"accepted": [0, 1.5, 3], "rejected": [None, "4", -2]}
+ return answer == {"start": "CLENEX-4181", "middle": "STRATA-8081", "end": "LONDON-9060"}
+
+
+def main():
+ parser = argparse.ArgumentParser()
+ parser.add_argument("--base")
+ parser.add_argument("--model")
+ parser.add_argument("--rescore", type=Path)
+ parser.add_argument("--connection", type=Path)
+ parser.add_argument("--output", type=Path, required=True)
+ parser.add_argument("--runs", type=int, default=2)
+ args = parser.parse_args()
+ if args.output.exists():
+ raise SystemExit("Output already exists; choose a new filename to preserve results")
+ if args.rescore:
+ results = json.loads(args.rescore.read_text(encoding="utf-8"))
+ results["scoring_note"] = "Content accuracy and exact output formatting are scored separately; original evidence retained."
+ for row in results["results"]:
+ row["original_check_passed"] = row["check_passed"]
+ row["check_passed"] = validate(row)
+ row["strict_format_passed"] = validate(row, strict=True)
+ args.output.write_text(json.dumps(results, indent=2), encoding="utf-8")
+ print(json.dumps({"content_passed": sum(r["check_passed"] for r in results["results"]),
+ "strict_format_passed": sum(r["strict_format_passed"] for r in results["results"]),
+ "total": len(results["results"])}))
+ return
+ if args.connection:
+ conn = json.loads(args.connection.read_text(encoding="utf-8-sig"))
+ args.base = conn["baseURL"].removesuffix("/v1")
+ args.model = conn["model"]
+ AUTH_HEADERS["Authorization"] = "Bearer " + Path(conn["keyFile"]).read_text().strip()
+ if not args.base or not args.model:
+ parser.error("--base and --model are required for live benchmarking")
+ assert_idle(args.base)
+ cases = [
+ ("quote_math", "An office quote includes four visits at $120 each, three floor jobs at $85 each, and $45 materials. Apply 10% discount to the subtotal then 13% tax. Return only JSON with numeric subtotal, discounted, tax and total.", None),
+ ("validation_logic", 'Accept only JSON numbers which are finite and nonnegative (zero is valid); reject null, strings and negatives. Classify [0, null, "4", -2, 1.5, 3]. Return only JSON with arrays accepted and rejected, preserving their relative order.', None),
+ ("tool_call", "Use the read_file tool to inspect package.json before suggesting a test command. Do not guess its contents. Call the tool exactly once; no other actions.", [{"type": "function", "function": {"name": "read_file", "description": "Read a file in the current project", "parameters": {"type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"], "additionalProperties": False}}}]),
+ ]
+ filler = "This is irrelevant background about routine office cleaning schedules. Ignore it when extracting marked keys.\n"
+ for label, repeats in [("recall_short", 25), ("recall_long", 300)]:
+ document = "START_KEY=CLENEX-4181\n" + filler * repeats + "MIDDLE_KEY=STRATA-8081\n" + filler * repeats + "END_KEY=LONDON-9060\n"
+ cases.append((label, document + 'Return only JSON with start, middle and end holding the three marked key values.', None))
+ results = {"started_at": time.strftime("%Y-%m-%dT%H:%M:%S%z"), "base": args.base,
+ "model": args.model, "runs": args.runs, "results": [],
+ "notes": "Same text/settings; token counts may differ. RAM is whole-system, sampled at 0.5 s. No generated tools/code are executed. TTFT includes reasoning. Low effort can mean different budgets across models. This compares whole stacks, not model or engine in isolation."}
+ args.output.parent.mkdir(parents=True, exist_ok=True)
+ for label, prompt, tools in cases:
+ for run in range(1, args.runs + 1):
+ row = request(args.base, args.model, label, prompt, run, tools)
+ row["check_passed"] = validate(row)
+ row["strict_format_passed"] = validate(row, strict=True)
+ results["results"].append(row)
+ args.output.write_text(json.dumps(results, indent=2), encoding="utf-8")
+ print(json.dumps({k: row[k] for k in ("case", "run", "wall_seconds", "usage", "timings", "check_passed", "error")}), flush=True)
+ if row["error"]:
+ raise SystemExit("Request failed; stopping instead of retrying or restarting the server")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/scripts/reproduce_direct.py b/bench/results/2026-10-10-community-rx-9060-xt/scripts/reproduce_direct.py
new file mode 100644
index 000000000..a9f55e56b
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/scripts/reproduce_direct.py
@@ -0,0 +1,75 @@
+"""Opt-in Windows direct API trials. Never loads a model, edits config, or runs tools."""
+import argparse
+import json
+import os
+import time
+from pathlib import Path
+import benchmark as b
+
+QUOTE = 'An office quote includes four visits at $120 each, three floor jobs at $85 each, and $45 materials. Apply 10% discount to the subtotal then 13% tax. Return only JSON with numeric subtotal, discounted, tax and total.'
+VALIDATION = 'Accept only JSON numbers which are finite and nonnegative (zero is valid); reject null, strings and negatives. Classify [0, null, "4", -2, 1.5, 3]. Return only JSON with arrays accepted and rejected, preserving their relative order.'
+TOOL_PROMPT = 'Use the read_file tool to inspect package.json before suggesting a test command. Do not guess its contents. Call the tool exactly once; no other actions.'
+TOOLS = [{'type': 'function', 'function': {'name': 'read_file', 'description': 'Read a file in the current project', 'parameters': {'type': 'object', 'properties': {'path': {'type': 'string'}}, 'required': ['path'], 'additionalProperties': False}}}]
+
+
+def recall(n):
+ filler = 'This is irrelevant background about routine office cleaning schedules. Ignore it when extracting marked keys.\n'
+ return 'START_KEY=CLENEX-4181\n' + filler * n + 'MIDDLE_KEY=STRATA-8081\n' + filler * n + 'END_KEY=LONDON-9060\nReturn only JSON with start, middle and end holding the three marked key values.'
+
+
+def wait_idle(base):
+ for _ in range(30):
+ if not any(s.get('is_processing') for s in b.get_json(base, '/slots')):
+ return
+ time.sleep(0.5)
+ raise RuntimeError('Engine busy; no request sent')
+
+
+def main():
+ p = argparse.ArgumentParser()
+ p.add_argument('--base', required=True, help='Your locally accessible server URL, without /v1')
+ p.add_argument('--model', required=True)
+ p.add_argument('--mode', choices=('prefill', 'recall120k', 'medium'), required=True)
+ p.add_argument('--prefill', type=int, default=8192, help='Label only; configure server separately')
+ p.add_argument('--output', type=Path, required=True)
+ a = p.parse_args()
+ if a.output.exists():
+ p.error('Output exists; choose a new path. No requests were sent.')
+ if os.environ.get('STRATA_API_KEY'):
+ b.AUTH_HEADERS['Authorization'] = 'Bearer ' + os.environ['STRATA_API_KEY']
+ status = b.get_json(a.base, '/v1/status')
+ if not status.get('loaded') or status.get('model') != a.model or status.get('context', {}).get('max_positions') != 122880:
+ p.error('Expected the selected loaded model at 122880 context. No benchmark request sent.')
+ wait_idle(a.base)
+ result = {'mode': a.mode, 'declared_server_prefill': a.prefill, 'results': []}
+ a.output.parent.mkdir(parents=True, exist_ok=True)
+ if a.mode == 'prefill':
+ result['warmup'] = b.request(a.base, a.model, 'quote_math', QUOTE, 0)
+ a.output.write_text(json.dumps(result, indent=2), encoding='utf-8')
+ if not b.validate(result['warmup']):
+ raise RuntimeError('Warmup failed; stopping')
+ cases = [(label, recall(n), run, None, None, 'low', 1024)
+ for label, n in [('recall_8k', 220), ('recall_28k', 780)] for run in (1, 2, 3)]
+ elif a.mode == 'recall120k':
+ cases = [('recall_120k', recall(3150), 1, None, None, 'low', 1024)]
+ else:
+ cases = [('quote_math', QUOTE, 1, None, {'type': 'json_object'}, 'medium', 8192),
+ ('validation_logic', VALIDATION, 1, None, {'type': 'json_object'}, 'medium', 8192),
+ ('tool_call', TOOL_PROMPT, 1, TOOLS, None, 'medium', 8192)]
+ for label, prompt, run, tools, fmt, effort, allowance in cases:
+ wait_idle(a.base)
+ if b.available_ram() <= 4:
+ raise RuntimeError('Less than 4 GiB available physical RAM; no next request sent')
+ row = b.request(a.base, a.model, label, prompt, run, tools, response_format=fmt,
+ reasoning_effort=effort, max_tokens=allowance)
+ row['semantic_pass'] = b.validate(row)
+ row['strict_pass'] = b.validate(row, strict=True)
+ result['results'].append(row)
+ a.output.write_text(json.dumps(result, indent=2), encoding='utf-8')
+ print(json.dumps({k: row[k] for k in ('case', 'run', 'wall_seconds', 'semantic_pass', 'strict_pass', 'error')}), flush=True)
+ if row['error'] or not row['semantic_pass'] or row['timings'].get('cache_n') != 0:
+ raise RuntimeError('Failed or cache-reused trial preserved; stopping without retry')
+
+
+if __name__ == '__main__':
+ main()
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/scripts/summarize.py b/bench/results/2026-10-10-community-rx-9060-xt/scripts/summarize.py
new file mode 100644
index 000000000..15a019dad
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/scripts/summarize.py
@@ -0,0 +1,56 @@
+"""Recompute published measurements without contacting a server or editing files."""
+import json
+import statistics
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[1]
+
+
+def load(name):
+ return json.loads((ROOT / 'data' / name).read_text(encoding='utf-8-sig'))
+
+
+def stats(values):
+ return {'median': statistics.median(values), 'min': min(values), 'max': max(values), 'n': len(values)}
+
+
+def summarize():
+ result = {'prefill': {}, 'coding': {}}
+ for prefill in (2048, 4096, 8192, 16384):
+ rows = load(f'prefill-{prefill}.json')['results']
+ assert len(rows) == 6 and all(r['timings']['cache_n'] == 0 for r in rows)
+ result['prefill'][prefill] = {
+ label: {
+ 'wall_seconds': stats([r['wall_seconds'] for r in rows if r['case'] == label]),
+ 'prompt_tokens': sorted(set(r['usage']['prompt_tokens'] for r in rows if r['case'] == label)),
+ 'prompt_tps': stats([r['timings']['prompt_per_second'] for r in rows if r['case'] == label]),
+ 'generation_tps': stats([r['timings']['predicted_per_second'] for r in rows if r['case'] == label]),
+ 'completion_tokens': stats([r['usage']['completion_tokens'] for r in rows if r['case'] == label]),
+ 'semantic_passes': sum(r['semantic_pass'] for r in rows if r['case'] == label),
+ 'strict_json_passes': sum(r['strict_pass'] for r in rows if r['case'] == label),
+ } for label in ('recall_8k', 'recall_28k')
+ }
+ coding = load('coding-per-run.json')['results']
+ assert len(coding) == 18
+ for model in ('iq2', 'iq3'):
+ rows = [r for r in coding if r['model'] == model]
+ assert len(rows) == 9 and all(r['success'] and all(r['protected'].values()) for r in rows)
+ result['coding'][model] = {
+ 'wall_seconds': stats([r['wall_s'] for r in rows]),
+ 'cases': {case: stats([r['wall_s'] for r in rows if r['case'] == case])
+ for case in sorted(set(r['case'] for r in rows))},
+ 'passed_checks_across_repeats': sum(r['passed'] for r in rows),
+ 'output_tokens_including_reasoning_and_helpers': sum(r['engine_delta']['output_tokens'] for r in rows),
+ 'prompt_tokens_including_reused': sum(r['engine_delta']['prompt_tokens'] for r in rows),
+ 'reused_tokens': sum(r['engine_delta']['reused'] for r in rows),
+ 'decode_ms': sum(r['engine_delta']['decode_ms'] for r in rows),
+ 'weighted_generation_tps': sum(r['engine_delta']['output_tokens'] for r in rows) /
+ (sum(r['engine_delta']['decode_ms'] for r in rows) / 1000),
+ 'drafts_offered': sum(r['engine_delta']['drafts_offered'] for r in rows),
+ 'drafts_accepted': sum(r['engine_delta']['drafts_accepted'] for r in rows),
+ }
+ return result
+
+
+if __name__ == '__main__':
+ print(json.dumps(summarize(), indent=2))
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-1/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-1/windows.ts
new file mode 100644
index 000000000..c6c8b6f2d
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-1/windows.ts
@@ -0,0 +1,24 @@
+export type Window = {start: number; end: number};
+
+const isFiniteNumber = (value: number) => Number.isFinite(value);
+
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (!isFiniteNumber(gap) || gap < 0) throw new RangeError('gap must be finite and nonnegative');
+ const items = windows.map((w) => {
+ if (!isFiniteNumber(w.start) || !isFiniteNumber(w.end) || w.start > w.end) {
+ throw new RangeError('window start/end must be finite with start <= end');
+ }
+ return {start: w.start, end: w.end};
+ });
+ items.sort((a, b) => a.start - b.start || a.end - b.end);
+ const result: Window[] = [];
+ for (const w of items) {
+ const last = result.at(-1);
+ if (last && w.start <= last.end + gap) {
+ if (w.end > last.end) last.end = w.end;
+ } else {
+ result.push({start: w.start, end: w.end});
+ }
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-2/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-2/windows.ts
new file mode 100644
index 000000000..e3ea0a72e
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-2/windows.ts
@@ -0,0 +1,19 @@
+export type Window = {start: number; end: number};
+
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (!Number.isFinite(gap) || gap < 0) throw new RangeError("gap must be finite and nonnegative");
+ for (const w of windows) {
+ if (!Number.isFinite(w.start) || !Number.isFinite(w.end) || w.start > w.end) {
+ throw new RangeError("window start/end must be finite with start <= end");
+ }
+ }
+ const sorted = windows.map((w) => ({start: w.start, end: w.end}))
+ .sort((a, b) => a.start - b.start || a.end - b.end);
+ const result: Window[] = [];
+ for (const w of sorted) {
+ const last = result.at(-1);
+ if (last && w.start <= last.end + gap) last.end = Math.max(last.end, w.end);
+ else result.push(w);
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-3/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-3/windows.ts
new file mode 100644
index 000000000..653e57e16
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-merge-windows-3/windows.ts
@@ -0,0 +1,28 @@
+export type Window = {start: number; end: number};
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (typeof gap !== "number" || !Number.isFinite(gap) || gap < 0) {
+ throw new RangeError("gap must be a finite nonnegative number");
+ }
+ for (const w of windows) {
+ if (
+ typeof w.start !== "number" ||
+ typeof w.end !== "number" ||
+ !Number.isFinite(w.start) ||
+ !Number.isFinite(w.end) ||
+ w.start > w.end
+ ) {
+ throw new RangeError("window start/end must be finite numbers with start <= end");
+ }
+ }
+ const sorted = [...windows].sort((a, b) => a.start - b.start || a.end - b.end);
+ const result: Window[] = [];
+ for (const w of sorted) {
+ const last = result[result.length - 1];
+ if (last && w.start - last.end <= gap) {
+ last.end = Math.max(last.end, w.end);
+ } else {
+ result.push({start: w.start, end: w.end});
+ }
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/aggregation.ts
new file mode 100644
index 000000000..27fc22658
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/aggregation.ts
@@ -0,0 +1,26 @@
+import type {Order, Summary} from './orders.ts';
+
+function compareCodePointOrder(a: string, b: string): number {
+ const pa=[...a];
+ const pb=[...b];
+ for(let i=0;i<Math.max(pa.length,pb.length);i++){
+ const x=pa[i];
+ const y=pb[i];
+ if(x===undefined)return -1;
+ if(y===undefined)return 1;
+ if(x!==y)return x<y?-1:1;
+ }
+ return 0;
+}
+
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups=new Map<string,Summary>();
+ for(const o of orders){
+ if(o.cancelled)continue;
+ let s=groups.get(o.customer);
+ if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}
+ s.totalCents+=o.priceCents*o.quantity;
+ s.units+=o.quantity;
+ }
+ return [...groups.values()].sort((a,b)=>compareCodePointOrder(a.customer,b.customer));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/orders.ts
new file mode 100644
index 000000000..72f5b1ded
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/orders.ts
@@ -0,0 +1,9 @@
+import {validateOrders} from './validation.ts';
+import {aggregateOrders} from './aggregation.ts';
+
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/validation.ts
new file mode 100644
index 000000000..22bb8bb63
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-1/validation.ts
@@ -0,0 +1,9 @@
+import type {Order} from './orders.ts';
+
+export function validateOrders(orders: Order[]): Order[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ return orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/aggregation.ts
new file mode 100644
index 000000000..c16ed845a
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/aggregation.ts
@@ -0,0 +1,6 @@
+import type {Order, Summary} from './orders.ts';
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups=new Map<string,Summary>();
+ for(const o of orders){if(o.cancelled)continue;let s=groups.get(o.customer);if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}s.totalCents+=o.priceCents*o.quantity;s.units+=o.quantity;}
+ return [...groups.values()].sort((a,b)=>a.customer<b.customer?-1:a.customer>b.customer?1:0);
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/orders.ts
new file mode 100644
index 000000000..c20f8082f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/orders.ts
@@ -0,0 +1,7 @@
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+import {validateOrders} from './validation.ts';
+import {aggregateOrders} from './aggregation.ts';
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/validation.ts
new file mode 100644
index 000000000..ae547bd2f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-2/validation.ts
@@ -0,0 +1,8 @@
+import type {Order} from './orders.ts';
+export function validateOrders(orders: Order[]): Order[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ return orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/aggregation.ts
new file mode 100644
index 000000000..f0e271d20
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/aggregation.ts
@@ -0,0 +1,16 @@
+import type { Order, Summary } from './orders.ts';
+
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups = new Map<string, Summary>();
+ for (const o of orders) {
+ if (o.cancelled) continue;
+ let s = groups.get(o.customer);
+ if (!s) {
+ s = { customer: o.customer, totalCents: 0, units: 0 };
+ groups.set(o.customer, s);
+ }
+ s.totalCents += o.priceCents * o.quantity;
+ s.units += o.quantity;
+ }
+ return [...groups.values()].sort((a, b) => (a.customer < b.customer ? -1 : a.customer > b.customer ? 1 : 0));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/orders.ts
new file mode 100644
index 000000000..e6067ddd9
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/orders.ts
@@ -0,0 +1,9 @@
+import { validateOrders } from './validation.ts';
+import { aggregateOrders } from './aggregation.ts';
+
+export type Order = { customer: string; priceCents: number; quantity: number; cancelled?: boolean };
+export type Summary = { customer: string; totalCents: number; units: number };
+
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/validation.ts
new file mode 100644
index 000000000..9302d0b7d
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-refactor-orders-3/validation.ts
@@ -0,0 +1,19 @@
+import type { Order } from './orders.ts';
+
+export function validateOrders(orders: Order[]): Order[] {
+ if (!Array.isArray(orders)) throw new RangeError('orders');
+ return orders.map((o) => {
+ if (
+ !o ||
+ typeof o.customer !== 'string' ||
+ !o.customer.trim() ||
+ !Number.isInteger(o.priceCents) ||
+ o.priceCents < 0 ||
+ !Number.isInteger(o.quantity) ||
+ o.quantity <= 0 ||
+ (o.cancelled !== undefined && typeof o.cancelled !== 'boolean')
+ )
+ throw new RangeError('order');
+ return { ...o, customer: o.customer.trim() };
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/allocate.ts
new file mode 100644
index 000000000..cc4adb4ec
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/allocate.ts
@@ -0,0 +1,14 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+function codePointCompare(a:string,b:string){const ca=Array.from(a);const cb=Array.from(b);const n=Math.min(ca.length,cb.length);for(let i=0;i<n;i++){if(ca[i]!==cb[i])return ca[i]<cb[i]?-1:1;}return ca.length-cb.length;}
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){
+ if(!remaining.has(r.sku)){rejected.push({id:r.id,reason:'unknown-sku'});continue;}
+ const n=remaining.get(r.sku)!;
+ if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}else rejected.push({id:r.id,reason:'insufficient-stock'});
+ }
+ const out:Record<string,number>={};
+ for(const key of [...remaining.keys()].sort(codePointCompare))out[key]=remaining.get(key)!;
+ return {accepted,rejected,remaining:out};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/requests.ts
new file mode 100644
index 000000000..d43e5f646
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/requests.ts
@@ -0,0 +1,12 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{
+ const out:Request[]=[];const seen=new Set<string>();
+ for(const r of requests){
+ if(typeof r.id!=='string'||typeof r.sku!=='string'||typeof r.quantity!=='number'||!Number.isInteger(r.quantity)||r.quantity<=0)throw new RangeError('invalid request record');
+ const id=r.id.trim();const sku=r.sku.trim();
+ if(id===''||sku==='')throw new RangeError('empty id or sku');
+ if(seen.has(id))continue;
+ seen.add(id);out.push({id,sku,quantity:r.quantity});
+ }
+ return out;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/stock.ts
new file mode 100644
index 000000000..0a18515c0
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-1/stock.ts
@@ -0,0 +1,11 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{
+ const map=new Map<string,number>();
+ for(const s of stock){
+ if(typeof s.sku!=='string'||typeof s.units!=='number'||!Number.isInteger(s.units)||s.units<0)throw new RangeError('invalid stock record');
+ const sku=s.sku.trim();
+ if(sku==='')throw new RangeError('empty sku');
+ map.set(sku,(map.get(sku)??0)+s.units);
+ }
+ return map;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/allocate.ts
new file mode 100644
index 000000000..64c859986
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/allocate.ts
@@ -0,0 +1,22 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+function codePointOrder(a:string,b:string){
+ const ca=Array.from(a);const cb=Array.from(b);
+ for(let i=0;i<Math.max(ca.length,cb.length);i++){
+ const x=ca[i];const y=cb[i];
+ if(x===undefined)return -1;if(y===undefined)return 1;
+ if(x!==y)return x<y?-1:1;
+ }
+ return 0;
+}
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){
+ const n=remaining.get(r.sku);
+ if(n===undefined){rejected.push({id:r.id,reason:'unknown-sku'});continue;}
+ if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}
+ else rejected.push({id:r.id,reason:'insufficient-stock'});
+ }
+ const keys=[...remaining.keys()].sort(codePointOrder);
+ return {accepted,rejected,remaining:Object.fromEntries(keys.map(k=>[k,remaining.get(k)!]))};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/requests.ts
new file mode 100644
index 000000000..e87b78ae3
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/requests.ts
@@ -0,0 +1,14 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{
+ const out:Request[]=[];const seen=new Set<string>();
+ for(const r of requests){
+ if(typeof r.id!=='string'||typeof r.sku!=='string')throw new RangeError('id and sku must be strings');
+ const id=r.id.trim();const sku=r.sku.trim();
+ if(id===''||sku==='')throw new RangeError('id and sku must be nonempty');
+ if(!Number.isInteger(r.quantity)||r.quantity<=0)throw new RangeError('quantity must be a positive integer');
+ if(seen.has(id))continue;
+ seen.add(id);
+ out.push({id,sku,quantity:r.quantity});
+ }
+ return out;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/stock.ts
new file mode 100644
index 000000000..273d5e654
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-2/stock.ts
@@ -0,0 +1,16 @@
+export type Stock = {sku:string;units:number};
+export function trimSku(sku:string):string{
+ if(typeof sku!=='string')throw new RangeError('sku must be a string');
+ const t=sku.trim();
+ if(t==='')throw new RangeError('sku must be nonempty');
+ return t;
+}
+export function buildStock(stock:Stock[]):Map<string,number>{
+ const m=new Map<string,number>();
+ for(const s of stock){
+ const sku=trimSku(s.sku);
+ if(!Number.isInteger(s.units)||s.units<0)throw new RangeError('units must be a nonnegative integer');
+ m.set(sku,(m.get(sku)??0)+s.units);
+ }
+ return m;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/allocate.ts
new file mode 100644
index 000000000..b52b57a9d
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/allocate.ts
@@ -0,0 +1,16 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);
+ const unique=uniqueRequests(requests);
+ const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of unique){
+ if(!remaining.has(r.sku)){rejected.push({id:r.id,reason:'unknown-sku'});continue;}
+ const n=remaining.get(r.sku)!;
+ if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}
+ else rejected.push({id:r.id,reason:'insufficient-stock'});
+ }
+ const out:Record<string,number>={};
+ for(const k of [...remaining.keys()].sort())out[k]=remaining.get(k)!;
+ return {accepted,rejected,remaining:out};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/requests.ts
new file mode 100644
index 000000000..feb28be18
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/requests.ts
@@ -0,0 +1,13 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{
+ const seen=new Set<string>();const out:Request[]=[];
+ for(const r of requests){
+ const id=r.id.trim();const sku=r.sku.trim();
+ if(!id)throw new RangeError('empty id');
+ if(!sku)throw new RangeError('empty sku');
+ if(!Number.isInteger(r.quantity)||r.quantity<=0)throw new RangeError('invalid quantity');
+ if(seen.has(id))continue;
+ seen.add(id);out.push({id,sku,quantity:r.quantity});
+ }
+ return out;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/stock.ts
new file mode 100644
index 000000000..a706bd1e9
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq2-reservation-workflow-3/stock.ts
@@ -0,0 +1,11 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{
+ const m=new Map<string,number>();
+ for(const s of stock){
+ const sku=s.sku.trim();
+ if(!sku)throw new RangeError('empty sku');
+ if(!Number.isInteger(s.units)||s.units<0)throw new RangeError('invalid units');
+ m.set(sku,(m.get(sku)??0)+s.units);
+ }
+ return m;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-1/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-1/windows.ts
new file mode 100644
index 000000000..5a1ca318d
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-1/windows.ts
@@ -0,0 +1,34 @@
+export type Window = {start: number; end: number};
+
+function validateWindow(w: Window): void {
+ if (
+ typeof w?.start !== "number" ||
+ typeof w?.end !== "number" ||
+ !Number.isFinite(w.start) ||
+ !Number.isFinite(w.end) ||
+ w.start > w.end
+ ) {
+ throw new RangeError("window must have finite numeric start <= end");
+ }
+}
+
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (typeof gap !== "number" || !Number.isFinite(gap) || gap < 0) {
+ throw new RangeError("gap must be a finite nonnegative number");
+ }
+ const copy = windows.map((w) => {
+ validateWindow(w);
+ return { start: w.start, end: w.end };
+ });
+ copy.sort((a, b) => a.start - b.start || a.end - b.end);
+ const result: Window[] = [];
+ for (const w of copy) {
+ const last = result[result.length - 1];
+ if (last && w.start - last.end <= gap) {
+ if (w.end > last.end) last.end = w.end;
+ } else {
+ result.push({ start: w.start, end: w.end });
+ }
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-2/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-2/windows.ts
new file mode 100644
index 000000000..2ddad64b3
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-2/windows.ts
@@ -0,0 +1,39 @@
+export type Window = {start: number; end: number};
+
+function checkWindow(w: Window): void {
+ if (w === null || typeof w !== "object") {
+ throw new RangeError("window must be an object");
+ }
+ const {start, end} = w;
+ if (typeof start !== "number" || typeof end !== "number") {
+ throw new RangeError("window start/end must be numbers");
+ }
+ if (!Number.isFinite(start) || !Number.isFinite(end) || start > end) {
+ throw new RangeError("window must have finite start <= end");
+ }
+}
+
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (!Array.isArray(windows)) {
+ throw new RangeError("windows must be an array");
+ }
+ if (typeof gap !== "number" || !Number.isFinite(gap) || gap < 0) {
+ throw new RangeError("gap must be a finite nonnegative number");
+ }
+ for (const w of windows) {
+ checkWindow(w);
+ }
+ const sorted = [...windows].sort(
+ (a, b) => a.start - b.start || a.end - b.end,
+ );
+ const result: Window[] = [];
+ for (const w of sorted) {
+ const last = result.at(-1);
+ if (last && w.start - last.end <= gap) {
+ if (w.end > last.end) last.end = w.end;
+ } else {
+ result.push({start: w.start, end: w.end});
+ }
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-3/windows.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-3/windows.ts
new file mode 100644
index 000000000..569232b03
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-merge-windows-3/windows.ts
@@ -0,0 +1,23 @@
+export type Window = {start: number; end: number};
+
+export function mergeWindows(windows: Window[], gap = 0): Window[] {
+ if (!Number.isFinite(gap) || gap < 0) {
+ throw new RangeError("gap must be a finite nonnegative number");
+ }
+ for (const w of windows) {
+ if (!w || !Number.isFinite(w.start) || !Number.isFinite(w.end) || w.start > w.end) {
+ throw new RangeError("window must have finite numeric start <= end");
+ }
+ }
+ const sorted = [...windows].sort((a, b) => a.start - b.start || a.end - b.end);
+ const result: Window[] = [];
+ for (const w of sorted) {
+ const last = result.at(-1);
+ if (last && w.start - last.end <= gap) {
+ last.end = Math.max(last.end, w.end);
+ } else {
+ result.push({start: w.start, end: w.end});
+ }
+ }
+ return result;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/aggregation.ts
new file mode 100644
index 000000000..c847d8559
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/aggregation.ts
@@ -0,0 +1,13 @@
+import type {Order, Summary} from './orders.ts';
+
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups=new Map<string,Summary>();
+ for(const o of orders){
+ if(o.cancelled)continue;
+ let s=groups.get(o.customer);
+ if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}
+ s.totalCents+=o.priceCents*o.quantity;
+ s.units+=o.quantity;
+ }
+ return [...groups.values()].sort((a,b)=>a.customer<b.customer?-1:a.customer>b.customer?1:0);
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/orders.ts
new file mode 100644
index 000000000..bf7f9a77e
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/orders.ts
@@ -0,0 +1,8 @@
+import {validateOrders} from './validation.ts';
+import {aggregateOrders} from './aggregation.ts';
+
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/validation.ts
new file mode 100644
index 000000000..22bb8bb63
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-1/validation.ts
@@ -0,0 +1,9 @@
+import type {Order} from './orders.ts';
+
+export function validateOrders(orders: Order[]): Order[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ return orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/aggregation.ts
new file mode 100644
index 000000000..c847d8559
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/aggregation.ts
@@ -0,0 +1,13 @@
+import type {Order, Summary} from './orders.ts';
+
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups=new Map<string,Summary>();
+ for(const o of orders){
+ if(o.cancelled)continue;
+ let s=groups.get(o.customer);
+ if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}
+ s.totalCents+=o.priceCents*o.quantity;
+ s.units+=o.quantity;
+ }
+ return [...groups.values()].sort((a,b)=>a.customer<b.customer?-1:a.customer>b.customer?1:0);
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/orders.ts
new file mode 100644
index 000000000..bf7f9a77e
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/orders.ts
@@ -0,0 +1,8 @@
+import {validateOrders} from './validation.ts';
+import {aggregateOrders} from './aggregation.ts';
+
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/validation.ts
new file mode 100644
index 000000000..22bb8bb63
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-2/validation.ts
@@ -0,0 +1,9 @@
+import type {Order} from './orders.ts';
+
+export function validateOrders(orders: Order[]): Order[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ return orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/aggregation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/aggregation.ts
new file mode 100644
index 000000000..8f5f93f98
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/aggregation.ts
@@ -0,0 +1,12 @@
+import type {Order, Summary} from './orders.ts';
+export function aggregateOrders(orders: Order[]): Summary[] {
+ const groups=new Map<string,Summary>();
+ for(const o of orders){
+ if(o.cancelled)continue;
+ let s=groups.get(o.customer);
+ if(!s){s={customer:o.customer,totalCents:0,units:0};groups.set(o.customer,s);}
+ s.totalCents+=o.priceCents*o.quantity;
+ s.units+=o.quantity;
+ }
+ return [...groups.values()].sort((a,b)=>a.customer<b.customer?-1:a.customer>b.customer?1:0);
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/orders.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/orders.ts
new file mode 100644
index 000000000..c20f8082f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/orders.ts
@@ -0,0 +1,7 @@
+export type Order = {customer: string; priceCents: number; quantity: number; cancelled?: boolean};
+export type Summary = {customer: string; totalCents: number; units: number};
+import {validateOrders} from './validation.ts';
+import {aggregateOrders} from './aggregation.ts';
+export function summarizeOrders(orders: Order[]): Summary[] {
+ return aggregateOrders(validateOrders(orders));
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/validation.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/validation.ts
new file mode 100644
index 000000000..ae547bd2f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-refactor-orders-3/validation.ts
@@ -0,0 +1,8 @@
+import type {Order} from './orders.ts';
+export function validateOrders(orders: Order[]): Order[] {
+ if(!Array.isArray(orders))throw new RangeError('orders');
+ return orders.map(o=>{
+ if(!o || typeof o.customer!=='string' || !o.customer.trim() || !Number.isInteger(o.priceCents) || o.priceCents<0 || !Number.isInteger(o.quantity) || o.quantity<=0 || (o.cancelled!==undefined && typeof o.cancelled!=='boolean'))throw new RangeError('order');
+ return {...o,customer:o.customer.trim()};
+ });
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/allocate.ts
new file mode 100644
index 000000000..77e37fe48
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/allocate.ts
@@ -0,0 +1,8 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){if(!remaining.has(r.sku)){rejected.push({id:r.id,reason:'unknown-sku'});continue;}const n=remaining.get(r.sku)!;if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}else rejected.push({id:r.id,reason:'insufficient-stock'});}
+ const sorted=Object.fromEntries([...remaining].sort((a,b)=>a[0]<b[0]?-1:a[0]>b[0]?1:0));
+ return {accepted,rejected,remaining:sorted};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/requests.ts
new file mode 100644
index 000000000..545bd8a25
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/requests.ts
@@ -0,0 +1,2 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{const out:Request[]=[];const seen=new Set<string>();for(const r of requests){if(typeof r.id!=='string'||typeof r.sku!=='string'||typeof r.quantity!=='number')throw new RangeError('invalid request');const id=r.id.trim();const sku=r.sku.trim();if(!id)throw new RangeError('empty request id');if(!sku)throw new RangeError('empty request sku');if(!Number.isInteger(r.quantity)||r.quantity<1)throw new RangeError('invalid request quantity');if(seen.has(id))continue;seen.add(id);out.push({id,sku,quantity:r.quantity});}return out;}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/stock.ts
new file mode 100644
index 000000000..c046bfd6f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-1/stock.ts
@@ -0,0 +1,2 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{const map=new Map<string,number>();for(const s of stock){if(typeof s.sku!=='string'||typeof s.units!=='number')throw new RangeError('invalid stock');const sku=s.sku.trim();if(!sku)throw new RangeError('empty stock sku');if(!Number.isInteger(s.units)||s.units<0)throw new RangeError('invalid stock units');map.set(sku,(map.get(sku)??0)+s.units);}return map;}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/allocate.ts
new file mode 100644
index 000000000..3ba019c3c
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/allocate.ts
@@ -0,0 +1,13 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){
+ if(!remaining.has(r.sku)){rejected.push({id:r.id,reason:'unknown-sku'});continue;}
+ const n=remaining.get(r.sku)!;
+ if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}
+ else rejected.push({id:r.id,reason:'insufficient-stock'});
+ }
+ const sorted=[...remaining].sort((a,b)=>a[0]<b[0]?-1:a[0]>b[0]?1:0);
+ return {accepted,rejected,remaining:Object.fromEntries(sorted)};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/requests.ts
new file mode 100644
index 000000000..61125502f
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/requests.ts
@@ -0,0 +1,12 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{
+ const out:Request[]=[];const seen=new Set<string>();
+ for(const r of requests){
+ if(typeof r?.id!=='string'||r.id.trim()===''||typeof r?.sku!=='string'||r.sku.trim()===''||!Number.isInteger(r.quantity)||r.quantity<=0)throw new RangeError('invalid request record');
+ const id=r.id.trim();
+ if(seen.has(id))continue;
+ seen.add(id);
+ out.push({id,sku:r.sku.trim(),quantity:r.quantity});
+ }
+ return out;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/stock.ts
new file mode 100644
index 000000000..7b1d207fd
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-2/stock.ts
@@ -0,0 +1,10 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{
+ const map=new Map<string,number>();
+ for(const s of stock){
+ if(typeof s?.sku!=='string'||s.sku.trim()===''||!Number.isInteger(s.units)||s.units<0)throw new RangeError('invalid stock record');
+ const sku=s.sku.trim();
+ map.set(sku,(map.get(sku)??0)+s.units);
+ }
+ return map;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/allocate.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/allocate.ts
new file mode 100644
index 000000000..5e9ca6d03
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/allocate.ts
@@ -0,0 +1,12 @@
+import {buildStock} from './stock.ts';import type {Stock} from './stock.ts';
+import {uniqueRequests} from './requests.ts';import type {Request} from './requests.ts';
+export function reserve(stock:Stock[],requests:Request[]){
+ const remaining=buildStock(stock);const accepted:string[]=[];const rejected:{id:string;reason:string}[]=[];
+ for(const r of uniqueRequests(requests)){
+ if(!remaining.has(r.sku)){rejected.push({id:r.id,reason:'unknown-sku'});continue;}
+ const n=remaining.get(r.sku)??0;
+ if(n>=r.quantity){remaining.set(r.sku,n-r.quantity);accepted.push(r.id);}else rejected.push({id:r.id,reason:'insufficient-stock'});
+ }
+ const sorted=[...remaining.entries()].sort((a,b)=>a[0]<b[0]?-1:a[0]>b[0]?1:0);
+ return {accepted,rejected,remaining:Object.fromEntries(sorted)};
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/requests.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/requests.ts
new file mode 100644
index 000000000..531933cf3
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/requests.ts
@@ -0,0 +1,12 @@
+export type Request = {id:string;sku:string;quantity:number};
+export function uniqueRequests(requests:Request[]):Request[]{
+ const out:Request[]=[];const seen=new Set<string>();
+ for(const r of requests){
+ if(typeof r.id!=='string'||r.id.trim()==='')throw new RangeError('invalid request id');
+ if(typeof r.sku!=='string'||r.sku.trim()==='')throw new RangeError('invalid request sku');
+ if(typeof r.quantity!=='number'||!Number.isInteger(r.quantity)||r.quantity<=0)throw new RangeError('invalid request quantity');
+ const id=r.id.trim();if(seen.has(id))continue;seen.add(id);
+ out.push({id,sku:r.sku.trim(),quantity:r.quantity});
+ }
+ return out;
+}
diff --git a/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/stock.ts b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/stock.ts
new file mode 100644
index 000000000..c3bc7e205
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9060-xt/solutions/iq3-reservation-workflow-3/stock.ts
@@ -0,0 +1,10 @@
+export type Stock = {sku:string;units:number};
+export function buildStock(stock:Stock[]):Map<string,number>{
+ const map=new Map<string,number>();
+ for(const s of stock){
+ if(typeof s.sku!=='string'||s.sku.trim()==='')throw new RangeError('invalid stock sku');
+ if(typeof s.units!=='number'||!Number.isInteger(s.units)||s.units<0)throw new RangeError('invalid stock units');
+ const sku=s.sku.trim();map.set(sku,(map.get(sku)??0)+s.units);
+ }
+ return map;
+}