lookahead-bias-paper/paper/sections/04_the_lookahead_bug.tex
Sentinel Research af990122d1
Some checks failed
noise-harness / run-noise-harness (push) Failing after 1m54s
Hito 1: scaffold del paper (estructura, LaTeX revtex4-2, CI, licencias duales)
2026-06-24 07:05:37 +02:00

17 lines
1,004 B
TeX

\section{The K12 Lookahead Bug}
\label{sec:the-bug}
% TODO content notes (fill in once audit/input/ is populated and audited):
% - Identify the exact line(s) in backtester.py responsible for the leak.
% - Show a minimal before/after diff.
% - Explain mechanically why the genetic algorithm search (Iter12, 15
% hyperparameters) was able to find and exploit this leak: GA optimizes
% whatever signal is available, including backtest-mechanics artifacts: if
% the fitness function rewards future-peeking, the search converges on
% parameters that maximize the exploit, not real predictive skill.
% - Quantify the leak's effect size on the original (real BTCUSDT) data:
% Sharpe under the bug vs Sharpe under time_machine.py (the honest engine),
% same hyperparameters, same data.
% - This section depends on the forensic files under audit/input/code/ —
% do not fill in specifics until that audit is complete (see MANIFEST.md
% for the exact commit hash and dataset hash being audited).