Skip to content

Expose axes in household calculators#363

Draft
MaxGhenis wants to merge 1 commit into
mainfrom
codex/household-axes-refresh
Draft

Expose axes in household calculators#363
MaxGhenis wants to merge 1 commit into
mainfrom
codex/household-axes-refresh

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • add axes support to the US and UK calculate_household helpers
  • normalize flat or nested axis specs and default missing periods to the household calculation year
  • return per-axis series for person and group entity results

Why

The app and Python household calculators need the same axis-grid behavior for simple one-household charts. The previous draft PR for this work, #322, is conflict-stuck against current main; this branch refreshes the same useful change onto the current package surface.

Validation

  • bash .github/check-changelog.sh
  • ruff format --check .
  • ruff check .
  • uv run --extra dev python -m pytest tests/test_household_impact.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant