UK: WAS wealth is not uprated to the spine year
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- data, documentation
Research direction
Start by reading uk_runtime/was_wealth.py and the was_wealth stage in uk/spec/sources.yaml to see where HFINWR8_SUM is split into savings, cash ISA and corporate_wealth, and how the fit named at was_wealth.py:240 feeds the imputation. Compare that against how the engine uprates savings and corporate_wealth from the dataset year, so you can say which WAS amounts sit at survey prices on the spine frame. Done means a maintainer decision on whether uprating belongs in the stage or the engine, plus a short wealth-docs note on what DVSaValR8 and the unemitted other_financial_assets remainder contain, and a corrected round-8 fit name. The documentation ask alone is a reasonable first slice; the uprating question needs project familiarity.
Written by the indexing model from the issue text.
Description
The UK was_wealth stage imputes household wealth from WAS round 8. I can't find any step that uprates those values from WAS survey-period prices to the spine year.
- In the stage:
uk_runtime/was_wealth.pyhas no uprating, and neither does its spec inuk/spec/sources.yaml(stagewas_wealth). Only property is rescaled later (regional property uprating). - In the engine: policyengine-uk uprates
savings,corporate_wealth,private_pension_wealth,gross_financial_wealthandnet_financial_wealthby per-capita GDP, but only from the dataset year onward. - Result:
savings, the ISA balances,corporate_wealth, pensions and financial wealth appear to sit at survey-period prices on a 2024 frame.
Why it matters: an external user flags households with no savings buffer (net financial wealth below two months' disposable income). Disposable income is at spine-year levels and wealth isn't, so the share without a buffer comes out too high. The same bias affects anything comparing wealth with income, including capital in the means tests where the build doesn't record reported capital.
Asks:
- Confirm whether this is intended. If not, uprate the WAS amounts to the spine year, for example by per-capita GDP as the engine does or by a wealth index.
- Documentation:
other_financial_assets, the remainder ofHFINWR8_SUMafter savings, cash ISA and corporate wealth, isn't emitted and its contents aren't documented. Users ask whether bonds, insurance products and endowments, current accounts, and National Savings sit insavingsor the remainder. A short note in the wealth docs on whatDVSaValR8and the remainder contain would answer that. - Minor: the fit name
uk_was_2018_20_wealth(was_wealth.py:240) doesn't match round 8.
Drafted with AI assistance and checked against main at 8740c6f.
- Dominant language
- Python
- Stars
- 0
- Forks
- 6
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 190
Getting set up
- No Dockerfile or Docker Compose file
- No 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/microcosm
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
PolicyEngine/microcosm#1766 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/microcosm#1721 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
PolicyEngine/microcosm#1701 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/microcosm#1638 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
PolicyEngine/microcosm#1431 ·
Maintainers usually reply within 1 day
All issues in PolicyEngine/microcosm
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