This section is at https://rollingedition.com/time-series-forecasting/backtest-without-looking-ahead#check-a-backtest-for-leakage.