Compare commits

..

No commits in common. "add-mre-calculation-from-income" and "main" have entirely different histories.

View File

@ -99,6 +99,9 @@ def compute_mre(home_value: float,
risk_pool_factor = get_risk_pool_health() * default_rate_risk_pool_loss risk_pool_factor = get_risk_pool_health() * default_rate_risk_pool_loss
# since we don't actually lose anything in the risk pool, it does not # since we don't actually lose anything in the risk pool, it does not
# get counted toward the loss # get counted toward the loss
at_risk_value -= risk_pool_factor at_risk_value -= risk_pool_factor
# start putting together the pieces # start putting together the pieces
mre = income_interruption_buffer mre = income_interruption_buffer
@ -109,11 +112,6 @@ def compute_mre(home_value: float,
return mre return mre
def compute_from_target_dti(consumer_income: float,
home_price: float,
comsumer_fico: int,
target_dti: float) -> float:
return None
#if __name__ == '__main__': #if __name__ == '__main__':