When does a high score stop being an independent test? When information reserved for evaluation influences the procedure being evaluated, or when the evaluation allows a shortcut unavailable in the intended new situation. This lab teaches learners to trace those information paths, calculate what a score actually measures and redesign a test around the capability they want to establish.
The international coursework uses invented card scans, explicit prediction rules and a fresh recording-based transfer exercise. Every calculation is checkable without training an AI model. Vocabulary Coding and Engineering and EnDist are proposed educational frameworks, not validated interventions; future superintelligence is hypothetical. An accurate assisted artifact, independent learner reasoning and useful performance for a recipient remain separate outcomes.
- State which new situations an evaluation is meant to represent.
- Compare splits by individual row and by the object that produced the rows.
- Trace a memorising lookup rule beside a rule fitted to a numerical feature.
- Separate training, development and final evaluation information.
- Detect answer exposure, unavailable outcome fields and preprocessing leakage.
- Report exact scores with their denominators, conditions and remaining limits.
Choose your reading route
Coursework series: Assessment Item Design Studio · Sampling and Selection Lab · Distribution Shift Lab · Data Quality Lab · Vocabulary Coding and Engineering
Continue this coursework series: Interval Bounds Lab · Metamorphic Testing Lab · Evaluation Leakage Lab (this article) · Temporal Alignment and Caption Meaning Studio
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
CHAPTER 1 OF 26 · Understand the capability
1. Ask what the score is evidence of
A team announces that its classifier got every test example right. Before celebrating, ask what the examples were, what information the classifier received and what decisions were made after anyone saw the answers. A numerical score describes an encounter between a procedure and a collection of cases. It does not explain that encounter by itself, even when the arithmetic is flawless.
The capability in this lab is reconstructing that encounter. Learners identify the intended use, trace information from records into predictions and inspect whether the test resembles the claimed new situation. AI can help organise the audit. The learner must still explain which boundary matters and show a concrete failure when a supposedly independent evaluation crosses it.
CHAPTER 2 OF 26 · Understand the capability
2. Define leakage without blaming every wrong prediction
Here, evaluation leakage means information entering development or prediction through a route that the evaluation protocol was supposed to exclude. A final answer sheet used to revise a rule is one example. A field created only after the outcome is known is another. The important question is when and how information became available, not whether the spreadsheet looked tidy.
A weak procedure can fail honestly on an untouched test. A strong procedure can score highly without leakage. Conversely, an inappropriate information path can exist even if its particular score stays low. Record the path itself. In the worked case, the suspicious shortcut is knowledge of the same physical object whose additional scan appears in the purported test of new objects.
CHAPTER 3 OF 26 · Understand the capability
3. Use precise names for each information boundary
Vocabulary Coding and Engineering, or VCE, is eduKate’s proposed discipline for preserving distinctions through language. Training data fit a procedure. Development data inform choices among procedures or settings. Final test data evaluate the frozen choice under a declared protocol. These names describe actual use: a file called final-test becomes development material if its answers guide a revision.
Also distinguish a row from its source object. Two scans can have different row identifiers while sharing the same card. Independent evaluation here means separation from the decisions being evaluated under the stated protocol; it does not magically establish statistical independence among every observation. Say whether the intended recipient needs predictions for new rows, new objects, a later period or another setting.
CHAPTER 4 OF 26 · Work through the example
4. Read the complete fictional card record
Four invented cards, A through D, each have two scans. A scan supplies its card identifier and an integer image feature x. Each card has a fixed category y, either 0 or 1, assigned by this teaching record. The two readings differ, so the scans are not duplicate rows. The intended task is categorising scans of cards absent from training.
All eight readings and their labels are displayed so readers can audit the arithmetic. This is a simulation of information restrictions, not a genuine secret test of the reader or an actual AI system. First and second indicate scan order within each card. No causal explanation of the categories, measurement uncertainty or wider population is implied by these invented values.
| Card identifier | First scan x | Second scan x | Category y for both scans |
|---|---|---|---|
| A | 1 | 2 | 0 |
| B | 8 | 9 | 1 |
| C | 3 | 4 | 0 |
| D | 10 | 11 | 1 |
CHAPTER 5 OF 26 · Work through the example
5. Specify a lookup procedure before calculating its score
Procedure L stores the category of every card represented in its training rows. For a scan from a stored card, it returns that stored category. For any card absent from its table, it returns 0. It ignores x. Training labels for each card are consistent in this exercise, so the table has no conflicting entries to resolve.
This is a complete, inspectable algorithm for the supplied case. It illustrates how recognising an entity can look like recognising a general pattern. The identifier is not secretly the category: it is an arbitrary card code. Its usefulness comes from linking the test scan to a labelled training scan of the same object. A new code has no stored answer.
CHAPTER 6 OF 26 · Work through the example
6. Calculate the apparent success of a row split
For the row split, train L on the first scan of A, B, C and D. Test it on their second scans. Training and testing each contain four distinct rows, with two category-0 and two category-1 observations. The stored table is A→0, B→1, C→0, D→1. Test predictions are therefore 0, 1, 0, 1, exactly matching the four test labels.
The recorded accuracy is 4/4, or 100%. Nothing is wrong with that fraction. The problem is the claim attached to it: every tested card already supplied a labelled training scan. This evaluation tests additional scans of known cards. It does not establish success on the new-card task, even though the row identifiers and numerical readings differ between the two sets.
CHAPTER 7 OF 26 · Work through the example
7. Keep source cards together when testing new cards
Now train on both scans of A and B and test on both scans of C and D. The set sizes and category counts remain four rows each. L has no stored entry for either test card, so it predicts 0, 0, 0, 0. Both C predictions are correct and both D predictions are wrong: accuracy is 2/4, or 50%.
The scikit-learn grouped-validation guidance describes separating whole groups when evaluating transfer to unseen groups. Here the group is a card. Merely renaming rows cannot create that separation. The two scores demonstrate this particular lookup mechanism; they do not estimate how much every model’s score would change under grouped evaluation.
CHAPTER 8 OF 26 · Work through the example
8. Compare a numerical rule that can handle unseen identifiers
Procedure T uses training x values and labels. When both categories are present and all training 0s lie below all training 1s, set its threshold halfway between the largest category-0 x and the smallest category-1 x. Predict 1 at or above that threshold, otherwise 0. If that fitting condition fails, report that this stipulated threshold method is unavailable.
The row split gives threshold (3 + 8)/2 = 5.5; its four test predictions are all correct. The grouped split gives threshold (2 + 8)/2 = 5; it correctly labels C’s 3 and 4 and D’s 10 and 11. T scores 100% in both cases. It uses a transferable numerical relationship here, without proving that relationship holds for every future card.
CHAPTER 9 OF 26 · Work through the example
9. Preserve the denominator and the limits of comparison
For each result, write the number correct, number evaluated, split rule and intended task. L’s grouped result is two correct scans from two held-out cards, not evidence from four unrelated cards. If an institution wants performance across objects, it should decide how repeated observations are weighted before using the score to choose a procedure or announce a result.
Do not convert the example into a universal rule that grouped scores must be lower. If every new card in a different test happened to have category 0, L’s default would score perfectly there too. That would reveal a limitation of the test’s coverage, not new reasoning inside L. Inspect mechanisms and cases instead of treating the direction of a score change as a diagnosis.
CHAPTER 10 OF 26 · Identify failure modes
10. Give development and final evaluation different jobs
Consider a separate fictional audit with two already fitted candidates, P and Q. The table gives their fixed predictions in the order of each four-case set. Use development accuracy to choose between them, freeze that choice and then inspect its final evaluation result. The full table is visible for teaching; the simulated decision-maker is initially allowed only the development row.
P gets 4/4 development cases right, while Q gets 3/4, so that rule selects P. On the final cases, P gets 2/4 right. Q’s recorded final score happens to be 3/4. Choosing Q after seeing those final results would use the final set for selection. The table demonstrates one possible reversal, not an inevitable ordering of development and future scores.
| Set and case order | True labels | P predictions | Q predictions |
|---|---|---|---|
| Development: d1, d2, d3, d4 | 0, 1, 0, 1 | 0, 1, 0, 1 | 0, 1, 1, 1 |
| Final: f1, f2, f3, f4 | 1, 0, 1, 0 | 0, 0, 1, 1 | 1, 0, 0, 0 |
CHAPTER 11 OF 26 · Identify failure modes
11. Recognise when repeated checking becomes answer use
After observing P’s final mistakes, someone adds exceptions: return 1 for f1 and 0 for f4. The revised procedure now gets all four familiar final cases right. This may be useful debugging, but its 4/4 is a result on cases used to repair it. Calling the same file final-test again cannot restore the earlier information boundary or supply unseen evidence.
Cawley and Talbot’s research on model selection examines how optimising an evaluation criterion can itself overfit. Our tiny table illustrates the distinction without estimating that research’s effects. Keep the exposed cases for development, document the revision and use suitable fresh evaluation data for a new final claim. Deleting the visible answer sheet does not undo decisions already influenced by it.
CHAPTER 12 OF 26 · Identify failure modes
12. Check whether a feature exists at the intended decision time
Suppose the card archive also contains a field called reviewer_category, entered after a person assigns y. A procedure copies that field and appears perfectly accurate in a retrospective spreadsheet. Yet the intended task is proposing a category before that review occurs. The field is unavailable at that point. An offline table containing it does not make it a legitimate input for the stated task.
Draw a short chronology: scan created, prediction requested, reviewer decides, category stored. Mark each candidate feature at the earliest point it actually exists. A filename written after review can carry the same problem if it embeds the answer. Conversely, a feature genuinely available beforehand is not leakage merely because it is informative; inspect its origin and the declared use.
CHAPTER 13 OF 26 · Identify failure modes
13. Fit preprocessing on the permitted training information
In a separate numerical example, training values are 2 and 4, and the held-out value is 10. A centring transformation fitted on training subtracts their mean, 3. The transformed training values are −1 and 1; the held-out value becomes 7 using that same mean. Fitting a mean on all three values instead gives 16/3, allowing held-out information to affect the transformation.
The scikit-learn leakage guidance recommends learning preprocessing from training data and applying the fitted transformation to held-out data. The all-data mean changes the transformed values to −10/3, −4/3 and 14/3. No test label was consulted, yet the information restriction changed. This example establishes that change, not a guaranteed improvement in any model’s accuracy.
CHAPTER 14 OF 26 · Identify failure modes
14. Recreate fitted steps inside each validation fold
Suppose development compares two folds of the values 2, 4, 8 and 10. In one fold, training values 2 and 4 give mean 3, so held-out 8 and 10 become 5 and 7. In the other, training values 8 and 10 give mean 9, so held-out 2 and 4 become −7 and −5. Each fold has its own permitted fitting information.
Subtracting the overall mean 6 before constructing the folds would let each validation portion influence the other portion’s fitted transformation. A correctly arranged pipeline can keep fitted steps inside each fold. It does not decide which observations should be grouped or whether a feature comes from the future. Those remain questions about the evaluation design and the actual source records.
CHAPTER 15 OF 26 · Identify failure modes
15. Track variants back to the source they share
Imagine creating five crops of each card image, or asking AI for three paraphrases of each question. Giving every variant a fresh row number does not remove its common origin. For a test of new source material, keep variants from the same source together. A split performed before generating variants makes that relationship easier to preserve and inspect.
Use a source-to-variant register in the classroom: original identifier, variant identifier, transformation and assigned partition. Then ask whether any source crosses the boundary. Content similarity alone cannot settle every case, and different identifiers do not prove unrelated origins. The learner should explain what kind of reuse matters for this particular claim rather than treating all resemblance as misconduct.
CHAPTER 16 OF 26 · Identify failure modes
16. Match the boundary to the future situation
A service that categorises later scans of cards already catalogued may legitimately use stored card identities. That is a different deployment question from identifying new cards. State which one is being evaluated. If the target is a future period, also check that development uses only information available before that period; withholding card names alone does not enforce the time boundary.
Several boundaries may matter together: source object, organisation, time and collection method. Separating group identifiers does not prove that the resulting groups are statistically independent or representative of a wider population. This lab’s deterministic arithmetic needs no such claim. A real evaluation should justify its sampling and uncertainty treatment separately from demonstrating that the stated information restrictions were respected.
CHAPTER 17 OF 26 · Identify failure modes
17. Separate a good artifact from the capability being assessed
The companion article on checkable reusable knowledge distinguishes an accurate contribution from its author’s understanding. Apply that distinction here. An AI-assisted audit table can be correct after teacher repairs. To assess the learner’s reasoning, provide a changed record and ask them to reconstruct the predictions, identify the boundary and justify the conclusion under declared assistance conditions.
A recipient’s ability to use the audit is a third outcome. Give a partner the report and ask which score applies to new cards and whether preprocessing used held-out information. Record confusion and revise the explanation. None of these exercises alone demonstrates durable learning or an AI-caused gain; each supplies evidence about a different task under specified conditions.
CHAPTER 18 OF 26 · Identify failure modes
18. Ask AI for an audit that exposes its inputs
Try this prompt: “Use only the supplied card record and the definitions of L and T. List training and testing rows for both splits. Build L’s lookup table, calculate T’s threshold and show every test prediction before scoring. Explain which cards are unseen in each test. Separate an arithmetic error from a mismatch between the evaluated task and the claimed task.”
Then ask: “Trace any use of final answers, post-review fields or fitted preprocessing. Do not invent results for additional cards. Identify which conclusion the records cannot support.” Check its work with the table and a calculator. Agreement between two generated audits is not a substitute for reconstructing the explicit rules and confirming which records each rule could access.
CHAPTER 19 OF 26 · Identify failure modes
19. Assess the explanation with a proposed local rubric
Use five criteria: defining the target situation, preserving source groups, calculating predictions and scores, tracing development information, and reporting limits. Score each from zero to three. Zero means absent evidence; one indicates major errors; two indicates mostly correct reasoning with an identified gap; three means the reasoning is independently reproducible from the supplied record. Explain the score beside the relevant evidence.
A maximum score is fifteen under this proposed classroom rubric. It is not an intelligence measure or a validated estimate of future competence. A learner who calculates every fraction but overlooks a reused source needs different feedback from someone who identifies the boundary correctly but miscounts predictions. Retain ordinary access supports and state whether answer-generating assistance was available for the assessed reasoning.
CHAPTER 20 OF 26 · Test independent transfer
20. Transfer to recordings with unequal numbers of clips
Four fictional recordings have the clip features below; every clip inherits its recording’s category. Train procedures L and T on all clips from recordings K and L, then test all clips from recordings M and N. Use the same algorithm definitions, with recording identifier replacing card identifier. Before reading on, calculate accuracy across test clips and L’s equally weighted average of the two held-out recording accuracies.
L defaults to 0 for both unseen recordings. It gets M’s three clips right and N’s one clip wrong: clip accuracy is 3/4 = 75%, while equal-recording accuracy is (100% + 0%)/2 = 50%. T’s fitted threshold is (3 + 12)/2 = 7.5; all four held-out clips are correct. Explain the denominator difference without claiming that four clips represent four independent recordings.
| Recording | Clip feature values x | Category y | Partition |
|---|---|---|---|
| K | 2, 3 | 0 | Training |
| L | 12, 13 | 1 | Training |
| M | 4, 5, 6 | 0 | Final evaluation |
| N | 14 | 1 | Final evaluation |
CHAPTER 21 OF 26 · Test independent transfer
21. Build the idea with primary learners
Use two drawings of each invented object and a simple category card. Let learners practise with one drawing and notice when the test drawing belongs to an object whose answer they already know. Then introduce a genuinely new object under a stated sorting rule. Ask what changed between recognising something familiar and applying the rule to a different example.
Keep the activity exploratory and concrete. Familiarity is useful in learning; the question is what a particular check demonstrates. Learners can describe which help they received and explain a fresh classification orally, through manipulatives or with other access supports. Do not turn the exercise into a claim about their general intelligence or require machine-learning vocabulary before the underlying distinction is understood.
CHAPTER 22 OF 26 · Test independent transfer
22. Extend the audit through secondary coursework
Secondary learners can implement the two procedures in a spreadsheet or short program, retaining the source identifier in every row. Ask them to reproduce both splits, compare the two thresholds and produce a report that links each prediction to its permitted inputs. A peer should be able to calculate a selected row without relying on the author’s software output.
For extension, change the invented labels or introduce overlapping numerical features. T may then report that its fitting condition fails. Learners should explain that limitation instead of silently changing the algorithm after examining the test. A changed rule can be developed and investigated, but its evaluation history must travel with it. This joins programming, statistical interpretation and clear explanatory writing.
CHAPTER 23 OF 26 · Test independent transfer
23. Make institutional evaluation useful to its recipients
Universities and institutions can ask project teams for a compact evaluation record: intended use, source units, partition membership, allowed information, fitted steps, selection history, final results and limitations. The record helps another team judge whether a reported score applies to its own problem. It also makes a failed claim correctable without erasing the useful parts of the work.
EduKate’s proposed EnDist lens asks about capability that remains useful after friction, misunderstanding and rework. Here, a high score with an unclear boundary may shift verification work to the recipient. A reproducible audit can improve the handover, but its costs and actual usefulness need evaluation. More capable future AI, including hypothetical superintelligence, would still need an honestly specified test and accountable interpretation.
CHAPTER 24 OF 26 · Four-week coursework plan
24. Use a four-week sequence with a fresh final case
Week one establishes row, source, feature, label and intended transfer using the card record. Week two reconstructs L and T and compares the two splits. Week three audits the candidate-selection and centring examples, then lets peers challenge a draft report. Keep corrections visible so learners can distinguish improved understanding from a result copied after feedback.
In week four, use a newly prepared and independently checked case whose answers were withheld from development. Ask for individual reasoning under stated assistance conditions, then test whether a partner can use the resulting report. A later changed example can investigate retention and transfer. This four-week sequence is a teaching proposal, not evidence that the programme or AI assistance produces a particular learning gain.
CHAPTER 25 OF 26 · Four-week coursework plan
25. Answer three common questions without overstating the test
Does leakage mean somebody cheated? No. A workflow can cross an information boundary accidentally; diagnose the process before attributing intent. Does a perfect test score prove leakage? No. T is perfect on this small constructed example without using held-out labels. A high score calls for understanding the evidence, not automatic suspicion or automatic acceptance.
Can exposed test cases still be useful? Yes, for debugging, instruction or development when their role is labelled honestly. They no longer provide the same untouched final evaluation of a procedure revised from them. Nor does one fresh test settle every future situation. Report what was tested, under which conditions, and which broader claims still require appropriate evidence.
CHAPTER 26 OF 26 · Four-week coursework plan
26. Use the sources to check methods and preserve boundaries
Read scikit-learn’s common pitfalls for leakage and preprocessing, its cross-validation guidance for data separation and groups, and Cawley and Talbot’s original model-selection paper for selection bias. These sources support the specific methodological distinctions; they do not validate the invented datasets, proposed rubric or educational programme here.
Start with one claim of good performance. Identify the intended new situation, trace what information entered the procedure and reconstruct a score from individual predictions. If the boundary changed, repair the evaluation claim and plan an appropriate next check. Preserve the corrected reasoning so another person can judge what the result establishes without needing to trust the confidence of its presentation.