Recompute freed minimums each month in simulate_payoff #29
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: low
Category: bug
Location:
debts.py:58-93Problem
Freed minimums when a debt hits zero are added back to extra but total_minimum was computed once up front, slightly delaying the payoff month immediately after each payoff event.
Suggested fix
Recompute total_minimum from
min(minimum, balance)inside the monthly loop.Filed by automated code review.