Chapter 8. The evaluation is an observer too
Data Mining as Observation, draft 0.3, 2026-09-09. Week 8 of ECE 514. Readings due before this chapter are ESL 7.1 to 7.6 and 7.10, and TSK 10.1 to 10.3 [2, 1]. Every number below traces to a committed file listed in the last section.
Week one made a claim. The evaluation lies. This chapter gives that claim its mechanics.
An evaluation harness is a consumer. It reads some directions of your data and your model's outputs, it discards the others, and it does so under a budget of folds, samples, and seeds. Everything the first four chapters said about consumers is true of the harness. It has a read operator, the average sensitivity of section 0.5. That operator can be pointed at the wrong quotient. A number it reports means something only against a named reference. When the harness reads a direction that the deployed consumer will never see, the number it reports is about the harness, not about the model.
The failures in this chapter come from six programs run between July and August 2026. They are mine. Each one passed a bar before someone found out what the bar had actually measured. Each was kept in the record at the same prominence as the result it bounded, which is why they can be taught.
8.1 The harness reads the test fold whenever you let it
Write the harness as an observer triple. The consumer is the scoring function. The output metric is accuracy, or recall at ten, or a Kendall correlation between two rankings (section 0.8). The budget is the number of folds times the number of samples per fold times the number of seeds. The read operator of that triple is the set of directions in the joint space of data and model that move the reported score.
$$O_{\mathrm{harness}}=\big(C_{\mathrm{score}},\ G_{\mathrm{metric}},\ B=\text{folds}\times\text{samples}\times\text{seeds}\big). \tag{8.1}$$
Leakage is the case where that read operator overlaps a direction the deployed consumer cannot read. The taxonomy from the session deck sorts the overlap by where it comes from. Target leakage puts the label, or a proxy for it, into a feature. Feature leakage puts a quantity computed after the decision into the input. Temporal leakage lets the harness read the future. Group leakage puts the same entity on both sides of the split. Preprocessing leakage fits a scaler, an imputer, or a feature selector on all rows before the split is made.
ESL 7.10.2 is the worked example, and it should be run live at least once in every career. Fifty samples in two balanced classes, five thousand predictors of pure noise, one hundred predictors selected for correlation with the label on all fifty samples, then a nearest-neighbour classifier cross-validated on the selected hundred. The reported cross-validation error is about three percent. The true error is fifty percent, because the predictors are noise. The selection step read the labels of the rows that were later used as test rows. Selection inside the fold reports fifty percent.
That example is a toy. The next one is not.
The wall that was a protocol. [16] A benchmark generator for vector search spent four rounds unable to match one admission statistic, the two-nearest-neighbour intrinsic dimension called G1. Real corpora read about 61. Every generated candidate read between 300 and 420. Three generator families were built and falsified against that wall, and the campaign briefly recorded that the wall might be fundamental. It was not. On the same corpus, queries drawn from an independent structural realization read 339.9. Queries drawn from the same structural realization as the corpus, with only the content seed changed, read 71.9. The wall was the harness reading a direction, query provenance, that the real evaluation never varied. The three falsified families are still in the record. They were falsified against a measurement of the protocol.
The lesson is the same as the toy's. The harness had a read direction the consumer did not have. The number reported was about that direction.
8.2 A metric that is not the consumer's measures the identity slice
Chapter 4 wrote the operative distortion of a compressor as the reconstruction error read through the consumer, $\operatorname{tr}(P_C\,\Sigma_\delta)$, the error's variance weighted by what the consumer reads (sections 0.3 and 0.5). Plain reconstruction error is that quantity with $P_C = I$, the identity reader. An evaluation metric that is not the consumer's is the same mistake at the harness. It reads every direction equally, including the ones the consumer discards.
The founding negative of the observation program is the cleanest instance. A key codec for attention read cosine similarity 0.995 against the uncompressed keys. The consumer that read those keys, softmax attention, reported perplexity near ten thousand. Perplexity scores a language model's predictions, lower is better, and a working model reads near twelve on this text (section 0.11). Cosine weighted every coordinate of the key equally. Attention weighted them by the query distribution, which concentrates on a few directions per head. Cosine said lossless. The consumer said ruined.
A second codec made the point in its purest form. An online recalibration step improved reconstruction error on every window and made the consumer worse on every window. The metric and the consumer disagreed in sign, not only in magnitude.
The data-mining version is older and better known. Accuracy on a class with 99 percent prevalence reads 0.99 for a model that never predicts the minority class. Precision, recall, and calibration each read a different quotient of the same confusion matrix, and the choice among them is a statement about which errors the decision at stake can absorb. The session deck already says that metric choice is a decision statement. This chapter adds the reason. The metric is the harness's output metric $G$, and a harness with the wrong $G$ has the wrong read operator no matter how many folds it runs.
8.3 A pass can be empty
A bar can be cleared by a run that never encountered the thing the bar was about. The record calls that a vacuous pass. It is the most expensive failure in this chapter because it looks exactly like success.
A gate run with no events. [14] A preregistered gate for a physics campaign declared six bars on a grid of eight cells. Every census summed to exactly 20000 trajectories with zero missing. The maximum relative energy residual was 6.1e-7 against a bar of 1e-5. The path-degree rule held at every level on all 96 declared members with zero failures. Every bar passed. The census also recorded zero reversing trajectories in every cell, all 160000 members transmitted. The sealed claim was about the accounting of pair events, and the grid contained none. What the run certified was the accounting machinery on trajectories that never produced the event. The named error was the manifest. It declared a product grid of parameters, while the run that had found the events placed its cells by bisection to hit an event-rate window. The manifest landed outside that window.
The repair was a new bar, and it is worth quoting because a data-mining harness needs the same one.
The anti-vacuity bar. Every evaluable cell must record a reversing count above zero, and the run must record at least 2000 reversing trajectories in total across evaluable cells. A run that satisfies bars 1 through 5 with too few events is recorded as vacuous, not as a pass.
A correction that transferred with zero error. [15] A calibration sweep for a measurement instrument reported that a fitted correction transferred to a new setting with mean absolute error 0.0000. Every reading in that half of the sweep was exactly 1.000. The fitted correction was the identity, and no error was possible, because the quantity being corrected never degraded in that setting. This was the second sweep in a row to pass a bar for a reason unrelated to the claim. The first had passed because the corrected quantity saturated at its ceiling. Both were caught the same way, and that way is now a standing rule.
Before believing a bar of the form "X predicts Y", require a prior bar that Y varies.
A drift detector on a stream that did not drift. A test of whether retrieval damage tracks measured drift was sealed with strata cut by drift level. The strata, once measured, sat between 0.81 and 0.87 from the starting point, a step rather than a gradient. The claim that damage tracks drift never had a field to be tested on. The test was recorded void, not passed and not failed.
That a bar discriminates exactly when it sits strictly above the null and at or below the real system, that no bar discriminates when the null scores at least as high, and that a bar the null passes is vacuous, are machine-checked in Lean in appendix C.
Every one of these has a data-mining twin. A churn model evaluated on a month in which no one churned. An anomaly detector graded on a window the operators had already cleaned. A drift monitor certified on a stream from a single day. The bar for each is the same. Before grading whether the model finds the event, count the events.
8.4 Every number needs its null
Two disjoint samples of one distribution do not give identical statistics. A difference between two conditions is therefore meaningful only against the difference two draws from the same condition would show. The harness must read that null explicitly, because a naive comparison against a perfect reference reads the sampling noise as effect.
A drift that was half noise. [15] A calibration of how an attention head's read operator moves along the sequence compared windows cut by position against a reference of perfect agreement. At graded rank two, meaning that only the top two directions of the read operator were compared, positional windows agreed with each other at 0.385, so the drift read as 0.615. Windows of the same size drawn at random from the same head agreed at only 0.572. Against that null the drift is 0.224. The null was more than half the naive effect, and an earlier version of the sweep had reported the naive number. The rebuilt sweep paired every quantity with its null, five random draws per cell. Fourteen of sixteen cells read above their null. The scope of that measurement was sixteen cells in one three-billion-parameter model over 192 positions, and the record says so beside the table.
A grammar no better than a random rotation of itself. [25] A measurement program for wireless sensing built a five-dimensional subspace from physical primitives and reported that gradients aligned with it at a ratio of 1.038, interval 0.958 to 1.118, against nulls that randomized the gradient. None of the nulls had asked whether the subspace itself was special. A control that randomly rotated the subspace, keeping its dimension, its conditioning, and its construction path, read 1.019, interval 0.903 to 1.353. The physical grammar had no measurable advantage over a random subspace of the same shape. The claim was withdrawn.
The same note records two failed attempts at a different control before the rotation control was built. A smoothness control read 2.804, far above everything, and was controlling for nothing, because the gradient it was compared against was piecewise constant in blocks of fifty samples from a downsampling step. The second attempt measured the bandwidth from the data and produced a near-constant field that scored seventeen times the real grammar. A control that degenerate says nothing. The third attempt, a phase-randomized surrogate, needed no tuning and is the one that stands.
A gate that separates no null is a fact about the gate. The vector-search benchmark scores each admission gate against three frozen null corpora and reports which nulls each gate separates. The scoring script's own docstring states the reason. A gate that separates nothing is informative about the battery rather than grounds for silently deleting it. One mandatory gate, relative contrast, was later found to discriminate nothing on the corpora tested and is reported rather than removed.
That a label permutation keeps every class size and the bag of scores, so that only a statistic reading the pairing between score and label can move under it, is machine-checked in Lean in appendix C.
For a data-mining project the rule is mechanical. Every reported comparison ships with the number two draws from the same condition would give. If that number is not in the report, the comparison is not in the report.
8.5 Repeated cross-validation multiplies confidence it did not earn
Cross-validation folds share training data. A t-test on the per-fold differences between two models treats the folds as independent, and they are not. Nadeau and Bengio's correction multiplies the naive variance [4] of the mean difference by one plus the fold count times the test-to-train ratio, which is the share of variance the folds' shared training data contributes. At one thousand repeated folds with a test-to-train ratio of one quarter the variance inflation is 251 and the standard-error inflation, its square root, is 15.84. Section 0.9 has the vocabulary of standard errors and intervals.
$$\begin{gathered} \widehat{\operatorname{Var}}_{\mathrm{NB}}=\Big(\frac1J+\frac{n_{\mathrm{test}}}{n_{\mathrm{train}}}\Big)\hat\sigma^{2}, \\ J=1000,\ \frac{n_{\mathrm{test}}}{n_{\mathrm{train}}}=\frac14\ \Rightarrow\ 1+250=251,\ \ \sqrt{251}=15.84. \end{gathered} \tag{8.2}$$
Nine wins that became three. [23, 25] A symbolic-classifier tool I built reported nine wins, three ties, and nineteen losses against gradient boosting across thirty-one datasets, with a win defined as a formula whose mean advantage had a 95 percent interval entirely above zero. An independent check recomputed every threshold from the printed intervals without reusing my script. Under the full Nadeau-Bengio correction three of the nine wins survive. At half the correction seven survive. At a third, eight. The record becomes three wins, seventeen ties, and eleven losses. Keeping all nine wins would have required the thousand folds to be worth about 62 independent ones, and under the correction they were worth 3.98.
The same review found that the manuscript said three incompatible things about the same interval. The methodology named the corrected test as the appropriate framework and then described the intervals as descriptive summaries rather than confidence intervals. The results table used those intervals as the win criterion. The discussion called two of the wins statistically significant across a thousand folds. One interval, declined as inferential, used as a criterion, and reported as significance. The code computed an uncorrected one-sample t-test on the raw fold differences and stored the absolute t as a sigma.
Five further analyses asked whether the seventeen ties could be resolved from the existing data. All five returned negatives. The corrected standard error sat within 0.2 percent of its floor, the fold lever cancelled itself because per-fold variance grows with the square root of the fold count, and heterogeneity between datasets was twelve times the practical-equivalence band. The experiment that would resolve them measures learning curves within datasets, where the heterogeneity cancels, instead of point estimates between them, where it dominates.
The identifier form of leakage has a checkable core. If every test identifier was seen in training, the consumer that looks its answer up by identifier scores zero error for every labeling, including one drawn independently of the features, so the score measures recall of labels and not generalization. That statement is machine-checked in Lean in appendix C.
The multiple-comparison problem in the session deck is the same problem at the model-selection level. Try forty models and report the best, and the reported score is the maximum of forty noisy draws. TSK 10 covers Bonferroni and false-discovery control at survey level. The correction you can always apply is the one in section 8.8. Write the comparison down before running it, and count every comparison you ran.
$$\Pr[\text{at least one of } m\text{ null tests passes}]=1-(1-\alpha)^{m},\qquad \alpha_{\mathrm{Bonferroni}}=\frac{\alpha}{m}. \tag{8.3}$$
The first form assumes the tests are independent. The Bonferroni bound, $m\alpha$ on the chance that any test passes, is a union bound and holds under any dependence between the tests, which is why the book uses it when the folds share training data.
That the folds test every row once and that the overall accuracy is the size-weighted mean of the fold accuracies is machine-checked in Lean in appendix C. Their dependence is the correction's subject.
The first half of equation 8.3 is exact only when the $m$ tests are independent; without that assumption the family-wise error is at most $m\alpha$ by the union bound. The Bonferroni level in the second half needs no independence, since it rests on that union bound rather than the exact product. Both the bound on the family-wise error and the corrected level that restores it are machine-checked in Lean in appendix C.
8.6 Confounds arrive before controls
A signal that predicts the label may be a proxy for a variable that predicts the label for reasons unrelated to the claim. The harness reads the proxy and the claim together, and only a control that removes the proxy separates them.
Genre wearing an aesthetic costume. [31] A study of whether the geometry of a text's embedding predicts its reader rating found a discovery correlation of 0.241, seventeen standard errors from zero (section 0.9), on 4998 books under author-disjoint folds. The non-zero regression coefficients, inspected, separated philosophy from adventure. That is a content feature, not an aesthetic one. Residualizing the rating against genre, which means fitting the rating on genre alone and keeping only the part that fit cannot explain, and repeating the analysis gave a correlation of 0.093, an explained variance of 0.009, and a z of 6.5 at a p of 5.7e-11. Eighty-five percent of the apparent explained variance was genre. In music the same control removed 91 percent of the hand-feature signal on 24801 tracks. The residual in books survives within the largest single genre, fiction, at 0.131 on 2250 books, and is null within non-fiction and history. The claim that stands is that geometry carries signal beyond genre, and the size of that signal is one to two percent of variance.
An encoder that graded itself. [32] A family of small domain encoders, one per moral dimension, was validated by AUROC, the probability that a positive row scores above a negative one (section 0.8), on held-out rows of the training corpus. A cross-corpus test, the same encoder scored on a second corpus with the same labels, is where the rights encoder failed. On the most coherent pairing of corpora available it read 0.467, below its own untrained baseline. Corpus choice was eliminated as the cause by a rerun. The encoder remains a hand-specified rule in every consumer that uses it. The lesson the record banks is one sentence. Within-dataset AUROC is not evidence of a real dimension. The fix that carried the other eight encoders was cross-corpus positives with the same sign, not a stronger adversary.
That in the linear case the naive difference is the treatment effect plus the confound's effect times its imbalance, so that a balanced confound or one with no effect cannot bias it and an unbalanced one can bias it by any amount, is machine-checked in Lean in appendix C.
Both cases share the shape of ESL 7.10.2. A direction the harness could read was correlated with the label for a reason outside the claim. In the first case the direction was genre. In the second it was corpus surface. The control in each case was a second reading with that direction removed, and the control was the result.
8.7 Held-out verification is a sample too
A one-shot verdict on held-out data is the strongest evidence a harness can produce, and it is still a draw from a distribution. If the held-out set is small and the population is heterogeneous, the verdict has variance the harness does not report.
A verdict decided by the dice. [16] A vector-search generator that held eight of ten registered criteria in-sample was frozen and evaluated once on four fresh blocks of a real corpus. The generator's own statistics moved less than seed noise from their in-sample values. The bands moved. The four fresh blocks were homogeneous, strongly articulated regions of the corpus, and they drew the narrowest bands in the project's history on four statistics at once. The width of one band was 0.076 against 0.19 across ten blocks. The mandatory contrast gate missed by 0.007. The verdict was five of ten. An earlier campaign's eight of ten had ridden a wide draw, and this five of ten rode a narrow one. The corpus's density response had been measured to vary 2.4 times across regions, so a four-block verdict was a lottery ticket. The rule that came out of it is binding on every later round. Held-out draws must be at least eight blocks, fixed before the freeze.
For a course project the rule scales down. If your held-out set is one time window, one site, or one cohort, then your verdict is one draw, and the report must say which draw.
8.8 Preregistration is the countermeasure one person can run
The failures above were caught by controls, nulls, corrections, and rules that were written down before the numbers were read. That is the whole method, and one person can run it on a laptop. A preregistration is a document, committed to version control before the first governed measurement, that states what will be measured and what result would refute the claim. The commit hash is the timestamp. The file's SHA-256 is the seal.
The template the observation campaigns use has fourteen fields [14]. The ones that matter most for a data-mining project are these.
- Claim. One statement this experiment can refute.
- Primary outcome. One statistic and its units. Secondary outcomes are listed and cannot rescue a failed primary.
- Instrument controls. The exact nulls and positive controls that must pass before the primary outcome is read. Section 8.4 lives here.
- Falsification bar. The numerical condition that refutes the claim. The bar may not be moved after sealing.
- Missing-data rule. Every row receives an outcome. How failures, timeouts, and refusals are counted is stated before any occur.
- Multiple-comparison rule. The correction or the fixed hierarchy, stated before runs. Section 8.5 lives here.
- Stopping rule. The sample count or the sequential rule. No visual stopping.
- Interpretation ceiling. The strongest conclusion the experiment could support even if it passes. Section 8.3 lives here, because a ceiling forces the author to ask what a pass would actually show.
Two further rules come from the record rather than the template.
Nothing is sealed the day it is built. [13] The Second Crucible of the observation program closed with one pass in five, four of the five non-passes being instrument deaths and none a clean refutation. Its lasting product was a rate limit. No test appendix is sealed on the day its experimental family is first constructed. The Third Crucible was the first campaign to hold that rule, and it closed two of three. When the last owed prediction was discharged on 2026-08-17 and the theory's version declaration was drafted that night, the declaration waited until the following day to be sealed, under the same rule, after a full reread. The reread corrected one internal count.
A miss is a miss. When a bar is missed, the threshold is not relaxed afterward. The sealed miss is carried into every downstream document at the same prominence as a pass it bounds. The program has sixteen standing negatives kept this way and each one narrowed a claim that would otherwise have been carried too far.
For the term project the preregistration is due with the checkpoint. It will be graded on whether the bar was set before the results existed, not on whether the bar was met.
8.9 A record that is not committed does not exist
The harness can be perfect and the result can still be wrong, if what reaches the report is not what the harness produced.
A degradation curve that could not be reproduced. [12] A compression library recorded that one codebook, a quantizer's set of allowed values (section 0.11), lost 13.7 points of ROUGE-L, a text-overlap score, on a long-generation benchmark at 512 generated tokens, with the loss growing from 0.25 through 4.19 and 9.60 across 64, 128, and 256 tokens. The curve appeared in a guide, a results file, a paper draft, and a changelog. Re-validation with the same harness and the benchmark's own metrics measured a difference of negative 0.31 on forty samples. A real and larger collapse of 26.64 points exists on the same cell under a different codebook. The most probable cause is that two back-to-back sweep arms were mislabeled during aggregation outside the repository and hand transcription. Implementation drift was ruled out because the codebook's quantizer function had not changed since it first appeared, in a commit before the results commit, and every committed driver named the codebook explicitly. Definitive attribution is impossible because the raw run outputs were never committed. The rows stay visible with the correction pointing at them and the ledger carries the row as retracted.
A correction that sat in the working tree. [14] A physics runner produced a committed result file with an invalid exponent fit. The corrected rerun was made and left uncommitted, where nothing reading the repository could see it. The invalid record stays unedited. The correction was committed separately under a new file name that supersedes the old one and names it. The exponent items moved from a worst relative change of 0.00278 to 0.00234 and both stayed far inside their bars, so no verdict changed. The rule that came out of it applies to every record. A rerun writes to a new path and never over a committed one.
Errors in the tools that catch errors. The wireless-sensing program found and corrected twenty-seven errors during its work. Four were in the checking tools written to catch errors. A guard pattern silently skipped seven tools. A synthetic-data detector called a real dataset synthetic. An audit reported a core tool as never having run. A loader's class ordering made every prefix a biased sample. The checking tools are consumers too, and they have read operators that can be wrong.
The rule for a course project is the one every program above adopted after paying for it. The result file, the code that produced it, and the environment it ran in are committed together, and the report cites the commit. A number in a report with no commit behind it is a rumor.
8.10 What a project report may claim
The observation program tags every claim with one of six classes [13], and a project report should do the same. The class is the strongest thing the evidence permits.
| Class | Meaning for a project report |
|---|---|
| proved | A mathematical statement with a checked derivation. Rare in a data-mining project. |
| demonstrated | A sealed bar cleared once on held-out data in one setting. The setting is named beside the number. |
| replicated | The same bar cleared in a second, independent setting. |
| predicted | A bar written before the data existed and then cleared. The strongest empirical class available to a term project. |
| exploratory | Any number produced without a sealed bar. It may motivate a claim. It may not carry one. |
| refuted | A sealed bar missed. Reported at the same prominence as any pass. |
The rule that moves a claim between these classes, that nothing changes without a sealed event, that a sealed miss never raises a class, and that a sealed pass never lowers one, is stated as a function and machine-checked in Lean in appendix C.
A report whose headline rests on an exploratory number will be returned. A report whose headline is a refuted bar, with the bar quoted and the miss explained, will be graded on the quality of the refutation. The week 13 case study is three of those.
One boundary stays open. The programs above were run with an embedded AI assistant that could propose, derive, implement, and draft, and could pass its own work. Every control in this chapter exists partly because the assistant may not be the sole grader of anything it produced. There is no mature toolkit for verifying AI-assisted analysis independently of the assistant. The fresh-context adversarial passes the observation program uses are the closest thing on record, and they are a practice, not a tool. Your project is subject to the same boundary. Say in the report which steps an assistant performed and which were checked by a person.
Exercises
Warm-up
- Write the evaluation harness for a five-fold cross-validated classifier as an observer triple.
- Classify each of the following under the leakage taxonomy of section 8.1. A scaler fit on all rows. A customer appearing in both train and test. A feature computed from next month's balance. A label encoded in the file name.
- Why did the query-coupling artifact survive three falsified generator families?
- State the anti-vacuity bar in your own words and give a data-mining case it would catch.
- Why is a reference of perfect agreement the wrong null for comparing two samples of the same distribution?
- Explain why a gate that separates no null is informative about the gate rather than a reason to delete it.
- Why do repeated cross-validation folds not count as independent samples?
- State the difference between residualizing a rating against genre and controlling for genre by stratifying, and say what each would have shown in section 8.6.
- Why must held-out draws be fixed before the freeze rather than after?
- Explain what a commit hash proves about a preregistration and what it does not prove.
- Give one reason a rerun should write to a new file path rather than overwrite a committed record.
- Which ledger class can a term project's headline claim earn at most, and what would it take to earn the next one up?
By hand
- Two hundred repeated cross-validation folds are run with a test-to-train ratio of one to four. Compute the Nadeau-Bengio variance inflation and the standard-error inflation. A naive 95 percent interval of plus or minus 0.02 on the mean difference becomes plus or minus what?
- Forty models are compared at a five percent threshold. Compute the expected number of false positives and the probability that at least one model passes by chance. Compute the Bonferroni threshold.
- A churn model is evaluated on a month with three churners among ten thousand customers. List the values recall can take. State the minimum event count you would require for a bar of recall at least 0.9 to be meaningful, and justify it.
- A drift statistic reads 0.40 against a reference of 1.0. Two random halves of the same data agree at 0.55. Compute the apparent effect against the perfect reference and against the null.
- Fifty rows and five thousand noise predictors. The expected largest absolute correlation between a noise predictor and the label is about the square root of two times the natural log of twice the predictor count, divided by the row count. Compute it, and explain why selecting on it before cross-validating produces a low reported error.
- Nine wins survive at the full Nadeau-Bengio correction as three, at half as seven, and at a third as eight. The correction factor at full is 251. Compute the factor at half and at a third, and explain in a sentence why partial corrections are not a defensible reporting choice.
Programming
- Run ESL 7.10.2 as written, then again with selection inside the fold. Report both error rates with their standard errors across fifty simulations. State the read direction the first harness had that the second did not.
- Lab 3 planted one leak. Classify it under the taxonomy of 8.1, then describe the read operator of the harness that exposed it.
- Take any binary classifier from your project. Report accuracy, precision, recall, and expected calibration error on the same held-out set. For each metric, write one sentence naming a decision for which that metric is the consumer's.
- Write the anti-vacuity bar for your project's primary outcome. Count the events in your held-out set before grading anything. If the count is below your bar, say what you will do.
- Choose one comparison in your project and build its null. Report the effect against a perfect reference and against the null, in the form of the table in section 8.4.
- Your project uses repeated cross-validation. Apply the Nadeau-Bengio correction to your headline comparison and report the corrected interval beside the uncorrected one. State which of your wins survive.
- Split your held-out set into four blocks and into eight. Evaluate your headline claim on each block. Report the spread of the verdict across blocks at each split size.
- Write the preregistration for your final report using the eight fields in section 8.8. Commit it. Put the commit hash in the checkpoint submission. It will be compared against the report.
Answers to the warm-up and by-hand problems are collected in the answer key at the end of the book.
Homework 8. Find the leak, then preregister
Assigned in week 8 as the companion to Lab 3, due Sunday of week 9. Twenty-five points.
Part A, the planted leak (5 points). Programming exercise 20. The leak named under the taxonomy, the harness's read direction described, and the corrected pipeline's score beside the leaking one.
Part B, the null (5 points). Programming exercise 23. The table with three rows, measured, perfect reference, and null, and one paragraph on which of the two effects you would report.
Part C, the correction (5 points). Programming exercise 24. Corrected and uncorrected intervals side by side for every comparison in your project so far, not only the headline. A comparison omitted from the table is treated as a win that did not survive.
Part D, the lottery (4 points). Programming exercise 25. The spread of verdicts at four blocks and at eight, and one sentence on how many blocks your final report will use.
Part E, the preregistration (6 points). Programming exercise 26. All eight fields. The commit hash in the submission. Graded on completeness of the fields and on the falsification bar being numerical. A bar that cannot fail earns zero for the field.
Grading rule for the rest of the term. The final report is graded against this preregistration. A headline claim not covered by it is exploratory and may not carry the report. A refuted bar, reported with the bar quoted, is graded on the quality of the refutation.
Sources for every number
Paths are relative to a checkout of the named repository, at the commit and with the access status listed in appendix A, all under github.com/ahb-sjsu unless appendix A says otherwise. Shas and DOIs are as recorded in the source files on 2026-09-03. A row is reproduced by opening the cited lines at that commit, and where a row names a script the command is the one the repository's README gives for it.
| Section | Claim | Source |
|---|---|---|
| 8.1 | ESL 7.10.2 numbers (N=50, p=5000, 100 selected, 3 percent vs 50 percent) | Hastie, Tibshirani, Friedman, ESL 2e, section 7.10.2 |
| 8.1 | G1 339.9 vs 71.9 same corpus, real about 61, rounds 1 to 4 at 300 to 420, three families falsified | openvector-bench\results\QUERY_COUPLING_ARTIFACT.md:1-20 |
| 8.2 | cosine 0.995, perplexity near 1e4 | turboquant-pro\docs\KV_KEYS_FINDING.md:1-49; geometric-observation\chapters\ch16_honest_negatives.md NEG-2 |
| 8.2 | recalibration improves reconstruction and worsens the consumer | geometric-observation\chapters\ch16_honest_negatives.md NEG-4 |
| 8.3 | PF5-001 vacuous pass (8 cells, 20000 census, 6.1e-7 vs 1e-5, 96 members, 160000 transmitted, zero reversing, record sha 073f6e692253) | observation-theory-campaigns\experiments\CAMPAIGN.md:255-277 |
| 8.3 | anti-vacuity bar, quoted | observation-theory-campaigns\experiments\PREREG-PF5-002.md:79-86 |
| 8.3 | C-8 D5 mean absolute error 0.0000, every reading 1.000, C-7b saturation, the F-21 rule | readscope\CALIBRATION.md F-21 (about line 519) |
| 8.3 | OT-11 void, strata 0.81 to 0.87 | geometric-observation\claims\LEDGER.md:48 |
| 8.4 | C-11c paired null, rank 2 positional 0.385 vs null 0.572, 0.615 vs 0.224, 14 of 16 cells, scope 16 cells one 3B model 192 positions | readscope\SPEC.md:806-857; readscope\calibration\records\c11c-operator-drift.json |
| 8.4 | real 1.038 [0.958, 1.118], rotated 1.019 [0.903, 1.353], smooth 2.804 withdrawn, second attempt 0.184 | constraint-gap-measurements\notes\negative_control.md:1-50 |
| 8.4 | gate meta-rule, relative contrast discriminates nothing | openvector-bench\openvector_bench\score_rc1.py:1-14; turboquant-pro\docs\RESEARCH_ROADMAP.md:133-160 |
| 8.5 | variance inflation 251, SE inflation 15.84, J_eff 3.98, about 62 needed, 3 of 9 at full, 7 at half, 8 at a third | constraint-gap\review\FINDINGS.md:1-35 |
| 8.5 | 9/3/19 to 3/17/11, five negative analyses, 0.2 percent of floor, twelve times the band, learning-curve redesign | constraint-gap\README.md:57-76; constraint-gap\review\REDESIGN.md |
| 8.5 | three-way inconsistency, lines 544, 548 to 556, 755 | constraint-gap\review\FINDINGS.md:7-31 against theory-radar\paper\theory_radar_v6_submission.tex |
| 8.6 | books 0.241 at 17 sigma, residual 0.093, R2 0.009, z 6.5, p 5.7e-11, 85 percent, fiction 0.131 on 2250 | geometric-aesthetics\book\src\chapter-17-empirical-evidence-for-geometric-aesthetics.md:95-106 |
| 8.6 | music 91 percent on 24801 tracks | geometric-aestheticsook\src\chapter-17-empirical-evidence-for-geometric-aesthetics.md:164-166,253 |
| 8.6 | rights encoder 0.467 below untrained baseline, the AUROC lesson, cross-corpus same-sign fix | xbse\README.md:160-172; xbse\experiments\rights_r6_summary.json |
| 8.7 | RC-7 five of ten, band 0.076 vs 0.19, gate missed by 0.007, 2.4 times, eight-block rule | openvector-bench\paper\profile\PROFILE_PAPER.md:576-598; openvector-bench\results\RC7_VERDICT.md |
| 8.8 | template fields | observation-theory-campaigns\experiments\PREREG-TEMPLATE.md:1-71 |
| 8.8 | seal = commit plus SHA-256 | observation-theory-campaigns\experiments\SEALS.md:1-10 |
| 8.8 | Second Crucible 1 of 5, four instrument deaths, rate-limit rule; Third Crucible 2 of 3 | geometric-observation\claims\LEDGER.md:50; geometric-observation\crucible\OT-CRUCIBLE-3-VERDICT.md:1-20 |
| 8.8 | declaration drafted 2026-08-17, sealed 2026-08-18, one count corrected, G2 | geometric-observation\crucible\DECLARATION-V1.md:1-20; geometric-observation\crucible\OT-CRUCIBLE-4.md:31-35 |
| 8.8 | sixteen standing negatives | geometric-observation\claims\LEDGER.md NEG-1 to NEG-16 |
| 8.9 | 13.7 ROUGE-L, 0.25/4.19/9.60/13.7 at 64/128/256/512, re-validation negative 0.31 n=40, 26.64 under symmetric nf4, _quant_nf4a_group unchanged since 289bdfc before 4f7baab | turboquant-pro\CLAIMS.md:63-81; turboquant-pro\benchmarks\kvquant_matrix\REVAL-2026-08-08.md |
| 8.9 | PF4-007 sha e12453effa2f, 0.00278 to 0.00234, new path pf4-007b | observation-theory-campaigns\experiments\CAMPAIGN.md:695-723 |
| 8.9 | twenty-seven errors, four in checking tools | constraint-gap-measurements\README.md:273-282 |
| 8.10 | the six classes | geometric-observation\PROTOCOL.md:58-75 |
| 8.10 | the AI-assistant boundary, fresh-context passes | geometric-observation\chapters\ch15_registration_first.md; geometric-observation\chapters\ch17_open_problems_and_the_keystone_theorem.md:85-96 |
previous, Chapter 7. Ensembles and boosting ยท next, Chapter 9. Clustering, name the manifold or certify none