Coverage for aether_quant/research.py: 100%
18 statements
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-22 12:55 +0000
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-22 12:55 +0000
1"""Research and audit tools (V6.4.3): one report for any signal, the probability of backtest overfitting, factor
2baselines and spanning, overfitting and leakage audits, the simulator / Lean gap, research probes, the trial registry."""
4from evaluation.alpha_behaviour import (
5 alpha_report,
6 breadth,
7 half_life,
8 ic_by_group,
9 ic_by_period,
10 ic_lag_profile,
11 ic_term_structure,
12 premia_exposure,
13 rank_weights,
14 session_rank_ic,
15 spread_after_costs,
16)
17from evaluation.alpha_behaviour import forward_returns as horizon_forward_returns
18from evaluation.alpha_behaviour import ic_summary as ic_hac_summary
19from evaluation.alpha_proof import (
20 alpha_proof_report,
21 alpha_regression,
22 benchmark_daily_returns,
23 deflated_sharpe_from_inputs,
24 fresh_sessions,
25 measured_annualization,
26 period_report,
27 r_alpha1,
28 sharpe,
29 sharpe_bootstrap_ci,
30 strategy_daily_returns,
31 to_sessions,
32 window_report,
33)
34from evaluation.dataset_io import (
35 read_dataset_columns,
36 read_dataset_rows,
37)
38from evaluation.factor_spanning import FACTOR_COLUMNS, build_factor_returns, build_factor_scores, factor_spanning
39from evaluation.leakage_audit import audit_leakage, identity_check, label_shuffle_check, single_feature_ic, tail_nan_check
40from evaluation.model_book_research import (
41 book_trials,
42 candidate_pool,
43 control_trials,
44 daily_rank,
45 install_verdict,
46 installed_score_tables,
47 is_eligible,
48 load_score_table,
49 mix_trials,
50 model_settings,
51 pick_candidate,
52 rank_ic_diagnostics,
53 universe_tickers,
54)
55from evaluation.overfit_diagnostics import head_ic, learning_curve, training_gap_report
56from evaluation.pbo import probability_of_backtest_overfitting
57from evaluation.premia_research import (
58 ResearchContext,
59 annual_sharpe,
60 annual_volatility,
61 build_context,
62 class_breadth,
63 max_drawdown,
64 nulls_for,
65 passes_sharpe_clauses,
66 phase_offsets,
67 placebo_p_value,
68 placebo_sharpes,
69 score_sleeve,
70 selection_gate,
71 weights_for,
72)
73from evaluation.research_harness import block_bootstrap_mean_ci, evaluate_signal, ic_summary
74from evaluation.research_probes import fit_hgb_rank, fit_ridge_rank, load_research_frame, predict_scores
75from evaluation.sim_lean_calibration import daily_gap_breakdown, gap_report, rung_attribution
76from evaluation.trial_ledger import append_trial, candidate_ids, deflation_inputs, legacy_trials, project_deflation_inputs, read_ledger
77from evaluation.trial_registry import build_registry, collect_trials, dedupe
78from evaluation.wide_context import (
79 WideCell,
80 calendar_rows,
81 crypto_cell,
82 crypto_ic,
83 daily_returns_for,
84 equity_cell,
85 lag_onto,
86 liquid_mask_for_cell,
87 load_ohlcv,
88 load_raw_closes,
89 path_config,
90 project_tickers,
91 read_info,
92 sharpe_at_sessions,
93 signal_ic_t,
94 slice_market,
95 wide_config_for,
96)
98__all__ = [
99 "project_deflation_inputs",
100 "FACTOR_COLUMNS",
101 "ResearchContext",
102 "WideCell",
103 "alpha_proof_report",
104 "alpha_regression",
105 "alpha_report",
106 "annual_sharpe",
107 "annual_volatility",
108 "append_trial",
109 "audit_leakage",
110 "benchmark_daily_returns",
111 "block_bootstrap_mean_ci",
112 "book_trials",
113 "breadth",
114 "build_context",
115 "build_factor_returns",
116 "build_factor_scores",
117 "build_registry",
118 "calendar_rows",
119 "candidate_ids",
120 "candidate_pool",
121 "class_breadth",
122 "collect_trials",
123 "control_trials",
124 "crypto_cell",
125 "crypto_ic",
126 "daily_gap_breakdown",
127 "daily_rank",
128 "session_rank_ic",
129 "daily_returns_for",
130 "dedupe",
131 "deflated_sharpe_from_inputs",
132 "deflation_inputs",
133 "equity_cell",
134 "evaluate_signal",
135 "factor_spanning",
136 "fit_hgb_rank",
137 "fit_ridge_rank",
138 "fresh_sessions",
139 "gap_report",
140 "half_life",
141 "head_ic",
142 "horizon_forward_returns",
143 "ic_by_group",
144 "ic_by_period",
145 "ic_hac_summary",
146 "ic_lag_profile",
147 "ic_summary",
148 "ic_term_structure",
149 "identity_check",
150 "install_verdict",
151 "installed_score_tables",
152 "is_eligible",
153 "label_shuffle_check",
154 "lag_onto",
155 "learning_curve",
156 "legacy_trials",
157 "liquid_mask_for_cell",
158 "load_ohlcv",
159 "load_raw_closes",
160 "load_research_frame",
161 "load_score_table",
162 "max_drawdown",
163 "measured_annualization",
164 "mix_trials",
165 "model_settings",
166 "nulls_for",
167 "passes_sharpe_clauses",
168 "path_config",
169 "period_report",
170 "phase_offsets",
171 "pick_candidate",
172 "placebo_p_value",
173 "placebo_sharpes",
174 "predict_scores",
175 "premia_exposure",
176 "probability_of_backtest_overfitting",
177 "project_tickers",
178 "r_alpha1",
179 "rank_ic_diagnostics",
180 "rank_weights",
181 "read_dataset_columns",
182 "read_dataset_rows",
183 "read_info",
184 "read_ledger",
185 "rung_attribution",
186 "score_sleeve",
187 "selection_gate",
188 "sharpe",
189 "sharpe_at_sessions",
190 "sharpe_bootstrap_ci",
191 "signal_ic_t",
192 "single_feature_ic",
193 "slice_market",
194 "spread_after_costs",
195 "strategy_daily_returns",
196 "tail_nan_check",
197 "to_sessions",
198 "training_gap_report",
199 "universe_tickers",
200 "weights_for",
201 "wide_config_for",
202 "window_report",
203]