Skip to content

Construction debt draws accrue interest from their draw dates - #61

Merged
dylanjm merged 2 commits into
mainfrom
fix/48-draw-date-accrual
Oct 28, 2026
Merged

dylanjm merged 2 commits into
mainfrom
fix/48-draw-date-accrual

Conversation

@j-bryan

@j-bryan j-bryan commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #48

Changes:

  • For a debt servicing period [start, end), a debt drawn mid period (start <= draw date < end) begins accruing interest during the period in which it was drawn
  • Updates debt accrual timing to match the Excel YEARFRAC behavior
  • Interest gets booked on end, which is the first time period after the [start, end) servicing period
  • Adds tests with hand-calculated gold values to encode this behavior
  • Updates ConstructionFinancing and EnergyProject.construction_financing APIs to include a servicing_period to manually specify an interval at which construction-period debt interest is booked, defaulting to the construction spend period.

@j-bryan j-bryan changed the title fix/48 draw date accrual Construction debt draws accrue interest from their draw dates Oct 27, 2026
@j-bryan
j-bryan added this pull request to stack #63 October 28, 2026 14:52
@dylanjm
dylanjm merged commit d39fc60 into main Oct 28, 2026
1 check passed
@dylanjm
dylanjm deleted the fix/48-draw-date-accrual branch October 28, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Construction debt draws don't accrue interest until the next servicing boundary

2 participants