From ed713fdf4015eca17d3a0810bab7c6f859463406 Mon Sep 17 00:00:00 2001 From: agentson Date: Mon, 2 Mar 2026 02:24:01 +0900 Subject: [PATCH] style: wrap long helper signature in backtest pipeline --- src/analysis/backtest_pipeline.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/analysis/backtest_pipeline.py b/src/analysis/backtest_pipeline.py index ce27f1f..da39cc5 100644 --- a/src/analysis/backtest_pipeline.py +++ b/src/analysis/backtest_pipeline.py @@ -236,7 +236,11 @@ def _m1_pred(train_labels: Sequence[int]) -> int: return train_labels[-1] -def _build_execution_model(*, cost_model: BacktestCostModel, fold_seed: int) -> BacktestExecutionModel: +def _build_execution_model( + *, + cost_model: BacktestCostModel, + fold_seed: int, +) -> BacktestExecutionModel: return BacktestExecutionModel( ExecutionAssumptions( slippage_bps_by_session=dict(cost_model.slippage_bps_by_session or {}),