Originally published on hexisteme notes.
On November 16 an overnight run on my local Qwen3.8 27B finished at 09:12:16. The pre-registration put one check ahead of the score: the prompt overhead, usage.prompt_tokens minus the tokens of the message body, per task. The pre-registration said it had to be about 14 on all 10 tasks. It was 14 on 10/10. The run was valid. The verdict was a rejection: 4/10 applicable patches against a threshold of 5/10.
This is the follow-up to an earlier run that never got a verdict at all. That one tried to remove a reasoning-effort paragraph from the prompt by editing the Ollama Modelfile TEMPLATE. The registered template changed, but the server's prompt did not: the overhead stayed at 52 on 10/10 tasks, the outputs were byte-identical to the baseline, and the pre-registered token check voided the run. This note is about the retry, where the variable finally reached the model, and about why I count a clean rejection as more useful than the void before it.
What the retry changed
Reading the static files, the jinja chat template embedded in the GGUF inserts the paragraph through reasoning_effort|default('xhigh'). With medium there is no paragraph. My guess is that Ollama renders this model's prompt with that embedded template, but I did not confirm which component does the rendering. What the earlier run did show is that the Modelfile TEMPLATE was not the path used for this model, so the lever had to be on the request side.
A daytime probe on November 8 settled which request field worked. I sent the same short message several ways and read the server's prompt_tokens:
| request | prompt_tokens |
|---|---|
| baseline, no effort field | 61 |
/v1, top-level reasoning_effort: medium
|
23 |
/v1, top-level reasoning_effort: low
|
49 |
chat_template_kwargs with reasoning_effort
|
61 |
Medium dropped 38 tokens (the 37-token paragraph plus 1 separator). chat_template_kwargs was ignored. The native /api/chat with think behaved like the top-level field.
So the retry was the same experiment as the void run, implemented through the field that worked. Same model, same weights blob, same template and parameters as the baseline, same 10 build-fix tasks, temperature 0.6, top_p 0.95, max_tokens 12,288, seed 0. The one difference was RunConfig.reasoning_effort = "medium", which the harness adds to the config hash and to the request only when it is set, so the baseline's hash did not move. A new hash also meant the run could not read the baseline's generation cache.
The run script repeated the probe right after loading the model and refused to start unless the top-level medium request was effective. On November 16 at 00:34 that probe gave medium 61→23, low 61→49, and chat_template_kwargs ignored, the same as the daytime probe. The run itself went from 03:40:14 to 09:12:16, 5 h 32 m, against 6 h 28 m for the baseline.
Validity first
The pre-registration, written on November 8 before any result, fixed the order: check validity, then judge.
- Prompt overhead on every task should be ≈ 14 (the baseline's 52 minus 38, ±3). If any task is near 52, the run is void and gets no verdict.
- As a second signal, report how many outputs are byte-identical to the baseline.
The result was overhead 14 on 10/10 tasks and zero tasks near 52. For the second signal, 0 of the 6 non-empty outputs matched the baseline byte for byte. Four outputs were empty in both runs, 0 characters each, so they are identical by construction, and I did not count them as evidence either way.
In the void run, the byte-identical outputs were independent evidence that the server saw the old prompt; the token overhead was what decided validity. Here the same check points the other way: the outputs changed, which is what should happen when the prompt changes under a fixed seed.
The verdict, in the pre-registered wording
The threshold was the same one my earlier baseline runs used, with no adjustment after the fact: 5/10 or more applicable patches supports the hypothesis, under 5/10 rejects it. "Applicable" means the generated diff got through git apply and reached the tests.
- Applicable: 4/10. Rejected.
- Reported only, not judged: pass@1 4/10 (baseline 2/10). All 4 applied patches passed.
- Reported only:
finish_length5/10 (baseline 8/10).
The number that looks like progress, pass@1 going from 2/10 to 4/10, is not the number I committed to judging on, and I am not going to use it as an effect size. This is a single run at seed 0 and temperature 0.6. When the prompt changes, the whole sampling path changes, so task-by-task flips carry sampling luck. A doubling from 2 to 4 out of 10 on one seed does not tell me how big the effect of removing the paragraph is.
What happened per task
Removing the paragraph did shorten the reasoning on tasks the model could finish. On one task, completion tokens went from 7,965 to 3,310 and the reasoning from 22.5k to 8.6k characters. Of the 8 tasks that ran out of budget in the baseline, 3 now finished inside it: 2 passed and 1 named the wrong file. A task that was already short in the baseline stayed about the same.
The other half did not move. 5 of 10 tasks still hit the 12,288-token budget, with 40 to 45k characters of reasoning, the same range as in the baseline. The distribution split in two: tasks that finished used roughly 3 to 23k characters of reasoning, and tasks that did not went all the way to the cap.
The two format failures were different from each other:
- One task finished its reasoning, started writing the edit, and was cut off by the budget mid-output: 1,188 characters with an unpaired block.
- One finished within budget but named a file that was not in the input as the edit target.
I ran the six failures through the same classify_reasoning function and thresholds as the earlier diagnosis. All 6 came out progress: the maximum same-line repeat was 1 to 2, the tail zlib ratio 0.28 to 0.34, and there were 0 SEARCH markers inside the reasoning. None of the six was a loop. Only 5 of them hit the token limit, and one of those 5 had already finished reasoning and was cut off while writing the output. The sixth finished inside the budget and failed on the file it named.
All four tasks from one repository failed
Pass counts by repository were 2/3, 2/3, and 0/4. All 4 tasks from one of my repositories failed, each running out of budget at 40 to 43k characters of reasoning.
I cannot say whether that is the repository or the input length. The three longest inputs in the set, 22 to 36k tokens, are all in that repository. One of its tasks had a short 12.6k input and still failed. With 10 tasks, those two explanations are not separable, and I am not picking one.
Why I did not just raise the budget
The obvious next move would be more output tokens. On this Mac that is blocked by arithmetic. The registered context is 49,152 tokens. The longest input in the set is 36,425. After the prompt overhead, about 12.7k is the most I could give to all 10 tasks, and the current budget is already 12,288. Giving more means a larger context, and the KV cache for that might not fit in 24 GB of memory. I did not measure that; it is the reason I did not try.
The run also ran close to the machine's limits as it was. Free disk fell to 22 GB at its lowest, swap peaked at 20.6 GB, free memory bottomed at 15 %, and the Ollama process peaked at 12.5 GB resident. I had asked three other agent sessions to pause their heavy work for the night and released them at 09:12.
The decision
The run report listed three next options, and on November 16 at 09:45 I took the third:
- Run
reasoning_effort: lowonce under a new pre-registration (the probe had already shown low inserts a shorter paragraph). - Probe a no-think path, which my harness did not yet accept.
- Stop the 27B experiments on this Mac and move them to a Mac Studio, dated 12-15 in my plan.
I chose to stop. The low run and the no-think probe are not happening here. The variables that remain (the thinking budget, the context size, low, no-think) are cheaper to test on a machine with more memory, and they will each get a new pre-registration there.
Valid and better are separate questions
The fix in this retry was a fix to the measurement. It made the prompt the model saw match the experiment I had written down, and the overhead check confirmed that on every task. That is all it fixed. Whether removing the paragraph helps enough to clear the bar was a separate question, and the answer under my own threshold was no.
The void run could not have told me that. It reported 2/10 applicable, which was a replay of the baseline, and a score with no variable behind it. If I had read that score without the token check, I could have concluded the paragraph makes no difference. The rejection now is narrower and I trust it more: with the paragraph gone, 4/10 tasks produced an applicable patch, half the tasks still ran out of budget while making progress, and that is below 5/10.
What I have not established: whether the half that does not finish would finish with low or no-think, whether more budget would help them or the reasoning would simply grow, and whether the 0/4 repository is about the code or the input length. All of that waits for the larger machine and a new pre-registration.
Email list for these notes: hexisteme.beehiiv.com — no issue has gone out yet, so you would be on it before the first one. No welcome sequence, no course, no upsell.
More notes at hexisteme.github.io/notes.
Top comments (4)
Your distinction between "the run was valid" and "the verdict was a rejection" is the one I keep failing to make about my own data.
I run a directory of 4,323 AI tools and yesterday I swept all 91 pages of my ranked list. The check I wrote for myself was: do the rank badges form a contiguous run with no duplicates? Answer: 1 through 4,323, no repeats, no gaps. It passed. But that check was structurally incapable of failing, because the badge is
index + 1 + (page-1)*perPage— it is an offset rendered as a number. Asking it to be contiguous is asking the pagination to be pagination.The check that could have failed is the one about the thing the badge claims: the sort key behind it is (rating, ratingCount), and across 4,323 rows there are only 258 distinct pairs of those two values. 4,133 rows share their exact pair with another row; 695 of them sit at 4.5 with 2 reviews and got 695 different rank numbers anyway.
So I'm taking your pre-registration idea seriously in a specific way: a validity check I wrote after I already knew what story I wanted to tell is not a check. The useful one is the one where the number could have come out the other way.
The 695 rows at 4.5 with 2 reviews make the point well. A rank badge says one tool is above another, and for those rows the data has no order to show.
Your test, whether the number could have come out the other way, fits the post better than I put it there. The overhead check had already failed once. In the void run before this one it read 52 on 10/10 tasks and voided the run, so I knew it could fail before I relied on it passing.
The second signal in the post has the same split as your badges. Four outputs were empty in both runs, so they matched the baseline byte for byte no matter what the prompt did. I didn't count those four either way, because they could not have come out differently.
For the list, I would either give tied rows the same rank (1, 2, 2, 4) or keep unique ranks and state the tiebreak on the page. Either way the badge would stop claiming an order the data doesn't have.
The distinction between making an experiment valid and making the model better is what stands out here. A corrected prompt path establishes that the intended variable actually reached the model; it doesn't establish that the variable improved performance. That separation is easy to lose when a result looks promising, especially when pass@1 moves from 2/10 to 4/10.
I also like that the 0/4 repository result wasn't attributed to the codebase without enough evidence. With only ten tasks and input length confounded with repository, claiming a root cause would be premature.
One additional step I'd consider is repeating the experiment across multiple pre-registered seeds and reporting per-task outcomes alongside the aggregate score. That would help distinguish a consistent improvement from sampling variation and show whether the gains are concentrated in particular task types.
A clean rejection with a verified experimental setup is much more useful than a positive result produced by a variable the model never actually received.
The distinction you drew between experimental validity and actual improvement is sharper than how I framed it — the pass@1 jump from 2 to 4 looked like signal until the verified setup showed it wasn't. Your point about input length being confounded with repository type is the cleanest explanation for the 0/4 result I've seen. Pre-registered seeds and per-task reporting would let us see whether the 4/10 came from consistent gains or a few lucky draws, which aggregate scores hide.