Use AI to help design evaluations in which the answers or future information are not available to the method being assessed. A system may appear highly capable if its instructions, examples or data preparation have already exposed the information needed to pass a test. The purpose of a held-out evaluation is to obtain evidence about performance on genuinely unseen cases under the stated conditions, not simply to produce an impressive score.
This international guide follows fictional resource designer Adi, who evaluates a synthetic question-classification assistant. All tasks, scores and example labels are invented. SuperIntelligence is the future-facing theme, not a claim that current AI has demonstrated general superintelligence. This exercise introduces leakage prevention and does not establish benchmark performance or endorse punitive use of AI in learner assessment.
- Define the intended capability and information available at prediction time.
- Keep development cases and final evaluation cases separate.
- Check for duplicates, shared source groups and future information.
- Fit data-dependent transformations only on appropriate development data.
- Record test exposure and distinguish development scores from independent estimates.
- Use authorised, representative, reviewed evaluations before making capability claims.
EDUKATE · VOCABULARY CODING AND ENGINEERING · PART 118 · THIRTIETH COLLECTION
Find your next useful step
Continue the series: Parts 117–120
- Part 117: Finding meaningful trade-offs
- Part 118: Preventing evaluation-data leakage — you are here
- Part 119: Designing resilient workflows
- Part 120: Compressing information while preserving meaning
Parts 113–116: relationship tests, Bayesian updating, flow time and temporal records · Part 100 capstone · Begin the complete series
Full chapter index
Define what is being evaluated
Build a fictional held-out evaluation
Recognise common leakage paths
Review evaluation evidence responsibly
Teach and transfer the distinction
1. Define the capability before the test
Adi wants to know whether an assistant can classify a new synthetic practice question into its intended skill category using an agreed rubric. The target is performance on new questions, not remembering the category attached to an already supplied example.
Write the task, allowed inputs, expected outputs and review method. An evaluation cannot establish a capability that was never defined.
2. Define the information boundary
At classification time the assistant may see the question, the approved rubric and permitted development examples. It must not see the held-out answer key, hidden labels or information that would only become available later.
This boundary defines what counts as leakage. The same field may be legitimate in one operational setting and unavailable in another.
Contents · Previous chapter · Next chapter
3. Separate development and evaluation roles
Development cases may be used to improve the instructions and resolve genuine ambiguities. Held-out cases are reserved for an assessment of the method after its relevant settings are fixed.
A separate validation set can support iterative selection. Repeatedly selecting prompts based on the final test set undermines its role as independent evidence.
Contents · Previous chapter · Next chapter
4. Establish a small fictional exercise
Eight synthetic questions are divided into development items D1 through D4 and held-out items H1 through H4. A responsible reviewer prepares the intended labels using the approved rubric.
This is a deliberately tiny teaching set. It cannot establish representative operational performance or a precise statistical estimate.
Related guide: practice banks that teach transfer.
Contents · Previous chapter · Next chapter
5. Record the initial development score
Suppose the revised method labels all four development questions correctly after Adi adjusts its instructions. The observed development score is 4/4, or 100 percent.
The result demonstrates agreement on those exposed examples. It is not independent evidence of performance on unfamiliar questions.
Contents · Previous chapter · Next chapter
6. Run the stipulated held-out evaluation
With the instructions fixed and hidden labels kept from the assistant, suppose the method correctly classifies H1 and H3 but not H2 and H4. The fictional held-out score is 2/4, or 50 percent.
The example illustrates a possible difference between development and unseen-case performance. Four observations provide very limited evidence.
| Partition | Items | Fictional correct count | Interpretation |
|---|---|---|---|
| Development | D1–D4 | 4/4 | Performance on exposed development cases |
| Initial held-out | H1–H4 | 2/4 | Limited evidence on stipulated unseen cases |
| Same held-out items after tuning | H1–H4 | 4/4, if achieved | Now-exposed cases; not a new independent test |
Contents · Previous chapter · Next chapter
7. Recognise direct answer leakage
If the evaluation prompt accidentally includes the labels for H1 to H4, the assistant could reproduce those answers without demonstrating the intended classification ability.
Even a correct response would no longer answer the original evaluation question. Record the exposure and do not treat that run as clean held-out evidence.
Contents · Previous chapter · Next chapter
8. Recognise indirect answer leakage
A filename, heading or hidden metadata field might contain the skill label. An assistant receiving the full record may use that field instead of the question content.
Inspect everything available to the method, including retrieval, examples and generated context. Removing the visible answer column alone may not prevent exposure.
Contents · Previous chapter · Next chapter
9. Recognise near-duplicate leakage
Suppose D2 and H2 are nearly identical questions generated from the same template, differing only in a number. Success on H2 might reflect template familiarity rather than transfer to a new structure.
Whether that is a problem depends on the intended capability. If independent question families matter, assign related questions together rather than separating near copies across the split.
Contents · Previous chapter · Next chapter
10. Split by the relevant group
A synthetic question bank may have multiple variants of each underlying source question. For an evaluation of generalisation across source families, keep every variant of one family in the same partition.
Check group identifiers and duplicates before splitting. A random row split is not automatically appropriate for records that are meaningfully related.
Related guide: regression testing.
Contents · Previous chapter · Next chapter
11. Recognise time leakage
Suppose Adi tests whether the assistant can predict which resource jobs will be delayed at their start. The final completion date would reveal information that was unavailable at that prediction point.
Exclude future information from the prediction inputs and construct historical snapshots. The eventual outcome can be used as the evaluation label, not as an input to the prediction.
Contents · Previous chapter · Next chapter
12. Check data-dependent preprocessing
A statistical workflow might estimate a normalisation mean from all records before creating a held-out split. That means held-out data influenced the transformation used during development.
Instead fit the transformation on the appropriate training partition and apply the fitted transformation to held-out inputs. Do not learn a new transformation from final test data.
Contents · Previous chapter · Next chapter
13. Work through a toy calculation
A fictional training set contains values 2 and 4, while the held-out value is 10. The training-only mean is 3. The mean calculated using all three is 16/3, about 5.33.
The two values differ because the second computation uses held-out information. Subtracting the training mean from 10 gives 7. This simple example illustrates the information boundary, not a complete standardisation algorithm.
| Mean used in transformation | Records included | Calculated mean | Held-out value minus mean |
|---|---|---|---|
| Training-only | 2, 4 | 3 | 7 |
| Improper full-set fit | 2, 4, 10 | 16/3 ≈ 5.33 | 14/3 ≈ 4.67 |
Contents · Previous chapter · Next chapter
14. Distinguish legitimate context from leaked labels
Providing an approved skill rubric is part of the intended classification method. Providing the hidden evaluation verdict for the same question changes the task into retrieving an answer.
Define allowed context before inspection. Do not remove useful legitimate information just to create an unnecessarily artificial evaluation.
Contents · Previous chapter · Next chapter
15. Do not repeatedly tune against the final test
If Adi changes the instructions after seeing H2 and H4 and then obtains 4/4 on the same held-out cases, those cases have informed development. Their role has changed.
Record the later score as performance on now-exposed cases. Obtain new suitable unseen cases for a further independent assessment where feasible.
Contents · Previous chapter · Next chapter
16. Distinguish an evaluation from a guarantee
A clean test can still be unrepresentative, too small, poorly labelled or easier than real work. Avoiding leakage addresses one source of misleading performance, not all of them.
Review task coverage, measurement definitions, uncertainty and error consequences. The score should describe the evidence actually collected.
Related guide: sampling and representativeness.
Contents · Previous chapter · Next chapter
17. Inspect the limits of foundation-model testing
For an externally developed model, a user may not know whether an existing public benchmark appeared in pretraining or other development data. A claimed held-out test at the application level cannot settle that question.
Use fresh, authorised and independently reviewed evaluation materials where appropriate. Disclose uncertainty about earlier model exposure rather than asserting that all questions were unseen.
Contents · Previous chapter · Next chapter
18. Give AI a bounded evaluation brief
Ask the assistant to propose an information boundary, partition plan, duplicate checks, grouping rules and evaluation record. Require it to flag fields or examples that could reveal outcomes.
Do not let the same workflow secretly access the hidden answer key during execution. An appropriate reviewer or controlled testing process must retain the evaluation boundary.
Contents · Previous chapter · Next chapter
19. Preserve the final evaluation settings
Record the model or tool version, instructions, rubric, permitted retrieval sources, available fields and date of the run. Keep the answer key separately controlled where applicable.
A change in settings may require a new evaluation. Reproducing a score requires more than remembering the assistant’s name.
Contents · Previous chapter · Next chapter
20. Inspect individual mistakes
The two fictional held-out failures could reflect an unclear rubric, incorrect reference label or genuine classification error. Review their content after the independent run is recorded.
An authorised adjudication can resolve label defects. Preserve the original run, the correction reason and which items were subsequently exposed.
Contents · Previous chapter · Next chapter
21. Report scores without exaggeration
The stipulated development score is 4/4, and the initial held-out score is 2/4. A later 4/4 after using those errors to change the prompt would be a development result on previously exposed cases.
None of these tiny fictional counts establishes the capability of any real model. Report sample size, evaluation boundary and limitations with the score.
Related guide: classification errors.
Contents · Previous chapter · Next chapter
22. Practise on a changed example
A fictional bank contains six original problems and three variants of each. Design a split to assess transfer to unfamiliar problem families. Explain why placing different variants of every family in both partitions may undermine that question.
Now design an alternative evaluation that specifically measures variation within familiar families. The appropriate split changes with the capability being measured.
Contents · Previous chapter · Next chapter
23. Connect across zoom levels
A learner can practise without looking at the answer key first. A teacher can design fair assessments using reviewed materials. A team can evaluate a bounded AI workflow against genuinely relevant cases.
At larger scales, evaluation design requires stronger safeguards, governance and appropriate expertise. A high score alone does not establish general intelligence.
Contents · Previous chapter · Next chapter
24. Connect vocabulary, Ztime and EnDist
Vocabulary Coding and Engineering distinguishes training, development, validation, held-out testing, exposure, prediction-time information and outcome label. Ztime preserves what information was available at each stage.
EnDist is a conceptual lens for reducing misunderstanding and misplaced effort, not physical energy or a validated numerical metric.
Read more: shared vocabulary · EnDist in Civilisation OS.
Contents · Previous chapter · Next chapter
25. Four weeks of practice
Week one: define a synthetic capability and information boundary. Week two: build development and held-out groups and record a fixed evaluation run.
Week three: introduce deliberate answer, duplicate and time leakage into synthetic examples, then explain why the results change. Week four: design a new reviewed evaluation and write an honest performance statement.
Contents · Previous chapter · Next chapter
26. Questions beginners ask and the next useful step
Does a perfect development score establish transfer? No. Can repeated prompt tuning expose a test set? Yes. Does a clean held-out test guarantee real-world reliability? No.
Before asking AI to evaluate itself, identify what the method could see before making each prediction. Keep the evidence of real capability separate from answers it was already given.
The scikit-learn documentation on common pitfalls and data leakage explains why information unavailable at prediction time should not influence model development and why data-dependent preprocessing must be fitted on appropriate training data rather than the held-out test set. The small examples here are original illustrations, not scikit-learn benchmark results.
Contents · Previous chapter · Continue learning: next guide in this collection