Skip to content

Create independent checks for the EAEDC and TAFDC values #5908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PavelMakarchuk opened this issue Apr 25, 2025 · 1 comment · Fixed by #5916
Closed

Create independent checks for the EAEDC and TAFDC values #5908

PavelMakarchuk opened this issue Apr 25, 2025 · 1 comment · Fixed by #5916
Assignees
Labels
states/ma Massachusetts

Comments

@PavelMakarchuk
Copy link
Collaborator

We should have 3 new variables
ma_tafdc_if_eaedc_ineligible - checks the amount of tafdc if eaedc is 0
ma_eaedc_if_tafdc_ineligible - checks the amount of eaedc if tafdc 0
ma_tafdc_larger_than_eaedc - checks whether ma_tafdc_if_eaedc_ineligible > ma_eaedc_if_eaedc_ineligible

Both ma_eaedc and ma_tafdc should be defined for ma_tafdc_larger_than_eaedc

This will allow us to have mutual exclusivity based on the programs

@PavelMakarchuk
Copy link
Collaborator Author

PavelMakarchuk commented Apr 25, 2025

We can use this as an integration test:

- name: Integration test, pregnant single parent with rent and one disabled child
  period: 2025-01
  input:
    people:
      person1:
        age: 19
        is_pregnant: true
        employment_income: 9_600
        rent: 1_200
        weekly_hours_worked_before_lsr: 13.3
      person2:
        age: 4
        is_disabled: true
    spm_units:
      spm_unit:
        members: [person1, person2]
        ma_eaedc_living_arrangement: A
    tax_units:
      tax_unit:
        members: [person1, person2]
    households:
      household:
        members: [person1, person2]
        state_code: MA
        #is_in_public_housing: true
  output:
    ma_tcap_gross_earned_income: 
    ma_tafdc_countable_earned_income: 
    ma_tafdc_applicable_income_grant_amount:
    ma_tafdc_eligible:
    ma_tafdc_payment_standard: 
    ma_tafdc_eligible_dependent: 
    ma_tafdc_dependent_care_deduction: 
    ma_tafdc: 
    ma_eaedc_eligible:
    ma_eaedc_immigration_status_eligible:
    ma_eaedc_financial_eligible: 
    ma_eaedc_non_financial_eligible:
    ma_eaedc_income_eligible:
    ma_eaedc_assets_limit_eligible:
    ma_eaedc_standard_assistance:
    ma_eaedc_net_income: 
    ma_eaedc: 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
states/ma Massachusetts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants