Appendix G — First-Pass Yield

Interpret observed pass counts, descriptive cost per pass and uncertainty without overstating the evidence.

Felix Reyes · The Skills Pack · First edition, 2026 · CC BY 4.0 · Router

This appendix answers one question for the reader who decides whether a pack goes to teams, which model service the teams pay for, and what a monthly report should contain: of every ten deliverables a pack produces, how many pass every check the first time, and what does each one that does not cost? Chapter 9 defines its terms.

The question

Every attempt at a deliverable uses model tokens and host time. A reviewer may spend time on a note that then goes back. A deliverable is accepted only when every check passes and the reviewer releases it. This appendix measures the first of those two gates: automated-check passes. It does not measure reviewer acceptance or the full cost of an accepted deliverable.

The recorded host cost per automated-check pass compares the resources spent across this test suite with the passes it produced. At each printed pack version, the first primary model had the lowest recorded host cost per automated-check pass. That is a result for these runs, not a forecast of a team’s savings or the cost of retrying a particular leaf. Each month, ask for one page per pack: for each leaf, the attempts, the passes on the first attempt, the checks that failed, and the model and pack version each note was written with. Add one row to the rollout plan’s measures block, first-pass yield per leaf and model, recorded from the run folders. The sign-off rule is the floor under it, and Table G.2 says how little a few runs can claim.

The measure

The first-pass yield (FPY) of a case on a model is the share of its runs in which every check of the run, the case’s and the runner’s two, passed, as recorded, with nothing retried. A run is one attempt in the sense of Section 9.1: a fresh session under the clean configuration, the pack installed, one prompt, and the checks run on what came back. The out-of-scope case is left out, because it is a routing test that the pack passes by writing nothing, and not an attempt at a deliverable. With three repeats of each leaf case, a leaf on a model has 3 runs, a pack version on a model 12, and a pack version across the two primary models 24; the capstone pack has one leaf, so its cells hold 3.

The yield counts the recorded verdict, the one the checks gave at run time, since a monthly report should count what the gate said on the day. A pass means that every check of the run passed (Table 9.1): the figures are the script’s, each one-record figure sits beside its name, the shape follows the contract, the required files were read and the host changed no installed file. It says nothing about an omission, a wrong driver or usefulness, which only a reviewer sees, so a yield of 1.0 means that every attempt reached the reviewer with nothing a check could find. A signed case has passed three of three on each primary model, or failed one the re-check cleared as a false alarm.

The arithmetic

For a fixed leaf and configuration, suppose attempts are independent, each has the same pass probability p>0p>0, and failed attempts are retried until one passes. Under those assumptions, the expected number of attempts is 1/p1/p. If each attempt has the same expected cost cc, expected cost per automated-check pass is c/pc/p. This is a retry model, not a property established by a few observed runs. It excludes reviewer acceptance.

For the recorded test suite, total host cost divided by the number of check passes is a descriptive ratio. It equals mean cost per attempt divided by observed FPY. The same arithmetic applies to total seconds and output tokens. On Close and Reconciliation at 2.0.0, the third model’s 8 passes in 12 attempts give 1.5 recorded attempts per check pass: 55.8 seconds and 5,214 output tokens, against 37.8 seconds and 2,830 tokens for the first primary model. These pooled ratios describe the test suite; they do not estimate retry cost for each of its four different leaves.

For a production estimate, measure each leaf separately under its intended configuration. Record reviewer acceptance, review time and rework as separate outcomes. The run record here contains no reviewer’s minutes.

A failed attempt the release gate catches costs a rerun in seconds and tokens, and one the reviewer catches costs a read, so the gate of Section 10.5 sits before the reviewer, who still reads for what no check sees. The host also records a cost figure for each run, in US dollars as the host estimates it at the day’s prices, beside the token counts in result.json. The Cost column of Table G.1 is that field, and a team reads it with its own prices.

What the record shows

Table G.1 gives the yield for each pack at 1.0.0 and at its printed version, per model, with the seconds and output tokens an attempt took and recorded attempts per automated-check pass; tools/first_pass.py prints every version.

First-pass yield from the run record, each pack at 1.0.0 and at its printed version, per model, leaf cases only: runs passed, the yield, the mean seconds, output tokens and cost per attempt as the host reported them (Cost is the host’s own figure in US dollars at the day’s prices), and recorded attempts per automated-check pass (Attempts). Every run is one attempt; the verdicts are the recorded ones.

Pack, version and model Passed Yield Seconds Tokens Cost Attempts
Variance and Bridge 1.0.0
First primary model 9 of 12 0.750 23.4 2,636 0.1045 1.33
Second primary model 12 of 12 1.000 37.4 3,430 0.2119 1.00
Third model 2 of 12 0.167 34.5 3,166 0.0670 6.00
Variance and Bridge 2.0.0
First primary model 12 of 12 1.000 21.9 2,499 0.1063 1.00
Second primary model 12 of 12 1.000 34.2 3,228 0.2196 1.00
Third model 4 of 12 0.333 37.5 3,775 0.0760 3.00
Management Reporting 1.0.0
First primary model 11 of 12 0.917 25.0 2,920 0.1162 1.09
Second primary model 11 of 12 0.917 35.6 3,586 0.2375 1.09
Third model 9 of 12 0.750 42.8 4,703 0.0813 1.33
Management Reporting 2.0.1
First primary model 12 of 12 1.000 33.9 2,993 0.1134 1.00
Second primary model 12 of 12 1.000 42.3 3,836 0.2427 1.00
Third model 9 of 12 0.750 46.0 4,836 0.0885 1.33
Close and Reconciliation 1.0.0
First primary model 11 of 12 0.917 23.6 2,817 0.1061 1.09
Second primary model 12 of 12 1.000 28.8 2,961 0.1992 1.00
Third model 10 of 12 0.833 33.8 3,310 0.0640 1.20
Close and Reconciliation 2.0.0
First primary model 12 of 12 1.000 37.8 2,830 0.1023 1.00
Second primary model 12 of 12 1.000 34.8 3,021 0.2122 1.00
Third model 8 of 12 0.667 37.2 3,476 0.0694 1.50
Forecast and Planning 1.0.0
First primary model 12 of 12 1.000 23.7 2,475 0.1058 1.00
Second primary model 12 of 12 1.000 28.9 2,788 0.1968 1.00
Third model 4 of 12 0.333 38.9 3,886 0.0712 3.00
Forecast and Planning 2.0.1
First primary model 12 of 12 1.000 33.8 2,637 0.0997 1.00
Second primary model 12 of 12 1.000 37.7 2,998 0.2151 1.00
Third model 4 of 12 0.333 38.8 3,583 0.0700 3.00
The capstone pack, vendor-rebates 1.0.0
First primary model 3 of 3 1.000 26.3 3,530 0.1271 1.00
Second primary model 3 of 3 1.000 44.1 4,292 0.2594 1.00
Third model 1 of 3 0.333 48.0 5,127 0.0840 3.00

The model moves the yield more than the pack version does: Variance and Bridge 2.0.0 is at 1.000 on both primary models and 0.333 on the third, while no version step moved a primary model’s cell by more than two runs. At the printed versions both primary models passed every run. Across this test suite, the first primary model used the fewest output tokens and had the lowest recorded host cost per automated-check pass on every pack. It also used the fewest seconds per pass except on Close and Reconciliation, where the second primary model was faster (34.8 seconds against 37.8). The third model’s pooled yields range from 0.333 to 0.750. Its mean cost per attempt is lowest in every printed group, but its recorded cost per automated-check pass is higher than the first primary model’s in every group.

The second primary model costs more per attempt than the first in every printed cell, by cost and by tokens, so for the same yield it is the higher recorded cost per automated-check pass. At 1.0.0 it was the only model at 1.000 on Variance and Bridge, where the first passed 9 of 12; even then the first cost less per automated-check pass, 0.1045 an attempt over 1.33 attempts against 0.2119 over one, and more by output tokens, 2,636 over 1.33 against 3,430. By 2.0.0 both primary models were at 1.000 on Variance and Bridge.

The pooled yield hides a spread by leaf. At the printed versions the third model’s leaves run from 0 of 3 (revenue-bridge and assumption-register) to 3 of 3. A leaf at 0 of 3 has no check pass in this record, so the observed cost per pass is undefined. Three failures do not establish a zero true pass probability or an endless retry loop. Different yields across leaves show why a pooled pack yield cannot be used as the retry probability for one leaf. Repeated failures within a leaf also warrant investigation before assuming that another attempt is independent.

Three steps between versions added a rule to a leaf after a real failure, with no script, golden file or check changed: Variance and Bridge 1.0.0 to 1.0.1, Management Reporting 2.0.0 to 2.0.1 and Forecast and Planning 2.0.0 to 2.0.1 (Sections 10.3 and 11.6). On the primary models the cells moved from 9 of 12 to 10, from 10 and 11 to 12 and 12, and from 11 to 12: one or two runs in twelve, inside what Table G.2 says twelve runs can tell apart, so the record is consistent with the rules having worked and does not show it. The third model’s cells moved 2 to 4, 10 to 9 and 8 to 4.

For the pack owner, the evidence sheets count which check the failed runs failed, over the seven run sets. The third model’s runs failed provenance, a figure that is not a display string, 75 times; binding, a one-record figure beside the wrong name, 20; and contract, a section, bullet, headline figure or input hash the contract requires, 19. Inside those counts, 4 runs wrote no note at the path the leaf names and failed all three, and the re-check cleared 4 binding failures as false alarms. The primary models’ runs failed binding 7 times, 3 of them false alarms, contract 5 and provenance 4, with one no-result run inside each.

Of the 20 third-model provenance failures at the printed versions, 13 dropped a sign the script printed or added one, 5 gave a sum, difference or threshold of the model’s own, one note went to a path the leaf does not name, and one put a dollar sign on a bare driver value.

What a yield measured on a few runs can claim

Table G.2 gives exact one-sided 95% lower confidence bounds for a binomial pass probability. Each row assumes independent runs with the same underlying pass probability. The bound is the lowest probability that gives the observed number of passes or more a probability of at least 0.05. It is not a guarantee about the next run or a team’s future yield. Pooling different leaves or models does not establish the common-probability assumption. 1

Exact one-sided 95% lower confidence bounds for a common binomial pass probability, assuming independent runs.

Runs Every run passed: lower bound One run failed: lower bound
3 0.368 0.135
6 0.607 0.418
12 0.779 0.661
15 0.819 0.721
24 0.883 0.817
30 0.905 0.851
59 0.950 0.922
100 0.970 0.953
300 0.990 0.984

Under these assumptions, three passes in three give a lower bound of 0.368; twelve in twelve give 0.779; twenty-four in twenty-four give 0.883. A lower bound of at least 0.95 requires 59 clean runs. One failure among 59 lowers the bound to 0.922. These are confidence bounds under the stated model, not unconditional claims that the yield is “at least” that value. A sign-off on three repeats holds a version back when one fails; a team’s own yield must be measured in production.

The yield a team reports comes from the production path, where every month’s note is an attempt. The release gate of Section 10.5 writes release.json into the note’s folder with a status of passed, failed or refused, so the first-pass yield of a leaf in production is the share of its notes whose first gate run says passed; a note the gate failed and the preparer fixed is a failed attempt, whatever the second run said. This edition has two gate records, the budget-vs-actual note at 1.0.0, which failed on one label, and the same model’s note at 1.0.1, which passed. Two records do not say whether a yield measured on the test cases carries over to a team’s own files, and no other record in this edition does.

What raises it

The record measures an effect for one change only, a rule added to a leaf, and that one inside its noise. Add the rule the failure shows is missing: the three steps of Section G.4 were each a PATCH, a rule in a leaf drawn from the failed note, and a rerun. Render the fixed sections so that the model copies nothing: the budget-vs-actual leaf has its script write every section but Drivers and a check compare the rest with the renderer’s output (Section 5.2), so a figure of the model’s own can sit only in the one section it writes; that section says that the record shows no trend on the third model, and on the primary models the leaf was at three of three before rendering (Table 9.6). Use Table G.1 to compare recorded host resources per automated-check pass. Choose a production model using per-leaf results, the team’s prices, reviewer acceptance and measured review and rework time. Keep the gate before the reviewer.

Some things raise the number and leave the yield where it was. Loosening a check or widening a contract raises the pass count against a weaker test, and a yield against weaker checks is a different number, because the yield is defined against the checks; Section 9.6 breaks each generic figure and shape check on a planted defect to show what it refuses. Counting a host’s own retries as first pass does the same by another route: the runner invokes the host once per run and records one set of verdicts for it, so a note rewritten before it was saved is in the transcript and is not a second attempt, and a team that lets the model run the gate until it passes has measured something else. Picking the best repeat is another; a case passes on a model only when every repeat passed (Section 9.1).

Reporting it, and what this appendix does not show

The row in the rollout plan’s measures block (Table 10.4) reads: first-pass yield per leaf and model; before the pack, no run; after it, from the run folders and release.json. The target is the team’s, and the floor is the sign-off rule: no real failure in any repeat on a primary model before a version goes to teams. tools/first_pass.py prints the attempts and first passes of the monthly page of Section G.1; the failed checks are in each set’s portability.md.

One host and one model family ran every case, so the yields are that host’s on that family, and the inputs are one fictional company’s files. A pass is a check pass, and a reviewer reads every note for what no check sees. Each cell of Table G.1 is 12 runs, or 3, and Table G.2 says what that is worth. The costs are in the host’s units and exclude reviewer time and rework; the rows of the measures block that would show a saving are the team’s to fill (Section 10.8).


  1. NIST, “Exact Binomial Confidence Limits,” https://itl.nist.gov/div898/software/dataplot/refman2/auxillar/exacbino.htm.↩︎

All chaptersDownload & licenseBook text CC BY 4.0