Add postgraduate loan interest rate variable and interest rate tests #1423
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
postgraduate_interest_ratevariable (RPI + 3%, same as Plan 2 max)postgraduate.yamlinterest rate parameter (replaced with calculated variable)student_loan_repaymentto handle postgraduate threshold and 6% ratestudent_loan_interest_rateto dispatch to postgraduate rateWhy
Per Commons Library, postgraduate loans have interest at RPI + 3% throughout the loan term - the same formula as Plan 2's maximum rate. This should use the existing
plan_2.additional_rateparameter (0.03) rather than hardcoded values, since they share the same legislative basis and PMR cap.Test plan
Fixes #1422
🤖 Generated with Claude Code