Untitled
unknown
plain_text
a year ago
516 B
2
Indexable
Never
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 )