You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phase 2 of the simulation/report V2 migration wires up all the economy-wide comparison outputs that V1 currently returns, so the API can serve complete analysis results. Prior to this work, the economy comparison only computed decile impacts and program statistics.
Context
Phase 2 of the simulation/report V2 migration wires up all the economy-wide comparison outputs that V1 currently returns, so the API can serve complete analysis results. Prior to this work, the economy comparison only computed decile impacts and program statistics.
Changes needed
New database tables
budget_summary— per-variable fiscal aggregates (household_tax, household_benefits, household_net_income, etc.)intra_decile_impacts— 5-category income change distribution per decile (11 rows per report)Computation wiring (local + Modal, UK + US)
povertytableinequalitytablebudget_summarytableintra_decile_impactstableResponse structure additions on
EconomicImpactResponsepoverty— list of poverty records (overall + demographic breakdowns)inequality— list of inequality recordsbudget_summary— list of budget summary recordsintra_decile— list of intra-decile impact recordsdetailed_budget— V1-compatible per-program breakdown dictOther
Target branch
app-v2-migration