Skip to content

Add microsimulation impacts tab for 2025 Oregon Kicker #1

@DTrim99

Description

@DTrim99

Summary

Add a third tab showing aggregate microsimulation impacts of the 2025 Oregon Kicker credit, following the pattern established in the Keep Your Pay Act calculator.

Background

Analysis has been completed in analysis-notebooks#130 showing:

  • Fiscal impact (total cost to state)
  • Distributional impact by income decile
  • Poverty impact

Since the kicker is a single statewide reform with a fixed rate (9.863%), results can be precomputed and stored in CSV files for instant loading.

Implementation

1. Generate precomputed data CSVs

Following the Keep Your Pay Act pattern, create CSVs in frontend/public/data/:

  • metrics.csv - Summary metrics (total cost, beneficiary count, average benefit)
  • distributional_impact.csv - Impact by income decile (relative % and absolute $)
  • winners_losers.csv - Population by income change threshold
  • poverty_impact.csv - Poverty rate changes (overall, child, deep poverty)

Use the analysis from the notebook to generate these files.

2. Create AggregateImpact component

Build a component similar to keep-your-pay-act/AggregateImpact.tsx that displays:

  • Fiscal Impact: Total state cost, number of beneficiaries, average credit amount
  • Distributional Impact: Bar chart showing benefit by income decile (toggle relative/absolute)
  • Winners & Losers: Breakdown of who gains and by how much
  • Poverty Impact: Percentage point changes in poverty rates

3. Add tab to main page

Add "Statewide impact" as a third tab alongside "How it works" and "Household calculator".

Acceptance Criteria

  • CSV data files generated from microsimulation analysis
  • AggregateImpact component loads and displays data
  • Third tab added to page navigation
  • Charts match PolicyEngine design system (teal colors, consistent formatting)
  • Mobile responsive layout

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions