Untitled
Anonymous
plain_text
04/28/2023 9:11 AM
688 B
14
Indexable
def get_model_exp_curve_scaling_factor(
self,
excess_deductible_by_tiv: float,
limit_by_tiv: float,
) -> float:
excess_deductible_by_tiv_exposure_curve = self.get_exposure_curve_factor(
lookup_value=excess_deductible_by_tiv
)
limit_by_tiv_exposure_curve = self.get_exposure_curve_factor(
lookup_value=limit_by_tiv
)
return max(
limit_by_tiv_exposure_curve - excess_deductible_by_tiv_exposure_curve, 0
)
Editor is loading...