Coverage report: 100%

Files Functions Classes

coverage.py v7.13.5, created at 2026-04-02 17:47 +0000

File function   statements missing excluded   coverage
src / basanos / __init__.py (no function)   16 0 0   100%
src / basanos / _deprecation.py warn_deprecated   4 0 0   100%
src / basanos / _deprecation.py (no function)   3 0 0   100%
src / basanos / _logging.py _to_serialisable   7 0 0   100%
src / basanos / _logging.py JSONFormatter.__init__   1 0 0   100%
src / basanos / _logging.py JSONFormatter.format   7 0 0   100%
src / basanos / _logging.py (no function)   10 0 0   100%
src / basanos / exceptions.py NonSquareMatrixError.__init__   3 0 0   100%
src / basanos / exceptions.py DimensionMismatchError.__init__   3 0 0   100%
src / basanos / exceptions.py SingularMatrixError.__init__   4 0 0   100%
src / basanos / exceptions.py InsufficientDataError.__init__   4 0 0   100%
src / basanos / exceptions.py MissingDateColumnError.__init__   2 0 0   100%
src / basanos / exceptions.py ShapeMismatchError.__init__   3 0 0   100%
src / basanos / exceptions.py ColumnMismatchError.__init__   3 0 0   100%
src / basanos / exceptions.py NonPositivePricesError.__init__   2 0 0   100%
src / basanos / exceptions.py ExcessiveNullsError.__init__   4 0 0   100%
src / basanos / exceptions.py MonotonicPricesError.__init__   2 0 0   100%
src / basanos / exceptions.py StreamStateCorruptError.__init__   3 0 0   100%
src / basanos / exceptions.py (no function)   26 0 13   100%
src / basanos / math / __init__.py (no function)   13 0 0   100%
src / basanos / math / _config.py SlidingWindowConfig._validate_max_components   4 0 0   100%
src / basanos / math / _config.py BasanosConfig._reject_legacy_flat_kwargs   7 0 1   100%
src / basanos / math / _config.py BasanosConfig.replace   2 0 0   100%
src / basanos / math / _config.py BasanosConfig.covariance_mode   1 0 0   100%
src / basanos / math / _config.py BasanosConfig.window   3 0 0   100%
src / basanos / math / _config.py BasanosConfig.n_factors   3 0 0   100%
src / basanos / math / _config.py BasanosConfig.report   2 0 0   100%
src / basanos / math / _config.py BasanosConfig.corr_greater_than_vola   4 0 0   100%
src / basanos / math / _config.py (no function)   51 0 2   100%
src / basanos / math / _config_report.py _constraint_str   12 0 0   100%
src / basanos / math / _config_report.py _fmt_value   7 0 0   100%
src / basanos / math / _config_report.py _params_table_html   10 0 0   100%
src / basanos / math / _config_report.py _lambda_sweep_fig   11 0 0   100%
src / basanos / math / _config_report.py _guidance_table_html   2 0 0   100%
src / basanos / math / _config_report.py _figure_div   1 0 0   100%
src / basanos / math / _config_report.py ConfigReport.to_html   16 0 0   100%
src / basanos / math / _config_report.py ConfigReport.save   6 0 0   100%
src / basanos / math / _config_report.py (no function)   23 0 2   100%
src / basanos / math / _engine_diagnostics.py _DiagnosticsMixin.condition_number   11 0 0   100%
src / basanos / math / _engine_diagnostics.py _DiagnosticsMixin.effective_rank   20 0 0   100%
src / basanos / math / _engine_diagnostics.py _DiagnosticsMixin.solver_residual   24 0 0   100%
src / basanos / math / _engine_diagnostics.py _DiagnosticsMixin.signal_utilisation   22 0 0   100%
src / basanos / math / _engine_diagnostics.py (no function)   17 0 2   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin._ic_series   20 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.ic   1 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.rank_ic   1 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.ic_mean   3 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.ic_std   3 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.icir   5 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.rank_ic_mean   3 0 0   100%
src / basanos / math / _engine_ic.py _SignalEvaluatorMixin.rank_ic_std   3 0 0   100%
src / basanos / math / _engine_ic.py (no function)   21 0 2   100%
src / basanos / math / _engine_solve.py _SolveMixin._compute_mask   1 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._check_signal   3 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._scale_to_cash   2 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._row_early_check   7 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._denom_guard_yield   5 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._compute_position   10 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._apply_turnover_constraint   8 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._replay_positions   8 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._iter_matrices   32 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._batched_solve_group   14 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._iter_solve_ewma_batched   19 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin._iter_solve   17 0 0   100%
src / basanos / math / _engine_solve.py _SolveMixin.warmup_state   12 0 0   100%
src / basanos / math / _engine_solve.py (no function)   52 0 2   100%
src / basanos / math / _ewm_corr.py _corr_from_ewm_accumulators   25 0 0   100%
src / basanos / math / _ewm_corr.py _ewm_corr_with_final_state   41 0 0   100%
src / basanos / math / _ewm_corr.py ewm_corr   2 0 0   100%
src / basanos / math / _ewm_corr.py (no function)   13 0 0   100%
src / basanos / math / _factor_model.py FactorModel.__post_init__   9 0 0   100%
src / basanos / math / _factor_model.py FactorModel.n_assets   1 0 0   100%
src / basanos / math / _factor_model.py FactorModel.n_factors   1 0 0   100%
src / basanos / math / _factor_model.py FactorModel.covariance   1 0 0   100%
src / basanos / math / _factor_model.py FactorModel.woodbury_condition_number   7 0 0   100%
src / basanos / math / _factor_model.py FactorModel.solve   15 0 0   100%
src / basanos / math / _factor_model.py FactorModel.from_returns   13 0 0   100%
src / basanos / math / _factor_model.py (no function)   22 0 0   100%
src / basanos / math / _linalg.py valid   4 0 0   100%
src / basanos / math / _linalg.py is_positive_definite   5 0 0   100%
src / basanos / math / _linalg.py _check_and_warn_condition   3 0 0   100%
src / basanos / math / _linalg.py _cholesky_solve   5 0 0   100%
src / basanos / math / _linalg.py inv_a_norm   14 0 0   100%
src / basanos / math / _linalg.py solve   13 0 0   100%
src / basanos / math / _linalg.py (no function)   13 0 0   100%
src / basanos / math / _signal.py shrink2id   1 0 0   100%
src / basanos / math / _signal.py vol_adj   4 0 0   100%
src / basanos / math / _signal.py (no function)   5 0 0   100%
src / basanos / math / _stream.py _ewm_std_from_state   13 0 0   100%
src / basanos / math / _stream.py _ewm_vol_accumulators_from_batch   10 0 0   100%
src / basanos / math / _stream.py BasanosStream.__init__   3 0 0   100%
src / basanos / math / _stream.py BasanosStream.__setattr__   1 0 0   100%
src / basanos / math / _stream.py BasanosStream.assets   1 0 0   100%
src / basanos / math / _stream.py BasanosStream.from_warmup   43 0 0   100%
src / basanos / math / _stream.py BasanosStream.step   154 0 0   100%
src / basanos / math / _stream.py BasanosStream.save   10 0 0   100%
src / basanos / math / _stream.py BasanosStream.load   22 0 0   100%
src / basanos / math / _stream.py (no function)   60 0 2   100%
src / basanos / math / optimizer.py _validate_inputs   29 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.__post_init__   1 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.assets   1 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.ret_adj   1 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.vola   1 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.cor   4 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.cor_tensor   1 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.cash_position   8 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.position_status   2 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.risk_position   6 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.position_leverage   4 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.portfolio   4 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.sharpe_at_shrink   3 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.sharpe_at_window_factors   3 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.naive_sharpe   3 0 0   100%
src / basanos / math / optimizer.py BasanosEngine.config_report   2 0 0   100%
src / basanos / math / optimizer.py (no function)   49 0 2   100%
Total     1285 0 28   100%

No items found using the specified filter.