Compare commits

...

2 Commits

Author SHA1 Message Date
Chris Diesch
8e58301754 White space cleanup 2025-04-10 20:09:19 -06:00
Chris Diesch
2e1e9418db Added skeleton function for computing MRE from target DTI and consumer income 2025-04-10 20:08:13 -06:00

View File

@ -99,9 +99,6 @@ def compute_mre(home_value: float,
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
# get counted toward the loss
at_risk_value -= risk_pool_factor
# start putting together the pieces
mre = income_interruption_buffer
@ -112,6 +109,11 @@ def compute_mre(home_value: float,
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__':