The concept
Verification of rules on past data, using only available information at that time.
A worked example
Apply the same rule to a number of historical cases, including costs and constraints.
The important limitation
Using the future or choosing only the beautiful cases makes the test misleading.
What is look-ahead bias?
A test is invalid if it uses information unavailable at decision time.
Hide the future and timestamp every data point used by the rule.
You mark support after seeing the subsequent bounce.
Check your reasoning
Apply the same rule to a number of historical cases, including costs and constraints.
Show the explanation
Verification of rules on past data, using only available information at that time.
Using the future or choosing only the beautiful cases makes the test misleading.