Economic assumption indices stop at 2039, freezing everything uprated by them

Aperta
#2,755 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@MaxGhenis ci sta già lavorando.

Dal 30/10/2026.

  • #2756 di @MaxGhenis — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Start with create_economic_assumption_indices and trace how its growth series determine the required index years. Done looks like the indices extend through the growth series, so uprated values and weighted totals no longer freeze after 2039; a linked pull request is already open.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

create_economic_assumption_indices builds every cumulative index with range(start_year + 1, 2040), while the growth series run to 2074. A Parameter carries its last value forward rather than raising, so everything uprated by an index stops moving after 2039 with no error.

On main at 37591f4dc:

  • the new State Pension reads £363.70 a week in every year from 2039 to 2074, while yoy_growth.triple_lock keeps running at 3.8%;
  • the personal allowance reads £15,070 in 2039, 2040 and 2050;
  • inputs that grow by a variable.uprating index after PROJECTION_END_YEAR freeze too, so weighted totals go flat: gov_tax reads £1,500bn in every year from 2040 to 2043.

The index end year should come from the growth series. af5d07a37 already extended fiscal-year conversion past 2040, so that half needs no change.

Lingua principale
Python
Stelle
53
Fork
34
Merge medio
3g 21h
PR unite (30g)
335

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-uk

Tutte le issue di PolicyEngine/policyengine-uk

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.