Separate development data from evaluation data
Reading estimate uses 200 words per minute and excludes exercises, self-review and optional book descriptions. Earlier lesson checks are kept; revisit the expanded text if you completed the short edition.
Design a chronological development-and-evaluation split that preserves version boundaries, prevents information leakage and records how inspected evaluation results affect later research claims.
Data can help create a rule or help examine a fixed rule, but it cannot play both roles unnoticed. When you alter a trigger after inspecting its result, the inspected example becomes development information for the alteration. Calling the same result out of sample afterwards does not restore independence. This lesson separates the purposes of data, identifies common routes by which later information enters earlier decisions and shows how to keep a failed evaluation useful without pretending it remained untouched. The exercise uses fictional dated observations and does not establish that any split guarantees future profitability.
In this lesson · 12 sections
- Define development and evaluation by use
- Use chronological boundaries suited to the question
- Freeze the complete version at the boundary
- Recognise direct look-ahead leakage
- Watch for preprocessing that uses the future
- Handle overlapping outcome windows
- Preserve the evaluation after a disappointing result
- Treat an inspected holdout as inspected
- Compare versions without pooling their identities
- Use forward observation with accurate labels
- Build an information-use ledger
- State the limits of the split
1. Define development and evaluation by use
Development data is information used to choose, clarify or revise a rule. Evaluation data is examined under a fixed specification to address a declared question. The distinction depends on what you did with the information, not only on a folder name. A dataset labelled test can become development material when you repeatedly consult it to improve the rule.
Write the decisions each data portion may influence. Development can shape trigger definitions and cost-model design. A separated evaluation should initially apply the chosen version without using its outcomes to select that same version. If the evaluation reveals a defect, the evidence remains valuable, but a revision influenced by it needs a new research status. This practical account of information use is more informative than claiming separation solely because two spreadsheet tabs have different colours.
2. Use chronological boundaries suited to the question
Market observations have an order. For a classroom exercise, label an earlier fictional interval development and a later interval evaluation, then record the boundary before interpreting the later results. This is a simple way to preserve a direction of information flow. It is not a universal prescription for split ratios or a guarantee that one period represents every possible future condition.
State why the chosen windows are relevant and what they omit. An evaluation covering one quiet fictional regime cannot establish behaviour across every market environment. Avoid choosing a boundary after discovering which date makes the later result most attractive. If the boundary must change because data is unusable, record the reason and what outcomes were already inspected. The integrity of the split comes from a transparent procedure, not from the apparent size of the later sample.
3. Freeze the complete version at the boundary
Record the setup rule, execution convention, cost treatment, eligibility filters and measurement horizon before evaluation starts. A frozen trigger with an adjustable exit or changing exclusion policy is not a fully fixed research object. The rule page should identify every decision that could materially alter which cases enter the result or how their outcomes are calculated.
Keep a copy with a version identifier and effective time. A later clarification may seem minor but can still change sample membership. For example, replacing above with at or above adds equality cases. Treat such a change as a new version if it alters classification. Preserve evaluation results under the original specification rather than quietly recalculating them and presenting the revised total as though it were the first untouched test.
4. Recognise direct look-ahead leakage
Look-ahead occurs when a decision uses information unavailable at its claimed time. A swing confirmed by later bars cannot justify an earlier entry as if it were already known. A release value published after a timestamp cannot be used as an earlier filter. A completed daily high cannot be treated as available halfway through that day merely because a historical data row contains it.
Build a knowledge-time column for inputs whose availability is not obvious. Compare it with each candidate's recognition time. The check should be mechanical where possible: did the required input exist yet? A visually convincing chart cannot answer this question by itself. When leakage is discovered, identify affected records and limit the conclusion. Acknowledging hindsight in a paragraph does not remove it from calculations that continue to rely on future information.
5. Watch for preprocessing that uses the future
Information can leak through preparation as well as explicit entry rules. Suppose a threshold is computed from the full fictional dataset and then applied to an earlier development window. If later observations influenced that threshold, the earlier process was not based solely on earlier information. Similar issues can arise when selecting normalisation constants, ranking features or repairing records using values only known later.
For the classroom exercise, describe when each derived quantity is fitted and which observations it may use. A fixed constant chosen from development can be carried into evaluation if that is the protocol. A rolling quantity should use only its allowed prior window. Do not assume that preprocessing is harmless because the final trigger formula contains no obvious future price. Trace the data dependency backward until the original observations and their availability are visible.
6. Handle overlapping outcome windows
A candidate's follow-up can extend beyond the boundary where you intend evaluation to begin. If a development label uses later prices from inside the evaluation window, information may cross the split even when candidate timestamps appear separated. The issue depends on the study's horizon and design. Record each observation's feature window and outcome window rather than relying only on its starting date.
For a simple fictional protocol, leave a clearly documented gap or exclude boundary-straddling records from the relevant comparison under a prewritten rule. This is an illustrative design choice, not a universal sufficient solution. More complex dependencies may need additional methodological work. The important lesson is to inspect what time each record consumes. Two rows assigned to different sets are not necessarily independent merely because their identifiers or start dates differ.
7. Preserve the evaluation after a disappointing result
An unfavourable evaluation can reveal that a chosen hypothesis did not behave as hoped under the stated conditions. Preserve that result with its assumptions and unresolved issues. Do not move the boundary, drop the difficult period or add a filter solely to make the same evaluation look successful while continuing to call it untouched evidence. A revision can be a legitimate next step, but it changes the information history.
Write the observed defect precisely. Perhaps execution costs reverse the gross result, a trigger is ambiguous or the later sample differs from the development context. Each suggests a different research response. The evaluation's value is not restricted to confirming the idea. It can identify an inadequate specification or a question the data cannot answer. Keeping the disappointing record protects that learning from being lost in the next attractive version.
8. Treat an inspected holdout as inspected
Once you inspect an evaluation outcome and use it to change the rule, that information has entered development for the revised version. Renaming the folder does not reverse the exposure. Record which findings influenced the revision and identify what separated evidence would be needed next. A single held-out period cannot remain a fresh test through unlimited rounds of adjustment.
For the classroom example, version A is evaluated on a later fictional interval and fails a chosen criterion. Version B adds a condition suggested by one of those failures. The same interval can illustrate version B's behaviour, but it cannot be portrayed as independent confirmation of B. This distinction does not make the data worthless. It accurately describes its new role and prevents a long search from being presented as one decisive test.
9. Compare versions without pooling their identities
A research report may contain development results for A, evaluation results for A and exploratory results for B. Label each block separately. A combined total across them can describe the sequence of research exercises but does not evaluate a single unchanged strategy. Keep version, dataset role and inspection history attached to every result so the reader can reconstruct what each number means.
If you compare A and B on the same already inspected examples, call it a development comparison. It may reveal how a specific change affects classifications or costs. Do not infer that the more attractive version will perform better on unseen conditions merely because it fits the known set. The comparison earns its usefulness by narrowing a next question, not by erasing the selection process that made B look promising.
10. Use forward observation with accurate labels
Observing later cases after freezing a version can reduce some forms of retrospective selection if the protocol is followed. Record the rule before each new case and retain every eligible candidate. This is often called forward or prospective observation in a research context. It still does not guarantee realistic execution, adequate sample coverage or future success.
A demo result remains simulated even if it uses contemporaneously observed prices. Its fill model and behaviour under financial consequences may differ from actual implementation. Keep this limitation explicit. Forward observation addresses a particular timing problem; it does not solve every other research problem automatically. A small run of favourable later cases should therefore be reported as a limited observation under the fixed protocol rather than proof that earlier uncertainty has disappeared.
11. Build an information-use ledger
Create columns for dataset window, purpose, rule version, inspected date, decisions influenced and permitted next use. Include a separate note for derived inputs and their fitting windows. The ledger need not contain every price. Its job is to show where knowledge entered the design and which claims about separation remain defensible.
Test it with three fictional blocks: early development, later evaluation of A and a revised-rule exploration using the inspected evaluation. A reader should identify the third block as development information for B. Add one boundary-straddling outcome to see whether the protocol catches it. If the ledger cannot explain the status of a result without a long informal story, simplify the design or improve the records before reporting a strong conclusion.
Consider a fictional boundary after period sixty. A candidate recognised at period fifty-nine uses a three-period outcome ending at sixty-two. Labelling it development solely because recognition happened before sixty leaves its outcome drawing on the later window. Write the full interval beside the row and apply the predeclared boundary rule. The correct handling depends on the study design, but the overlap must not remain invisible.
Now add a threshold calculated from all one hundred periods and used to classify candidates at period twenty. Even if the trigger itself reads only an earlier close, the threshold already contains later information. Recompute the preparation using only the allowed fitting set or classify the original result as affected by leakage. These examples test different channels: one crosses through outcome construction, the other through derived-input preparation. A clean-looking chronological split can miss both if the record stores only candidate dates. Trace the complete dependency rather than treating date order as a sufficient guarantee.
Record both corrections as changes to the evidence pipeline, with the affected versions and records identified explicitly.
12. State the limits of the split
A clean separation improves interpretability; it does not prove that the later sample represents the future or that the method has useful performance. Conclude with the version tested, the data roles, any leakage found and the implications for the result. If information crossed the boundary, say which conclusion is weakened rather than asserting that a generic warning cures it.
The next lesson examines expectancy and uncertainty. Carry dataset roles into those calculations because an average from development has a different evidential status from an average under a separated fixed evaluation. The arithmetic may be identical while the inference differs. A disciplined researcher preserves both the number and the history of how the number was selected, instead of letting a positive total overwrite the process that produced it.
Fictional version A is designed on periods 1–60 and evaluated under a frozen protocol on later periods. After inspecting the evaluation, the researcher adds a second-close filter to create B. Recalculating B on the same inspected later records is useful development work, but it is not an untouched evaluation of B. Any outcome window crossing the declared boundary also needs explicit handling.
Design a dated development/evaluation plan for fictional candidates. Freeze the complete rule, list knowledge times and identify one derived threshold that must be fitted only on allowed data. Add a revision influenced by evaluation and label the inspected records' new role correctly.
Notes stay in this browser. Avoid sensitive personal information.
Compare your answer · Self-review guide
A strong plan follows actual information use, not folder labels. It preserves chronological and outcome-window boundaries, versions changes and acknowledges that an inspected evaluation becomes development evidence for a revision it influences. It makes no universal split-ratio or profitability claim.
This is an indicative answer, not an automatic assessment of your written work. Check your reasoning, units and assumptions.
What happens when an evaluation result is used to revise a rule?
Continue beyond the lesson

The Gold Trader’s Code
Gabriel Nicolaev — CyGuru
Separate development data from evaluation data
A handbook organised around trading rules, market structure, risk and case studies. A companion for turning separate observations into a written process that can be examined and reviewed.
Design a chronological development-and-evaluation split that preserves version boundaries, prevents information leakage and records how inspected evaluation results affect later research claims. This optional companion provides a wider trading-study perspective. Keep the lesson’s instrument conventions and research evidence separate from the author’s broader framework.
Read with this lesson’s decision question: What happens when an evaluation result is used to revise a rule? Which part of the answer needs primary evidence rather than the companion’s perspective?
Return to Separate development data from evaluation data. Revisit your response to this task: Design a dated development/evaluation plan for fictional candidates. Freeze the complete rule, list knowledge times and identify one derived threshold that must be fitted only on allowed data. Add a revision influenced by evaluation and label the inspected records' new role correctly.
Add your response to the lesson notes ↑How to use this companion
Use the book as a study companion. Keep product specifications, costs, execution assumptions and independent market references as the basis of your demo research.
An editorial pairing by theme, not a book chapter summary. Your lesson and exercise remain available independently of the book.
Sources & further study
Original Academy explanations, fictional examples and exercises. The primary sources below support the lesson concepts; they are not sources for every teaching scenario.
- NBER · Backtesting strategies based on multiple signals ↗
- CFTC · Hindsight and hypothetical results ↗
Reviewed 7 November 2026.
Educational examples only. No live prices, personal investment advice or performance promises.
