Skip to content
Vibe Math Lab.

Lesson 7 of 23

Lock the analysis plan before the main study's first model call: a worked example with nine AI models

Before you test an AI model, write down what you will measure and how you will judge it, freeze that plan and record its fingerprint, and only then make the first call. This page shows a plan I locked, before the main study's first model call, for a study of AI bug triage. It went public only after the runs, so it does not count as registered, which would need a public, dated copy from before the first call.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

When you test an AI model, the easiest mistakes come after the answers are in. You notice a pattern and pick the measure that shows it best, drop a condition that behaved oddly, or stop as soon as the result looks clean. The defense is to write the whole analysis down before the study's first model call, freeze it, and then follow it.

Here is a plan I locked on November 15, 2026. Software teams are starting to let AI models suggest which bug to fix first, and issue trackers show how many people reported each bug. The study asks how much the stated number of reports moves a model's choice between two bugs when every word of the two bug reports stays the same.

The plan fixes the design:

  • The test items: 442 pairs of closed issues from three large open-source projects (Flutter, Kubernetes and Rust), plus 150 pairs from a fourth, the scheduling app Cal.diy, analysed on their own because in a trial run a model agreed with that project's labels no better than chance, so its "high" and "low" may not mean much. Each pair comes from one project, with one issue the project itself labelled high priority and one it labelled low priority. The plan treats those labels as the project's record, not as ground truth, and the main measure is how often a model's choice moves, which does not depend on the labels being right.
  • The one change: a line saying "Reported by N users" added to the low-priority issue, with N running from 1 to 1,000, so the result is a curve of how far the choice moves as the count grows (a dose-response curve) rather than a single comparison.
  • The controls: a placebo, the line "Internal record number: N", which carries the same digits but says nothing about how many people want the fix; the original report followed by up to 15 copies headed "Duplicate report", to see whether repetition works like a count; the count moved to the high-priority issue; and every pair shown in both orders.
  • The noise floor: every model answers the plain pairs three times, because a model can change its answer between identical calls, and a shift smaller than that proves nothing.
  • The models, with their exact versions and settings: nine in all. Six answer in text (two from Anthropic, two from OpenAI, one from Google and one from DeepSeek). Three are decision models, a kind of service that three companies began selling in 2026, which returns only a probability instead of a written answer: TypeSafe's Jev, OpenAI's Decisions API and Google's Gemini Decision 1 (a separate post on this site tests all three). For these, a probability of 0.5 or more on the low-priority issue counts as choosing it. Sampling settings are left at each maker's default and are recorded. Results are compared within each model, not across models.
  • The analysis: every outcome measure is written out. The main one starts from the pairs a model put high-priority first with no count line, and takes the share that switch to the low-priority issue once the count is added, minus the share that switch between two identical runs with no count. Intervals come from a bootstrap: the analysis is rerun on many random resamples of the pairs, drawing whole pairs, and the spread of the results gives the interval. The Holm correction adjusts for running many tests at once.

The issues are public, so the models may have seen them in training. That is why every comparison is a model against itself on the same pair, with and without the count line: what is measured is the change the line causes.

The plan file was then frozen and its SHA-256 hash recorded early on November 15, before the first call of the main study. A SHA-256 hash is a 64-character fingerprint of a file: change one character and the fingerprint changes. A small trial run on one model had happened the night before, to test the pipeline and measure how noisy the answers were. The plan describes that trial and the design choices it led to, and none of its answers count in the study. Claude agents working under my direction wrote the scripts, pulled the public issue data and prepared the plan, and I reviewed the plan and the files.

The plan, the list of pairs and every script went public on Zenodo after the model runs: doi.org/10.5281/zenodo.24242882, and a second version, doi.org/10.5281/zenodo.24265231, that adds a dated note explaining some of the plan's wording. That note changes nothing in the plan, and it was written after the runs had started but before any answer was analysed.

The data and code are public as well: doi.org/10.5281/zenodo.24431370 holds the raw model answers, the results file and the scripts, with the issue texts stripped, and rerunning the scripts reproduces the results file exactly.

The plan had one gap. It says the paper's title may claim an effect only if it is clearly above the noise floor, but it gives no test for "clearly". A test for that was written after the runs began, and the study's log of departures from the plan lists it as a late addition. It decides only the wording of the title.

The hash lets anyone confirm that the plan they download is the file that was frozen. It cannot show by itself when the file was frozen; only my own records show that. A plan counts as registered when a public archive dates it before the outcome exists, as with my roadmap forecast, which was on a dated public archive two weeks before its first deadline. This one became public only after the runs, so I call it an analysis plan locked before the main study's first model call. Posting just the hash somewhere public and dated before the first call would have proved the timing without revealing the plan, and that is what I will do next time.

Every measure, control and test was set before any answer came back, so the results have to be reported against that list whichever way they fall, and the one late addition is named as one. The results are being written up as a paper and are not on this page.

Before the study's first model call
1. Write the question, and any reference the answers will be compared with, with where it comes from. 2. Write the one thing you will change, and the range you will change it over. 3. Add a placebo: a change that looks similar but should do nothing. 4. Run the unchanged items more than once, and write how you will measure the noise floor. 5. List every test you will run, the measure for each, and how you will correct for running many. 6. Record the exact model versions and settings. 7. Freeze the file, record its SHA-256 hash, and make the first call only after that. 8. Publish the plan, or at least its hash, somewhere public and dated before the first call. If you cannot, say plainly when it went public. 9. Log every later change as a departure, with its date and reason.

The study is independent and is not endorsed by Anthropic, OpenAI, Google, DeepSeek, TypeSafe, GitHub or the projects whose public issues it uses.