Notes ·
Pre-registering a no
OsciWriting fixed one rule before the decision run: if judged substitutability missed a 70 percent bar, the answer was Abandon. It came in at 12.8 to 15.3 percent. What was locked in advance, what was not, and why the verdict holds either way.
Two published findings say that LLM usage concentrates in a few task types. If writing traffic is both repetitive and substitutable, a semantic cache with a small-model router in front of a large model would pay for itself. Before building that layer I wanted a go or no-go, measured, with the deciding rule written down first.
The rule I fixed before the data
OsciWriting is a measurement study with a product requirements document (PRD). Version 2, committed on 19 May 2026 before the decision run, fixed the one rule that mattered: H5 gates the decision, and if H5 fails the outcome is Abandon, whatever the other hypotheses say.
Five hypotheses, one of them decisive. H1 measures cluster coverage, H3 nearest-neighbour similarity, H4 the correlation between prompt and response similarity, H2 how templated the biggest clusters are. H5 asks the only question that matters for a cache: when two prompts look alike, does the cached answer actually serve the second one at acceptable quality, as rated by a judge. Similarity is not substitutability, and the design made sure the similarity metrics could not outvote the real one.
Three arms run through one identical pipeline: the writing subject, an unfiltered-random control, and a scrambled null control. Every decision reads the gap between subject and control, never an absolute number.
What was not locked in advance
Not every number was fixed before the run, and this note would be dishonest if it said so.
- H5's bar, 70 percent acceptability and at least 25 points above the scrambled control, was in the PRD before the run, but as a placeholder, not a figure derived from cost.
- The cost model that turns API prices into the H1 and H3 thresholds was frozen on 20 May, eight minutes after I committed the findings. With Claude Opus 4.7 at 5 and 25 dollars per million tokens and Haiku 4.5 at 1 and 5, the small model costs 0.20 of the large one; against a saving target of 0.50, which is an input rather than a result, that gives T1 = T3 = 0.17.
- The decision run itself scored H1 and H3 against placeholder thresholds of 0.05. Re-read at 0.17, H1 and the strict H3 still pass and the recall H3 fails.
None of that moves the verdict. The run was decided by H5, and H5 came in at a fifth of its bar.
The pilot that changed the design
The first pilot, 5,000 WildChat prompts, produced a clustering the v1 rubric scored as a pass. It was degenerate: one viral image-prompt template appeared verbatim 586, 276 and 26 times, and the top four clusters absorbed all 1,474 strictly filtered prompts. A cache would have "worked" on that data by serving the same template to itself.
So the pipeline gained exact and near deduplication (cosine 0.98 or higher), the primary dataset moved to LMSYS-Chat-1M, and a degeneracy guard now fails H1 when coverage is pinned at 1.0 with no noise and no variation across the 36-cell UMAP and HDBSCAN sweep.
The decision run
| Item | Value |
|---|---|
| Raw records | 50,000 from LMSYS-Chat-1M, 43,979 after exact dedup |
| Subject size | 6,481 (strict filter), 12,880 (recall filter) |
| Judge calls | 2,124 and 2,156, Claude Haiku 4.5, across four cosine bands; the strict control's top band had only about 7 pairs |
| H5 best acceptability | 12.8 percent (strict) and 15.3 percent (recall) at cosine 0.95 to 1.00, against 70 percent required |
| H5 control gap | minus 15.7 pp (strict) and plus 1.2 pp (recall), against plus 25 pp required |
| Decision | Abandon, both arms |
The similarity metrics looked healthy at the thresholds the run used: coverage medians of 0.966 and 0.982, similarity at cosine 0.9 or higher of 21.4 and 15.2 percent, a prompt-to-response correlation of 0.790 and 0.775. A study that stopped at similarity would have read most of that as a go. The one number a cache depends on came in at a fifth of the bar.
Two follow-on designs, cross-user prefetch and personal prefetch, were run against their own bars and also returned Abandon (plus 5.7 pp against plus 10 required, and 7.4 percent recurring against 30 required).
What is still owed
The judge was checked against a second model: 96.8 percent agreement between Opus 4.7 and Haiku 4.5 on the 62 pairs both would rate, with Opus refusing 38 of 100. The human spot-check on the 100-pair audit sample, section 8.5 of the PRD, has not been done yet, so the negative result is internally robust but not yet judge-validated. I say so in the repository and on the case file.
Why bother fixing the rule first on a student project
Because the alternative was a week of building a cache and then looking for numbers that justified it. With the deciding rule fixed before the data, Abandon is a result. It cost a few days of pipeline work and saved a project that would not have paid for itself. The design, the findings and the headline numbers are in the repository.