Compare commits
2 Commits
main
...
add-mre-ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e58301754 | ||
|
|
2e1e9418db |
@ -99,9 +99,6 @@ 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
|
||||||
@ -112,6 +109,11 @@ 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__':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user