\section{Related Work} \label{sec:related-work} % TODO content notes: % - Lookahead bias / data leakage in backtesting: cite the standard % references (e.g. Bailey & Lopez de Prado on backtest overfitting, % "pseudo-mathematics" critiques, Probability of Backtest Overfitting). % - Vectorized vs event-driven backtesting engines: tradeoffs in speed vs % correctness; vectorized engines are more prone to index-alignment bugs % because there is no explicit "current bar" boundary enforced by the loop. % - Synthetic-data / null-model testing in finance: permutation tests, % Monte Carlo null models, white-noise sanity checks as a general technique % to detect overfit or leaky strategies before risking capital. % - Position this paper: distinct from prior work in that it (a) documents a % live, reproducible incident with full forensic trail, and (b) packages % the diagnostic as a minimal, CI-runnable harness (Section 5) rather than % a one-off statistical test.