UK: WAS wealth is not uprated to the spine year

Abierto
#1,715 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
32/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
0
Forks
6
Merge medio
1 d 17 h
PR fusionados (30 d)
190

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/microcosm

Todos los issues de PolicyEngine/microcosm

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.