student_loan_balance has no uprating, but caps repayments and enters net_wealth
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start from variables/gov/hmrc/student_loans/student_loan_balance.py and look at how uprating is declared on comparable debt variables such as mortgage_debt and consumer_debt. Then read the two consumers named in the issue, student_loan_repayment.py (the cap around line 27) and net_wealth.py (line 21), to see the effect of holding the balance flat. Done means a maintainer has chosen one of the three options and the variable plus its documentation reflects that choice; the modelling decision blocks any patch, so a newcomer should not start coding before it is settled.
Written by the indexing model from the issue text.
Description
student_loan_balance (variables/gov/hmrc/student_loans/student_loan_balance.py) has no uprating, so a dataset's balance is held flat in every later year.
It matters in two places:
student_loan_repaymentcaps repayments at the balance (student_loan_repayment.py:27), so a stale balance can cap repayments too early.net_wealthsubtracts it (net_wealth.py:21) next tomortgage_debtandconsumer_debt, which are uprated by per-capita GDP. The debts therefore drift apart in later years.
A real balance grows with interest (RPI-linked) and falls with repayments, so no single index is exactly right. Options:
- Per-capita GDP, to match the other household debts.
- An RPI-based index, closer to how interest accrues.
- Leave it flat, but document that choice on the variable.
This needs a modelling decision, so I haven't opened a PR.
Drafted with AI assistance and checked against main at 70014b3.
- Dominant language
- Python
- Stars
- 53
- Forks
- 34
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 100
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-uk
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PolicyEngine/policyengine-uk#2948 ·
Maintainers usually reply within 3 days
-
Let the shard-assignment properties draw up to 16 shardsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
PolicyEngine/policyengine-uk#2920 · 1 assignee ·
Maintainers usually reply within 3 days
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's PensionPossibly taken @juaristi22 claimed this 24 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/policyengine-uk#2792 · 1 comment · 1 assignee ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
PolicyEngine/policyengine-uk#2947 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
PolicyEngine/policyengine-uk#2944 ·
Maintainers usually reply within 3 days
All issues in PolicyEngine/policyengine-uk
Similar issues
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainers usually reply within 3 days
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePossibly taken @houzhongyu claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days