Skip to content

Commit 389787e

Browse files
committed
Refactor to a more object-oriented design
- Replaced RiskPeriod class by CalcRiskPeriod class to centralize shared computations and dynamic metric instantiation. - Improved efficiency by reusing shared computations across metrics. - Added InterpolationStrategy and ImpactCalcStrategy classes to abstract that part of the computation
1 parent 10ca243 commit 389787e

File tree

2 files changed

+614
-529
lines changed

2 files changed

+614
-529
lines changed

0 commit comments

Comments
 (0)