UK: WAS wealth is not uprated to the spine year

オープン
#1,715 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.py has no uprating, and neither does its spec in uk/spec/sources.yaml (stage was_wealth). Only property is rescaled later (regional property uprating).
  • In the engine: policyengine-uk uprates savings, corporate_wealth, private_pension_wealth, gross_financial_wealth and net_financial_wealth by 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:

  1. 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.
  2. Documentation: other_financial_assets, the remainder of HFINWR8_SUM after 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 in savings or the remainder. A short note in the wealth docs on what DVSaValR8 and the remainder contain would answer that.
  3. 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.

主要言語
Python
スター
0
フォーク
6
平均マージ
1日 17時間
マージ済み PR(30日)
190

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/microcosm のほかの issue

PolicyEngine/microcosm の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。