Skip to content

Add entities#23

Merged
MaxGhenis merged 10 commits intomasterfrom
entities
Aug 8, 2021
Merged

Add entities#23
MaxGhenis merged 10 commits intomasterfrom
entities

Conversation

@nikhilwoodruff
Copy link
Copy Markdown
Collaborator

@nikhilwoodruff nikhilwoodruff commented Aug 7, 2021

This adds the person, tax unit, family, SPM unit and household entities, and switches to using the BaseCPS dataset in openfisca-data (relevant PR).

@nikhilwoodruff nikhilwoodruff self-assigned this Aug 7, 2021
@MaxGhenis MaxGhenis merged commit 5c6fa88 into master Aug 8, 2021
@nikhilwoodruff nikhilwoodruff deleted the entities branch August 22, 2021 09:25
hua7450 added a commit that referenced this pull request Mar 10, 2026
Maryland SUA fixes (per MD DHS Action Transmittals):
- Fix effective dates from October to January (MD uses Jan 1 cycle)
- Fix wrong value: 2023-01-01 was 551, should be 505 (AT #23-03)
- Add missing entries: 2020-01-01: 392, 2025-01-01: 557
- Add FY2026 alignment comment across all 10 affected YAML files
- Fix limited/active.yaml date to match MD's LUA data start

Bug fix — household size floor:
- Add max_(1, ...) to capped_size in snap_standard_utility_allowance,
  snap_limited_utility_allowance, and snap_individual_utility_allowance
  to prevent ParameterNotFoundError when spm_unit_size is 0

New tests:
- Integration: AK Anchorage county → AK_C region → $609 SUA
- Wrong type returns zero: SUA returns 0 for IUA type, LUA returns 0 for SUA type
- Size=0 edge case: confirms floor guard works

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants