Coverage report: 74%

Files Functions Classes

coverage.py v7.10.7, created at 2025-10-04 20:38 +0000

File class statements missing excluded branches partial coverage
src/stable_yield_lab/__init__.py (no class) 17 0 0 0 0 100%
src/stable_yield_lab/analytics/__init__.py (no class) 2 0 0 0 0 100%
src/stable_yield_lab/analytics/attribution.py AttributionResult 0 0 0 0 0 100%
src/stable_yield_lab/analytics/attribution.py (no class) 140 36 0 46 15 67%
src/stable_yield_lab/analytics/metrics.py Metrics 20 10 0 8 2 43%
src/stable_yield_lab/analytics/metrics.py (no class) 95 11 0 32 7 84%
src/stable_yield_lab/analytics/performance.py RebalanceScenario 0 0 0 0 0 100%
src/stable_yield_lab/analytics/performance.py ScenarioRunResult 0 0 0 0 0 100%
src/stable_yield_lab/analytics/performance.py _ScenarioPath 0 0 0 0 0 100%
src/stable_yield_lab/analytics/performance.py (no class) 149 20 0 56 17 81%
src/stable_yield_lab/analytics/portfolio.py (no class) 92 15 0 30 10 80%
src/stable_yield_lab/analytics/risk.py (no class) 43 8 2 10 4 77%
src/stable_yield_lab/attribution.py (no class) 2 2 0 0 0 0%
src/stable_yield_lab/core/__init__.py (no class) 5 0 0 0 0 100%
src/stable_yield_lab/core/constants.py (no class) 3 0 0 0 0 100%
src/stable_yield_lab/core/models.py Pool 3 0 0 0 0 100%
src/stable_yield_lab/core/models.py PoolReturn 1 0 0 0 0 100%
src/stable_yield_lab/core/models.py (no class) 25 0 0 0 0 100%
src/stable_yield_lab/core/repositories.py PoolRepository 20 2 0 12 1 91%
src/stable_yield_lab/core/repositories.py ReturnRepository 7 1 0 2 1 78%
src/stable_yield_lab/core/repositories.py (no class) 17 0 0 0 0 100%
src/stable_yield_lab/metrics.py (no class) 2 2 0 0 0 0%
src/stable_yield_lab/performance.py (no class) 2 2 0 0 0 0%
src/stable_yield_lab/pipeline/__init__.py HistoricalSource 1 0 0 2 1 67%
src/stable_yield_lab/pipeline/__init__.py Pipeline 20 0 0 6 0 100%
src/stable_yield_lab/pipeline/__init__.py (no class) 22 0 0 4 1 96%
src/stable_yield_lab/portfolio.py (no class) 2 2 0 0 0 0%
src/stable_yield_lab/rebalance.py RebalanceResult 0 0 0 0 0 100%
src/stable_yield_lab/rebalance.py (no class) 86 86 0 28 0 0%
src/stable_yield_lab/reporting/__init__.py (no class) 218 42 0 86 20 74%
src/stable_yield_lab/risk_metrics.py (no class) 2 2 0 0 0 0%
src/stable_yield_lab/risk_scoring.py (no class) 23 0 2 0 0 100%
src/stable_yield_lab/sources/__init__.py DataSource 1 0 0 2 1 67%
src/stable_yield_lab/sources/__init__.py (no class) 11 0 0 0 0 100%
src/stable_yield_lab/sources/base.py HistoricalCSVSource 9 1 0 2 1 82%
src/stable_yield_lab/sources/base.py (no class) 7 0 0 0 0 100%
src/stable_yield_lab/sources/beefy.py BeefySource 29 7 5 8 2 70%
src/stable_yield_lab/sources/beefy.py (no class) 18 0 0 0 0 100%
src/stable_yield_lab/sources/csv.py CSVSource 7 0 0 2 0 100%
src/stable_yield_lab/sources/csv.py (no class) 8 0 0 0 0 100%
src/stable_yield_lab/sources/defillama.py DefiLlamaSource 23 6 5 8 1 71%
src/stable_yield_lab/sources/defillama.py (no class) 15 0 0 0 0 100%
src/stable_yield_lab/sources/morpho.py MorphoSource 23 9 5 8 2 58%
src/stable_yield_lab/sources/morpho.py (no class) 16 0 0 0 0 100%
src/stable_yield_lab/visualization/__init__.py (no class) 2 0 0 0 0 100%
src/stable_yield_lab/visualization/visualizer.py Visualizer 138 18 2 72 29 78%
src/stable_yield_lab/visualization/visualizer.py (no class) 24 0 0 0 0 100%
Total   1350 282 21 424 115 74%

No items found using the specified filter.