policyengine-us 1.409.0__py3-none-any.whl → 1.411.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of policyengine-us might be problematic. Click here for more details.

Files changed (101) hide show
  1. policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/brackets.yaml +42 -0
  2. policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/in_effect.yaml +10 -0
  3. policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/income_eligibility.yaml +28 -0
  4. policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/brackets.yaml +28 -0
  5. policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/in_effect.yaml +10 -0
  6. policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/income_eligibility.yaml +28 -0
  7. policyengine_us/parameters/gov/states/ma/eec/README.md +1 -0
  8. policyengine_us/parameters/gov/states/ma/eec/ccfa/README.md +1 -0
  9. policyengine_us/parameters/gov/states/ma/eec/ccfa/activity_requirements/weekly_hours.yaml +11 -0
  10. policyengine_us/parameters/gov/states/ma/eec/ccfa/activity_requirements/work_exempt_age.yaml +11 -0
  11. policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/child.yaml +13 -0
  12. policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/disabled_child.yaml +14 -0
  13. policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/infant.yaml +11 -0
  14. policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/school_age.yaml +11 -0
  15. policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/toddler.yaml +11 -0
  16. policyengine_us/parameters/gov/states/ma/eec/ccfa/assets/limit.yaml +11 -0
  17. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml +69 -0
  18. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_ratio_increments.yaml +39 -0
  19. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml +11 -0
  20. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml +11 -0
  21. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml +11 -0
  22. policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml +11 -0
  23. policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources.yaml +30 -0
  24. policyengine_us/parameters/gov/states/ma/eec/ccfa/income/smi_rate/new_applicants.yaml +15 -0
  25. policyengine_us/parameters/gov/states/ma/eec/ccfa/income/smi_rate/redetermination.yaml +12 -0
  26. policyengine_us/parameters/gov/states/ma/eec/ccfa/qualified_immigration_statuses.yaml +19 -0
  27. policyengine_us/parameters/gov/states/ma/eec/ccfa/region/metro_and_boston_metro.yaml +15 -0
  28. policyengine_us/parameters/gov/states/ma/eec/ccfa/region/northeast.yaml +16 -0
  29. policyengine_us/parameters/gov/states/ma/eec/ccfa/region/western_central_and_southeast.yaml +21 -0
  30. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/amount_ratio.yaml +23 -0
  31. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/center_based/early_education.yaml +46 -0
  32. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/center_based/school_age.yaml +59 -0
  33. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/age_threshold.yaml +12 -0
  34. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/older.yaml +24 -0
  35. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/younger.yaml +24 -0
  36. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/head_start_partner_and_kindergarten.yaml +55 -0
  37. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/informal_child_care/child_home.yaml +14 -0
  38. policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/informal_child_care/relative_home.yaml +14 -0
  39. policyengine_us/reforms/aca/__init__.py +6 -0
  40. policyengine_us/reforms/aca/aca_ptc_additional_bracket.py +126 -0
  41. policyengine_us/reforms/aca/aca_ptc_simplified_bracket.py +127 -0
  42. policyengine_us/reforms/reforms.py +12 -0
  43. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.yaml +31 -0
  44. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.yaml +104 -0
  45. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccsp_copay_level.yaml +44 -0
  46. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.yaml +111 -0
  47. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_asset_eligible.yaml +15 -0
  48. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible.yaml +44 -0
  49. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible_child.yaml +43 -0
  50. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_immigration_status_eligible.yaml +23 -0
  51. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_income_eligible.yaml +42 -0
  52. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/enum_variables/ma_ccfa_child_age_category.yaml +87 -0
  53. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa.yaml +249 -0
  54. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_fpg.yaml +26 -0
  55. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_maximum_benefit_amount.yaml +209 -0
  56. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_region.yaml +23 -0
  57. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_early_education_reimbursement.yaml +10 -0
  58. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_school_age_reimbursement.yaml +11 -0
  59. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_family_child_care_reimbursement.yaml +10 -0
  60. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_head_start_partner_and_kindergarten_reimbursement.yaml +10 -0
  61. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_informal_child_care_reimbursement.yaml +10 -0
  62. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_maximum_reimbursement.yaml +27 -0
  63. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_reimbursement_ratio.yaml +31 -0
  64. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_uncapped_daily_payment.yaml +8 -0
  65. policyengine_us/tests/policy/contrib/aca/ptc_additional_bracket.yaml +117 -0
  66. policyengine_us/tests/policy/contrib/aca/ptc_simplified_bracket.yaml +117 -0
  67. policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py +27 -0
  68. policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py +30 -0
  69. policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.py +35 -0
  70. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.py +43 -0
  71. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_asset_eligible.py +15 -0
  72. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible.py +34 -0
  73. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible_child.py +23 -0
  74. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_immigration_status_eligible.py +19 -0
  75. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_income_eligible.py +27 -0
  76. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa.py +25 -0
  77. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_care_provider_type.py +22 -0
  78. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_child_age_category.py +45 -0
  79. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income.py +15 -0
  80. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_enrolled.py +9 -0
  81. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py +27 -0
  82. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_is_in_relatives_home_care.py +9 -0
  83. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_maximum_benefit_amount.py +19 -0
  84. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_region.py +45 -0
  85. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_schedule_type.py +21 -0
  86. policyengine_us/variables/gov/states/ma/eec/ccfa/ma_child_care_subsidies.py +11 -0
  87. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_early_education_reimbursement.py +19 -0
  88. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_school_age_reimbursement.py +20 -0
  89. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_family_child_care_reimbursement.py +21 -0
  90. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_head_start_partner_and_kindergarten_reimbursement.py +17 -0
  91. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_informal_child_care_reimbursement.py +20 -0
  92. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_maximum_reimbursement.py +23 -0
  93. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_reimbursement_ratio.py +17 -0
  94. policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_uncapped_daily_payment.py +66 -0
  95. policyengine_us/variables/household/expense/childcare/childcare_attending_days_per_month.py +9 -0
  96. policyengine_us/variables/household/expense/childcare/childcare_expenses.py +1 -1
  97. {policyengine_us-1.409.0.dist-info → policyengine_us-1.411.0.dist-info}/METADATA +1 -1
  98. {policyengine_us-1.409.0.dist-info → policyengine_us-1.411.0.dist-info}/RECORD +101 -7
  99. {policyengine_us-1.409.0.dist-info → policyengine_us-1.411.0.dist-info}/WHEEL +0 -0
  100. {policyengine_us-1.409.0.dist-info → policyengine_us-1.411.0.dist-info}/entry_points.txt +0 -0
  101. {policyengine_us-1.409.0.dist-info → policyengine_us-1.411.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,111 @@
1
+ - name: Case 1, two-parent household, eligible.
2
+ period: 2024-01
3
+ absolute_error_margin: 0.5
4
+ input:
5
+ people:
6
+ person1:
7
+ is_tax_unit_head_or_spouse: true
8
+ weekly_hours_worked: 30
9
+ person2:
10
+ is_tax_unit_head_or_spouse: true
11
+ is_disabled: true
12
+ weekly_hours_worked: 5
13
+ person3:
14
+ is_tax_unit_head_or_spouse: false
15
+ weekly_hours_worked: 0
16
+ spm_units:
17
+ spm_unit:
18
+ members: [person1, person2, person3]
19
+ tax_units:
20
+ tax_unit:
21
+ members: [person1, person2, person3]
22
+ households:
23
+ household:
24
+ members: [person1, person2, person3]
25
+ state_code: MA
26
+ output:
27
+ ma_ccfa_activity_eligible: true
28
+
29
+ - name: Case 2, two-parent household, ineligible.
30
+ period: 2024-01
31
+ absolute_error_margin: 0.5
32
+ input:
33
+ people:
34
+ person1:
35
+ is_tax_unit_head_or_spouse: true
36
+ weekly_hours_worked: 30
37
+ person2:
38
+ is_tax_unit_head_or_spouse: true
39
+ weekly_hours_worked: 5
40
+ person3:
41
+ is_tax_unit_head_or_spouse: false
42
+ weekly_hours_worked: 0
43
+ spm_units:
44
+ spm_unit:
45
+ members: [person1, person2, person3]
46
+ tax_units:
47
+ tax_unit:
48
+ members: [person1, person2, person3]
49
+ households:
50
+ household:
51
+ members: [person1, person2, person3]
52
+ state_code: MA
53
+ output:
54
+ ma_ccfa_activity_eligible: false
55
+
56
+ - name: Case 3, eligible due to homeless.
57
+ period: 2024-01
58
+ absolute_error_margin: 0.5
59
+ input:
60
+ people:
61
+ person1:
62
+ is_tax_unit_head_or_spouse: true
63
+ weekly_hours_worked: 0
64
+ person2:
65
+ is_tax_unit_head_or_spouse: true
66
+ weekly_hours_worked: 0
67
+ person3:
68
+ is_tax_unit_head_or_spouse: false
69
+ weekly_hours_worked: 0
70
+ spm_units:
71
+ spm_unit:
72
+ members: [person1, person2, person3]
73
+ tax_units:
74
+ tax_unit:
75
+ members: [person1, person2, person3]
76
+ households:
77
+ household:
78
+ members: [person1, person2, person3]
79
+ is_homeless: true
80
+ state_code: MA
81
+ output:
82
+ ma_ccfa_activity_eligible: true
83
+
84
+ - name: Case 3, eligible due to age.
85
+ period: 2024-01
86
+ absolute_error_margin: 0.5
87
+ input:
88
+ people:
89
+ person1:
90
+ age: 65
91
+ is_tax_unit_head_or_spouse: true
92
+ weekly_hours_worked: 0
93
+ person2:
94
+ age: 65
95
+ is_tax_unit_head_or_spouse: true
96
+ weekly_hours_worked: 0
97
+ person3:
98
+ is_tax_unit_head_or_spouse: false
99
+ weekly_hours_worked: 0
100
+ spm_units:
101
+ spm_unit:
102
+ members: [person1, person2, person3]
103
+ tax_units:
104
+ tax_unit:
105
+ members: [person1, person2, person3]
106
+ households:
107
+ household:
108
+ members: [person1, person2, person3]
109
+ state_code: MA
110
+ output:
111
+ ma_ccfa_activity_eligible: true
@@ -0,0 +1,15 @@
1
+ - name: Case 1, eligible.
2
+ period: 2025-01
3
+ input:
4
+ spm_unit_assets: 999_999
5
+ state_code: MA
6
+ output:
7
+ ma_ccfa_asset_eligible: true
8
+
9
+ - name: Case 2, ineligible.
10
+ period: 2025-01
11
+ input:
12
+ spm_unit_assets: 1_000_000
13
+ state_code: MA
14
+ output:
15
+ ma_ccfa_asset_eligible: false
@@ -0,0 +1,44 @@
1
+ - name: Case 1, meet all requirements, eligible.
2
+ period: 2024-01
3
+ input:
4
+ ma_ccfa_eligible_child: true
5
+ ma_ccfa_income_eligible: true
6
+ ma_ccfa_asset_eligible: true
7
+ ma_ccfa_activity_eligible: true
8
+ state_code: MA
9
+ output:
10
+ ma_ccfa_eligible: true
11
+
12
+ - name: Case 2, ineligible due to no eligible child.
13
+ period: 2024-01
14
+ input:
15
+ ma_ccfa_eligible_child: false
16
+ ma_ccfa_income_eligible: true
17
+ ma_ccfa_asset_eligible: true
18
+ ma_ccfa_activity_eligible: true
19
+ state_code: MA
20
+ output:
21
+ ma_ccfa_eligible: false
22
+
23
+ - name: Case 3, ineligible due to activity.
24
+ period: 2024-01
25
+ input:
26
+ ma_ccfa_eligible_child: true
27
+ ma_ccfa_income_eligible: true
28
+ ma_ccfa_asset_eligible: true
29
+ ma_ccfa_activity_eligible: false
30
+ state_code: MA
31
+ output:
32
+ ma_ccfa_eligible: false
33
+
34
+ - name: Case 4, TAFDC recipient automatically eligible despite failing other requirements.
35
+ period: 2024-01
36
+ input:
37
+ ma_ccfa_eligible_child: false
38
+ ma_ccfa_income_eligible: false
39
+ ma_ccfa_asset_eligible: false
40
+ ma_ccfa_activity_eligible: false
41
+ ma_tafdc_eligible: true
42
+ state_code: MA
43
+ output:
44
+ ma_ccfa_eligible: true
@@ -0,0 +1,43 @@
1
+ - name: Case 1, age 5, eligible.
2
+ period: 2025-01
3
+ input:
4
+ age: 5
5
+ is_disabled: false
6
+ is_tax_unit_dependent: true
7
+ ma_ccfa_immigration_status_eligible: true
8
+ state_code: MA
9
+ output:
10
+ ma_ccfa_eligible_child: true
11
+
12
+ - name: Case 2, age 13, ineligible.
13
+ period: 2025-01
14
+ input:
15
+ age: 13
16
+ is_disabled: false
17
+ is_tax_unit_dependent: true
18
+ ma_ccfa_immigration_status_eligible: true
19
+ state_code: MA
20
+ output:
21
+ ma_ccfa_eligible_child: false
22
+
23
+ - name: Case 3, age 13, disabled, eligible.
24
+ period: 2025-01
25
+ input:
26
+ age: 13
27
+ is_disabled: true
28
+ is_tax_unit_dependent: true
29
+ ma_ccfa_immigration_status_eligible: true
30
+ state_code: MA
31
+ output:
32
+ ma_ccfa_eligible_child: true
33
+
34
+ - name: Case 4, age 16, disabled, ineligible.
35
+ period: 2025-01
36
+ input:
37
+ age: 16
38
+ is_disabled: true
39
+ is_tax_unit_dependent: true
40
+ ma_ccfa_immigration_status_eligible: true
41
+ state_code: MA
42
+ output:
43
+ ma_ccfa_eligible_child: false
@@ -0,0 +1,23 @@
1
+ - name: Case 1, citizen, eligible.
2
+ period: 2025-01
3
+ input:
4
+ immigration_status: CITIZEN
5
+ state_code: MA
6
+ output:
7
+ ma_ccfa_immigration_status_eligible: true
8
+
9
+ - name: Case 2, qualified alien, eligible.
10
+ period: 2025-01
11
+ input:
12
+ immigration_status: REFUGEE
13
+ state_code: MA
14
+ output:
15
+ ma_ccfa_immigration_status_eligible: true
16
+
17
+ - name: Case 3, undocumented, ineligible.
18
+ period: 2025-01
19
+ input:
20
+ immigration_status: UNDOCUMENTED
21
+ state_code: MA
22
+ output:
23
+ ma_ccfa_immigration_status_eligible: false
@@ -0,0 +1,42 @@
1
+ - name: Case 1, new applicants, income below threshold, eligible.
2
+ period: 2024-01
3
+ input:
4
+ ma_ccfa_countable_income: 6_060
5
+ spm_unit_size: 4
6
+ ma_ccfa_enrolled: false
7
+ state_code: MA
8
+ output:
9
+ ma_ccfa_income_eligible: true
10
+
11
+ - name: Case 2, new applicants, income above threshold, ineligible.
12
+ period: 2024-01
13
+ absolute_error_margin: 0.2
14
+ input:
15
+ ma_ccfa_countable_income: 6_065
16
+ spm_unit_size: 4
17
+ ma_ccfa_enrolled: false
18
+ state_code: MA
19
+ output:
20
+ hhs_smi: 12_124.25
21
+ ma_ccfa_income_eligible: false
22
+
23
+ - name: Case 3, existing applicants, income below threshold, eligible.
24
+ period: 2024-01
25
+ absolute_error_margin: 0.2
26
+ input:
27
+ ma_ccfa_countable_income: 10_300
28
+ spm_unit_size: 4
29
+ ma_ccfa_enrolled: true
30
+ state_code: MA
31
+ output:
32
+ ma_ccfa_income_eligible: true
33
+
34
+ - name: Case 4, existing applicants, income above threshold, ineligible.
35
+ period: 2024-01
36
+ input:
37
+ ma_ccfa_countable_income: 10_310
38
+ spm_unit_size: 4
39
+ ma_ccfa_enrolled: true
40
+ state_code: MA
41
+ output:
42
+ ma_ccfa_income_eligible: false
@@ -0,0 +1,87 @@
1
+ - name: Infant - 6 month old
2
+ period: 2024-01
3
+ input:
4
+ age: 0.5
5
+ state_code: MA
6
+ output:
7
+ ma_ccfa_child_age_category: INFANT
8
+
9
+ - name: Infant - 15 month old at threshold
10
+ period: 2024-01
11
+ input:
12
+ age: 1.25
13
+ state_code: MA
14
+ output:
15
+ ma_ccfa_child_age_category: INFANT
16
+
17
+ - name: Toddler - 16 month old
18
+ period: 2024-01
19
+ input:
20
+ age: 1.33
21
+ state_code: MA
22
+ output:
23
+ ma_ccfa_child_age_category: TODDLER
24
+
25
+ - name: Toddler - 2 year old
26
+ period: 2024-01
27
+ input:
28
+ age: 2
29
+ state_code: MA
30
+ output:
31
+ ma_ccfa_child_age_category: TODDLER
32
+
33
+ - name: Toddler - 33 month old at threshold
34
+ period: 2024-01
35
+ input:
36
+ age: 2.75
37
+ state_code: MA
38
+ output:
39
+ ma_ccfa_child_age_category: TODDLER
40
+
41
+ - name: Preschool - 34 month old
42
+ period: 2024-01
43
+ input:
44
+ age: 2.83
45
+ state_code: MA
46
+ output:
47
+ ma_ccfa_child_age_category: PRESCHOOL
48
+
49
+ - name: Preschool - 3 year old
50
+ period: 2024-01
51
+ input:
52
+ age: 3
53
+ state_code: MA
54
+ output:
55
+ ma_ccfa_child_age_category: PRESCHOOL
56
+
57
+ - name: Preschool - 4 year old
58
+ period: 2024-01
59
+ input:
60
+ age: 4
61
+ state_code: MA
62
+ output:
63
+ ma_ccfa_child_age_category: PRESCHOOL
64
+
65
+ - name: School age - 5 year old at threshold
66
+ period: 2024-01
67
+ input:
68
+ age: 5
69
+ state_code: MA
70
+ output:
71
+ ma_ccfa_child_age_category: SCHOOL_AGE
72
+
73
+ - name: School age - 8 year old
74
+ period: 2024-01
75
+ input:
76
+ age: 8
77
+ state_code: MA
78
+ output:
79
+ ma_ccfa_child_age_category: SCHOOL_AGE
80
+
81
+ - name: School age - 12 year old
82
+ period: 2024-01
83
+ input:
84
+ age: 12
85
+ state_code: MA
86
+ output:
87
+ ma_ccfa_child_age_category: SCHOOL_AGE
@@ -0,0 +1,249 @@
1
+ - name: Case 1, eligible family.
2
+ period: 2025-01
3
+ input:
4
+ ma_ccfa_eligible: true
5
+ ma_ccfa_total_copay: 50
6
+ spm_unit_pre_subsidy_childcare_expenses: 100
7
+ ma_ccfa_maximum_reimbursement: 200
8
+ state_code: MA
9
+ output:
10
+ ma_ccfa: 50
11
+
12
+ - name: Case 2, eligible family.
13
+ period: 2025-01
14
+ input:
15
+ ma_ccfa_eligible: true
16
+ ma_ccfa_total_copay: 50
17
+ spm_unit_pre_subsidy_childcare_expenses: 180
18
+ ma_ccfa_maximum_reimbursement: 100
19
+ state_code: MA
20
+ output:
21
+ ma_ccfa: 100
22
+
23
+ - name: Case 3, integration test, family of 2, $1800 monthly income.
24
+ period: 2025-01
25
+ absolute_error_margin: 0.3
26
+ input:
27
+ people:
28
+ person1:
29
+ age: 40
30
+ employment_income: 1_800 * 12
31
+ weekly_hours_worked: 40
32
+ person2:
33
+ age: 1
34
+ is_tax_unit_dependent: true
35
+ ma_ccfa_child_age_category: INFANT
36
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_EARLY_EDUCATION
37
+ childcare_attending_days_per_month: 10
38
+ childcare_hours_per_day: 6
39
+ spm_units:
40
+ spm_unit:
41
+ members: [person1, person2]
42
+ spm_unit_pre_subsidy_childcare_expenses: 1_200 * 12
43
+ tax_units:
44
+ tax_unit:
45
+ members: [person1, person2]
46
+ households:
47
+ household:
48
+ members: [person1, person2]
49
+ state_code: MA
50
+ county_str: BERKSHIRE_COUNTY_MA
51
+ output:
52
+ ma_ccfa_total_copay: 3.88
53
+ ma_ccfa_maximum_reimbursement: [0, 1_050]
54
+ ma_ccfa_eligible: true
55
+ ma_ccfa: 1_050
56
+
57
+ - name: Case 4, TAFDC recipient integration test - automatic eligibility and zero copay.
58
+ period: 2025-01
59
+ absolute_error_margin: 0.5
60
+ input:
61
+ people:
62
+ person1:
63
+ age: 28
64
+ employment_income: 800 * 12
65
+ weekly_hours_worked: 20
66
+ person2:
67
+ age: 3
68
+ is_tax_unit_dependent: true
69
+ ma_ccfa_child_age_category: PRESCHOOL
70
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_EARLY_EDUCATION
71
+ childcare_attending_days_per_month: 22
72
+ childcare_hours_per_day: 8
73
+ person3:
74
+ age: 5
75
+ is_tax_unit_dependent: true
76
+ ma_ccfa_child_age_category: PRESCHOOL
77
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_EARLY_EDUCATION
78
+ childcare_attending_days_per_month: 22
79
+ childcare_hours_per_day: 8
80
+ spm_units:
81
+ spm_unit:
82
+ members: [person1, person2, person3]
83
+ spm_unit_pre_subsidy_childcare_expenses: 2_400 * 12
84
+ ma_tafdc_eligible: true
85
+ tax_units:
86
+ tax_unit:
87
+ members: [person1, person2, person3]
88
+ households:
89
+ household:
90
+ members: [person1, person2, person3]
91
+ state_code: MA
92
+ county_str: SUFFOLK_COUNTY_MA
93
+ output:
94
+ ma_ccfa_eligible: true
95
+ ma_ccfa_total_copay: 0
96
+ ma_ccfa_maximum_reimbursement: [0, 1_789.26, 1_789.26]
97
+ ma_ccfa: 3_578.52
98
+
99
+ - name: Case 5, two-parent family with multiple children, moderate income.
100
+ period: 2025-01
101
+ absolute_error_margin: 0.4
102
+ input:
103
+ people:
104
+ person1:
105
+ age: 35
106
+ employment_income: 2_000 * 12
107
+ weekly_hours_worked: 40
108
+ person2:
109
+ age: 32
110
+ employment_income: 1_500 * 12
111
+ weekly_hours_worked: 30
112
+ person3:
113
+ age: 1
114
+ is_tax_unit_dependent: true
115
+ ma_ccfa_child_age_category: INFANT
116
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_EARLY_EDUCATION
117
+ childcare_attending_days_per_month: 20
118
+ childcare_hours_per_day: 8
119
+ person4:
120
+ age: 4
121
+ is_tax_unit_dependent: true
122
+ ma_ccfa_child_age_category: PRESCHOOL
123
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_EARLY_EDUCATION
124
+ childcare_attending_days_per_month: 22
125
+ childcare_hours_per_day: 7
126
+ spm_units:
127
+ spm_unit:
128
+ members: [person1, person2, person3, person4]
129
+ spm_unit_pre_subsidy_childcare_expenses: 2_500 * 12
130
+ tax_units:
131
+ tax_unit:
132
+ members: [person1, person2, person3, person4]
133
+ households:
134
+ household:
135
+ members: [person1, person2, person3, person4]
136
+ state_code: MA
137
+ county_str: SUFFOLK_COUNTY_MA
138
+ output:
139
+ ma_ccfa_eligible: true
140
+ ma_ccfa_total_copay: 66.15
141
+ ma_ccfa: 4_215.46
142
+
143
+ - name: Case 6, family child care provider in Western Massachusetts.
144
+ period: 2025-01
145
+ absolute_error_margin: 0.3
146
+ input:
147
+ people:
148
+ person1:
149
+ age: 29
150
+ employment_income: 1_800 * 12
151
+ weekly_hours_worked: 35
152
+ person2:
153
+ age: 4
154
+ is_tax_unit_dependent: true
155
+ ma_ccfa_child_age_category: PRESCHOOL
156
+ ma_ccfa_care_provider_type: FAMILY_CHILD_CARE
157
+ childcare_attending_days_per_month: 20
158
+ childcare_hours_per_day: 7
159
+ spm_units:
160
+ spm_unit:
161
+ members: [person1, person2]
162
+ spm_unit_pre_subsidy_childcare_expenses: 1_000 * 12
163
+ tax_units:
164
+ tax_unit:
165
+ members: [person1, person2]
166
+ households:
167
+ household:
168
+ members: [person1, person2]
169
+ state_code: MA
170
+ county_str: BERKSHIRE_COUNTY_MA
171
+ output:
172
+ ma_ccfa_eligible: true
173
+ ma_ccfa_maximum_reimbursement: [0, 987.8]
174
+ ma_ccfa: 987.8
175
+
176
+ - name: Case 7, senior caregiver exempt from activity requirements.
177
+ period: 2025-01
178
+ absolute_error_margin: 0.3
179
+ input:
180
+ people:
181
+ person1:
182
+ age: 67
183
+ employment_income: 1_500 * 12
184
+ weekly_hours_worked: 0
185
+ person2:
186
+ age: 6
187
+ is_tax_unit_dependent: true
188
+ ma_ccfa_child_age_category: SCHOOL_AGE
189
+ ma_ccfa_care_provider_type: CENTER_BASED_CARE_SCHOOL_AGE
190
+ childcare_attending_days_per_month: 18
191
+ childcare_hours_per_day: 6
192
+ spm_units:
193
+ spm_unit:
194
+ members: [person1, person2]
195
+ spm_unit_pre_subsidy_childcare_expenses: 950 * 12
196
+ tax_units:
197
+ tax_unit:
198
+ members: [person1, person2]
199
+ households:
200
+ household:
201
+ members: [person1, person2]
202
+ state_code: MA
203
+ county_str: MIDDLESEX_COUNTY_MA
204
+ output:
205
+ ma_ccfa_eligible: true
206
+ ma_ccfa_activity_eligible: true
207
+ ma_ccfa: 950.58
208
+
209
+ - name: Case 8, income at edge of new applicant limit (50% SMI).
210
+ period: 2025-01
211
+ absolute_error_margin: 0.01
212
+ input:
213
+ people:
214
+ person1:
215
+ age: 30
216
+ employment_income: 5_000 * 12
217
+ weekly_hours_worked: 35
218
+ person2:
219
+ age: 2
220
+ is_tax_unit_dependent: true
221
+ ma_ccfa_child_age_category: TODDLER
222
+ ma_ccfa_care_provider_type: FAMILY_CHILD_CARE
223
+ childcare_attending_days_per_month: 22
224
+ childcare_hours_per_day: 8
225
+ person3:
226
+ age: 4
227
+ is_tax_unit_dependent: true
228
+ ma_ccfa_child_age_category: PRESCHOOL
229
+ ma_ccfa_care_provider_type: FAMILY_CHILD_CARE
230
+ childcare_attending_days_per_month: 20
231
+ childcare_hours_per_day: 7
232
+ spm_units:
233
+ spm_unit:
234
+ members: [person1, person2, person3]
235
+ spm_unit_pre_subsidy_childcare_expenses: 1_600 * 12
236
+ ma_ccfa_enrolled: false
237
+ tax_units:
238
+ tax_unit:
239
+ members: [person1, person2, person3]
240
+ households:
241
+ household:
242
+ members: [person1, person2, person3]
243
+ state_code: MA
244
+ county_str: HAMPSHIRE_COUNTY_MA
245
+ output:
246
+ ma_ccfa_eligible: true
247
+ ma_ccfa_income_eligible: true
248
+ ma_ccfa_total_copay: 363.16
249
+ ma_ccfa: 2_074.38
@@ -0,0 +1,26 @@
1
+ - name: Case 1, family of 2.
2
+ period: 2025-01
3
+ absolute_error_margin: 0.5
4
+ input:
5
+ spm_unit_size: 2
6
+ state_code: MA
7
+ output:
8
+ ma_ccfa_fpg: 1_703
9
+
10
+ - name: Case 2, family of 3.
11
+ period: 2025-01
12
+ absolute_error_margin: 0.4
13
+ input:
14
+ spm_unit_size: 3
15
+ state_code: MA
16
+ output:
17
+ ma_ccfa_fpg: 2_152
18
+
19
+ - name: Case 3, family of 4.
20
+ period: 2025-01
21
+ absolute_error_margin: 0.2
22
+ input:
23
+ spm_unit_size: 4
24
+ state_code: MA
25
+ output:
26
+ ma_ccfa_fpg: 2_600