policyengine-us 1.418.0__py3-none-any.whl → 1.419.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 (90) hide show
  1. policyengine_us/parameters/gov/dhs/immigration/qualified_noncitizen_status.yaml +18 -0
  2. policyengine_us/parameters/gov/states/tx/tanf/age_threshold/minor_child.yaml +13 -0
  3. policyengine_us/parameters/gov/states/tx/tanf/age_threshold/student_dependent.yaml +13 -0
  4. policyengine_us/parameters/gov/states/tx/tanf/income/deductions/child_support.yaml +14 -0
  5. policyengine_us/parameters/gov/states/tx/tanf/income/deductions/dependent_care.yaml +23 -0
  6. policyengine_us/parameters/gov/states/tx/tanf/income/deductions/work_expense.yaml +13 -0
  7. policyengine_us/parameters/gov/states/tx/tanf/income/disregards/applicant_fraction.yaml +12 -0
  8. policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_cap.yaml +13 -0
  9. policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_months.yaml +14 -0
  10. policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_rate.yaml +13 -0
  11. policyengine_us/parameters/gov/states/tx/tanf/income/sources/earned.yaml +15 -0
  12. policyengine_us/parameters/gov/states/tx/tanf/income/sources/unearned.yaml +28 -0
  13. policyengine_us/parameters/gov/states/tx/tanf/minimum_grant.yaml +13 -0
  14. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/additional_person.yaml +17 -0
  15. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_with_second_parent.yaml +81 -0
  16. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_without_second_parent.yaml +85 -0
  17. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/non_caretaker.yaml +85 -0
  18. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/additional_person.yaml +17 -0
  19. policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/rate.yaml +17 -0
  20. policyengine_us/parameters/gov/states/tx/tanf/ottanf/payment_amount.yaml +13 -0
  21. policyengine_us/parameters/gov/states/tx/tanf/payment_standard/additional_person.yaml +19 -0
  22. policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_with_second_parent.yaml +105 -0
  23. policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_without_second_parent.yaml +112 -0
  24. policyengine_us/parameters/gov/states/tx/tanf/payment_standard/non_caretaker.yaml +111 -0
  25. policyengine_us/parameters/gov/states/tx/tanf/resources/resource_limit.yaml +13 -0
  26. policyengine_us/parameters/gov/states/tx/tanf/resources/vehicle_exemption.yaml +11 -0
  27. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.yaml +34 -0
  28. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.yaml +62 -0
  29. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +49 -0
  30. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.yaml +34 -0
  31. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.yaml +38 -0
  32. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.yaml +65 -0
  33. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.yaml +30 -0
  34. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.yaml +116 -0
  35. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_eligible.yaml +123 -0
  36. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.yaml +69 -0
  37. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.yaml +54 -0
  38. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.yaml +44 -0
  39. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.yaml +55 -0
  40. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.yaml +54 -0
  41. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.yaml +39 -0
  42. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.yaml +36 -0
  43. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.yaml +102 -0
  44. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.yaml +49 -0
  45. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/integration.yaml +291 -0
  46. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf.yaml +47 -0
  47. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.yaml +17 -0
  48. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.yaml +158 -0
  49. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/resources/tx_tanf_countable_resources.yaml +39 -0
  50. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_regular_tanf.yaml +74 -0
  51. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf.yaml +89 -0
  52. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_payment_standard.yaml +61 -0
  53. policyengine_us/tests/policy/baseline/household/demographic/person/is_citizen_or_legal_immigrant.yaml +55 -0
  54. policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.py +27 -0
  55. policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.py +18 -0
  56. policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.py +19 -0
  57. policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.py +24 -0
  58. policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.py +24 -0
  59. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.py +57 -0
  60. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.py +21 -0
  61. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.py +50 -0
  62. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_eligible.py +29 -0
  63. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.py +40 -0
  64. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.py +23 -0
  65. policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.py +19 -0
  66. policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.py +21 -0
  67. policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.py +39 -0
  68. policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.py +28 -0
  69. policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.py +52 -0
  70. policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_gross_earned_income.py +16 -0
  71. policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_countable_income.py +19 -0
  72. policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.py +47 -0
  73. policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.py +27 -0
  74. policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_gross_unearned_income.py +16 -0
  75. policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf.py +17 -0
  76. policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.py +21 -0
  77. policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.py +36 -0
  78. policyengine_us/variables/gov/states/tx/tanf/resources/tx_tanf_countable_resources.py +31 -0
  79. policyengine_us/variables/gov/states/tx/tanf/tx_regular_tanf.py +27 -0
  80. policyengine_us/variables/gov/states/tx/tanf/tx_tanf.py +25 -0
  81. policyengine_us/variables/gov/states/tx/tanf/tx_tanf_payment_standard.py +51 -0
  82. policyengine_us/variables/household/demographic/person/is_citizen_or_legal_immigrant.py +22 -0
  83. {policyengine_us-1.418.0.dist-info → policyengine_us-1.419.0.dist-info}/METADATA +1 -1
  84. {policyengine_us-1.418.0.dist-info → policyengine_us-1.419.0.dist-info}/RECORD +87 -8
  85. policyengine_us/parameters/gov/states/tx/tanf/monthly_income_limit.yaml +0 -31
  86. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_income_limit.yaml +0 -17
  87. policyengine_us/variables/gov/states/tx/tanf/tx_tanf_income_limit.py +0 -18
  88. {policyengine_us-1.418.0.dist-info → policyengine_us-1.419.0.dist-info}/WHEEL +0 -0
  89. {policyengine_us-1.418.0.dist-info → policyengine_us-1.419.0.dist-info}/entry_points.txt +0 -0
  90. {policyengine_us-1.418.0.dist-info → policyengine_us-1.419.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,47 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf_income_for_budgetary_needs_test(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas TANF income for budgetary needs test"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1340-income-limits",
12
+ "https://www.law.cornell.edu/regulations/texas/1-Tex-Admin-Code-SS-372-408",
13
+ )
14
+ defined_for = StateCode.TX
15
+
16
+ def formula(spm_unit, period, parameters):
17
+ # Budgetary needs test uses income WITHOUT earned income disregards (1/3 or 90%)
18
+ # Deductions applied:
19
+ # 1. Work expense ($120)
20
+ # 2. Dependent care costs
21
+ # 3. Child support deduction (from unearned income)
22
+
23
+ person = spm_unit.members
24
+ p = parameters(period).gov.states.tx.tanf.income
25
+
26
+ # Earned income after work expense only (no 1/3 or 90% disregard)
27
+ gross_earned = person("tx_tanf_gross_earned_income", period)
28
+ work_expense = min_(p.deductions.work_expense, gross_earned)
29
+ earned_after_work_expense = max_(gross_earned - work_expense, 0)
30
+
31
+ # Sum across household members
32
+ total_earned_after_work_expense = spm_unit.sum(
33
+ earned_after_work_expense
34
+ )
35
+
36
+ # Apply dependent care deduction
37
+ dependent_care_deduction = spm_unit(
38
+ "tx_tanf_dependent_care_deduction", period
39
+ )
40
+ earned_after_deductions = max_(
41
+ total_earned_after_work_expense - dependent_care_deduction, 0
42
+ )
43
+
44
+ # Add unearned income (already has child support deduction applied)
45
+ unearned_income = spm_unit("tx_tanf_countable_unearned_income", period)
46
+
47
+ return earned_after_deductions + unearned_income
@@ -0,0 +1,27 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf_countable_unearned_income(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas TANF countable unearned income"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1340-income-limits",
12
+ "https://www.law.cornell.edu/regulations/texas/1-TAC-372-605",
13
+ )
14
+ defined_for = StateCode.TX
15
+
16
+ def formula(spm_unit, period, parameters):
17
+ # Sum person-level gross unearned income
18
+ gross_unearned = add(
19
+ spm_unit, period, ["tx_tanf_gross_unearned_income"]
20
+ )
21
+
22
+ # Apply household-level child support deduction (up to $75/month per household)
23
+ child_support_deduction = spm_unit(
24
+ "tx_tanf_child_support_deduction", period
25
+ )
26
+
27
+ return max_(gross_unearned - child_support_deduction, 0)
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf_gross_unearned_income(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ label = "Texas TANF gross unearned income"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1340-income-limits",
12
+ "https://www.law.cornell.edu/regulations/texas/1-TAC-372-601",
13
+ )
14
+ defined_for = StateCode.TX
15
+
16
+ adds = "gov.states.tx.tanf.income.sources.unearned"
@@ -0,0 +1,17 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ottanf(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas One-Time TANF (OTTANF) payment"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-2410-general-policy"
11
+ defined_for = "tx_ottanf_eligible"
12
+
13
+ def formula(spm_unit, period, parameters):
14
+ p = parameters(period).gov.states.tx.tanf.ottanf
15
+
16
+ # One-time payment of $1,000 divided by 12 for monthly equivalent
17
+ return p.payment_amount / MONTHS_IN_YEAR
@@ -0,0 +1,21 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ottanf_crisis_criteria(Variable):
5
+ value_type = bool
6
+ entity = SPMUnit
7
+ definition_period = MONTH
8
+ label = "Meets Texas OTTANF crisis criteria"
9
+ reference = (
10
+ "https://www.law.cornell.edu/regulations/texas/1-Tex-Admin-Code-SS-372-802",
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-2420-eligibility-requirements",
12
+ )
13
+ defined_for = StateCode.TX
14
+
15
+ # Crisis criteria per § 372.802 (b):
16
+ # 1. Lost employment in past 2 months (not voluntary quit)
17
+ # 2. Single parent: child lost financial support in last 12 months + parent has recent employment
18
+ # 3. Recent graduate: unemployed/underemployed, not in school, has degree, previously received TANF
19
+ # 4. Currently employed facing crisis: potential loss of transportation/shelter or medical emergency
20
+ #
21
+ # This variable has no formula - user must input whether household meets crisis criteria
@@ -0,0 +1,36 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ottanf_eligible(Variable):
5
+ value_type = bool
6
+ entity = SPMUnit
7
+ label = "Eligible for Texas One-Time TANF (OTTANF)"
8
+ definition_period = MONTH
9
+ reference = (
10
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-2421-eligibility-criteria",
11
+ "https://www.law.cornell.edu/regulations/texas/1-Tex-Admin-Code-SS-372-801",
12
+ )
13
+ defined_for = StateCode.TX
14
+
15
+ def formula(spm_unit, period, parameters):
16
+ # OTTANF eligibility per A-2421:
17
+ # 1. Must meet all regular TANF eligibility requirements
18
+ # (child, income, resources, immigration)
19
+ # 2. Must be eligible for TANF grant of $10 or more
20
+ # 3. Must meet one of four crisis criteria
21
+
22
+ # Regular TANF eligibility (child, income, resources, immigration)
23
+ regular_tanf_eligible = spm_unit("tx_tanf_eligible", period)
24
+
25
+ # Must be eligible for at least $10 grant
26
+ payment_standard = spm_unit("tx_tanf_payment_standard", period)
27
+ countable_income = spm_unit("tx_tanf_countable_income", period)
28
+ potential_grant = payment_standard - countable_income
29
+
30
+ p = parameters(period).gov.states.tx.tanf
31
+ eligible_for_min_grant = potential_grant >= p.minimum_grant
32
+
33
+ # Crisis criteria (user input)
34
+ crisis = spm_unit("tx_ottanf_crisis_criteria", period)
35
+
36
+ return regular_tanf_eligible & eligible_for_min_grant & crisis
@@ -0,0 +1,31 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf_countable_resources(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas TANF countable resources"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1210-general-policy",
12
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1220-limits",
13
+ )
14
+ defined_for = StateCode.TX
15
+
16
+ def formula(spm_unit, period, parameters):
17
+ # Countable resources = liquid resources + excess vehicle value
18
+ # Household must have countable resources ≤ $1,000 to be eligible
19
+
20
+ # Liquid resources (cash, checking, savings) - stocks use period.this_year
21
+ cash_assets = spm_unit("spm_unit_cash_assets", period.this_year)
22
+
23
+ # Vehicle resources (apply vehicle exemption: one automobile up to $4,650)
24
+ vehicle_value = spm_unit.household(
25
+ "household_vehicles_value", period.this_year
26
+ )
27
+ p = parameters(period).gov.states.tx.tanf.resources
28
+ countable_vehicle_value = max_(vehicle_value - p.vehicle_exemption, 0)
29
+
30
+ # Total countable resources (no period conversion - resources are stocks)
31
+ return cash_assets + countable_vehicle_value
@@ -0,0 +1,27 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_regular_tanf(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = (
8
+ "Texas Temporary Assistance for Needy Families (TANF) regular benefit"
9
+ )
10
+ unit = USD
11
+ definition_period = MONTH
12
+ reference = (
13
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-1340-income-limits",
14
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/c-110-tanf",
15
+ )
16
+ defined_for = "tx_tanf_eligible"
17
+
18
+ def formula(spm_unit, period, parameters):
19
+ payment_standard = spm_unit("tx_tanf_payment_standard", period)
20
+ countable_income = spm_unit("tx_tanf_countable_income", period)
21
+ p = parameters(period).gov.states.tx.tanf
22
+
23
+ # Calculate benefit as payment standard minus countable income
24
+ calculated_benefit = max_(payment_standard - countable_income, 0)
25
+
26
+ # Apply minimum grant rule
27
+ return max_(calculated_benefit, p.minimum_grant)
@@ -0,0 +1,25 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas Temporary Assistance for Needy Families (TANF)"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/a-2410-general-policy",
12
+ )
13
+ defined_for = StateCode.TX
14
+
15
+ def formula(spm_unit, period, parameters):
16
+ # Compare monthly TANF benefit with monthly equivalent of OTTANF
17
+ # Return whichever is higher for the household
18
+
19
+ # Regular TANF: monthly benefit
20
+ regular_tanf = spm_unit("tx_regular_tanf", period)
21
+
22
+ # OTTANF: one-time payment divided by 12 for monthly equivalent
23
+ ottanf = spm_unit("tx_ottanf", period)
24
+
25
+ return max_(regular_tanf, ottanf)
@@ -0,0 +1,51 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_tanf_payment_standard(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ label = "Texas TANF payment standard"
8
+ unit = USD
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.hhs.texas.gov/handbooks/texas-works-handbook/c-110-tanf"
12
+ )
13
+ defined_for = StateCode.TX
14
+
15
+ def formula(spm_unit, period, parameters):
16
+ # Payment standard (maximum benefit amount) varies by household size and caretaker type
17
+
18
+ size = spm_unit("tx_tanf_assistance_unit_size", period)
19
+ caretaker_type = spm_unit("tx_tanf_caretaker_type", period)
20
+ p = parameters(period).gov.states.tx.tanf.payment_standard
21
+
22
+ # Determine caretaker type
23
+ non_caretaker = (
24
+ caretaker_type == caretaker_type.possible_values.NON_CARETAKER
25
+ )
26
+ caretaker_without_second = (
27
+ caretaker_type
28
+ == caretaker_type.possible_values.CARETAKER_WITHOUT_SECOND_PARENT
29
+ )
30
+ caretaker_with_second = (
31
+ caretaker_type
32
+ == caretaker_type.possible_values.CARETAKER_WITH_SECOND_PARENT
33
+ )
34
+
35
+ # For sizes <= 15, use table; for sizes > 15, use size 15 + increment
36
+ size_capped = min_(size, 15)
37
+ additional_people = max_(size - 15, 0)
38
+ additional_amount = additional_people * p.additional_person
39
+
40
+ # Get base amount for size (capped at 15)
41
+ base_amount = select(
42
+ [non_caretaker, caretaker_without_second, caretaker_with_second],
43
+ [
44
+ p.non_caretaker.calc(size_capped),
45
+ p.caretaker_without_second_parent.calc(size_capped),
46
+ p.caretaker_with_second_parent.calc(size_capped),
47
+ ],
48
+ default=0,
49
+ )
50
+
51
+ return base_amount + additional_amount
@@ -0,0 +1,22 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class is_citizen_or_legal_immigrant(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ label = "Is citizen or qualified noncitizen under federal law"
8
+ definition_period = YEAR
9
+ reference = "https://www.law.cornell.edu/uscode/text/8/1641"
10
+
11
+ def formula(person, period, parameters):
12
+ p = parameters(period).gov.dhs.immigration
13
+ immigration_status = person("immigration_status", period)
14
+ immigration_status_str = immigration_status.decode_to_str()
15
+ is_citizen = (
16
+ immigration_status == immigration_status.possible_values.CITIZEN
17
+ )
18
+ qualified_noncitizen = np.isin(
19
+ immigration_status_str,
20
+ p.qualified_noncitizen_status,
21
+ )
22
+ return qualified_noncitizen | is_citizen
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.418.0
3
+ Version: 1.419.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -329,6 +329,7 @@ policyengine_us/parameters/gov/contrib/ubi_center/flat_tax/deduct_ptc.yaml,sha25
329
329
  policyengine_us/parameters/gov/contrib/ubi_center/flat_tax/exemption/agi.yaml,sha256=IH2Je1WX0-T1ma_EySs2yNSR72HN4fpgDC9Si1b1HKY,366
330
330
  policyengine_us/parameters/gov/contrib/ubi_center/flat_tax/rate/agi.yaml,sha256=zh667ZJRjEvyXmhkTQ-JpQYp58VNLPWbDLluWELiLs8,144
331
331
  policyengine_us/parameters/gov/contrib/ubi_center/flat_tax/rate/gross_income.yaml,sha256=L4SbiAqlnDwVbpAod9w7ww3nj94F5zGnNILlS_QDEJ0,159
332
+ policyengine_us/parameters/gov/dhs/immigration/qualified_noncitizen_status.yaml,sha256=9MjABPaM3_3rAZ8jCeSDOx0AhjA32GIYJ349CcXCj1M,489
332
333
  policyengine_us/parameters/gov/doe/README.md,sha256=P5wqHKtkET97fe7bwcu9cUTMwTiGhMgzc7naw-fj7VQ,29
333
334
  policyengine_us/parameters/gov/doe/index.yaml,sha256=rHA75ZOkRKkoYkd4zjChiGfJF_G--G2ZfwG3LZLIf6I,85
334
335
  policyengine_us/parameters/gov/doe/high_efficiency_electric_home_rebate/elements.yaml,sha256=db9NnUHOiT4e0uI2fZZLvm1gufNJAx4A-s1RYru41oI,703
@@ -2862,7 +2863,31 @@ policyengine_us/parameters/gov/states/tx/fpp/age_threshold.yaml,sha256=X0WDitMtP
2862
2863
  policyengine_us/parameters/gov/states/tx/fpp/annual_benefit.yaml,sha256=73GAECik0TL1sLFbYUP-3fuD2x-gtjmnX184XPGZS40,737
2863
2864
  policyengine_us/parameters/gov/states/tx/fpp/fpg_percentage.yaml,sha256=nF_zIboTk0qYV6-aQITK8DbU55S3ckF_CiKJlkVy5QM,784
2864
2865
  policyengine_us/parameters/gov/states/tx/tanf/README.md,sha256=pl7ABGVc6yj_se0EwKp4k5CnR96YHhRHRJtxeha0Kko,7
2865
- policyengine_us/parameters/gov/states/tx/tanf/monthly_income_limit.yaml,sha256=f4ZM3pHnz94T2-_Rm869qKd6giq56e1A4yaMjKAQMHQ,746
2866
+ policyengine_us/parameters/gov/states/tx/tanf/minimum_grant.yaml,sha256=B_SRP7Wr2E098Zv-oYDrl7KykXS3pHZ2unr-_i-02HM,558
2867
+ policyengine_us/parameters/gov/states/tx/tanf/age_threshold/minor_child.yaml,sha256=oKR3yBn4EBanjcZ7DJaeexH-3uAcllBZf8U5sgtYOow,534
2868
+ policyengine_us/parameters/gov/states/tx/tanf/age_threshold/student_dependent.yaml,sha256=b7yDCMj7oi7R1gNf7zRPzjfmTs44EQ4S3ibXVfy2dTU,552
2869
+ policyengine_us/parameters/gov/states/tx/tanf/income/deductions/child_support.yaml,sha256=8f2hAW7eLYVn0b4YoYGyV6VRtqOjNQY6xHTDld-5xFw,590
2870
+ policyengine_us/parameters/gov/states/tx/tanf/income/deductions/dependent_care.yaml,sha256=J7Qthq0BwI13C78QW0h3f006C8j0aOJe6RtyDNWHIXc,805
2871
+ policyengine_us/parameters/gov/states/tx/tanf/income/deductions/work_expense.yaml,sha256=7fPeR9YUCM2APi7KmEjy9Po9FYXD9G1WGIZoi73LI2Y,597
2872
+ policyengine_us/parameters/gov/states/tx/tanf/income/disregards/applicant_fraction.yaml,sha256=ZtorOkdjTeih-jYsdG_sXWBEbXLJ0mBwaikZVXrd3xM,497
2873
+ policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_cap.yaml,sha256=LLlLdQ8N9chCfG-QcDkvkeKq9jvBYg532xhdtFuafD4,605
2874
+ policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_months.yaml,sha256=JbaKHU3A13Zmp-LxjcwXdAZ9ExZuPiEWAqYe9bmWBr0,630
2875
+ policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_rate.yaml,sha256=TtnUND6twrfTvbnLkGbhV0BVf67O3pRT83nxQ-auI1U,548
2876
+ policyengine_us/parameters/gov/states/tx/tanf/income/sources/earned.yaml,sha256=L9D47Os9wMUZXypI-pMYSm-_v8USn2mXGjjA20t0yVU,582
2877
+ policyengine_us/parameters/gov/states/tx/tanf/income/sources/unearned.yaml,sha256=JJuRjw-XjD0Y426MZ-KUuQKwd6Ucuo1hLr6wgpvlRTU,1015
2878
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/additional_person.yaml,sha256=qu6N7KalZ9mLn0atQnD07qp-wRr4lxl6MMPM7ypPjXo,961
2879
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_with_second_parent.yaml,sha256=6ka0A7VH2eqSJ_FcWCnvZeEZPgrZFraZjneOPh3OeuQ,2197
2880
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_without_second_parent.yaml,sha256=4cdOmkySBR9p-7d6hslFE3oHmdhDlqhdv6sOqCqQuLQ,2270
2881
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/non_caretaker.yaml,sha256=apRBVasif9QpKU9C4_wza06iaeJHmkRg9wvIly2983M,2231
2882
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/additional_person.yaml,sha256=xQ05r4cHoHsujjygi2upHlm-_FZdspA3PbtvtoE9XH4,967
2883
+ policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/rate.yaml,sha256=SZEIGQ_kOVhDUaRL5lwnxqM8FSiWE0AuUWkbR6NSXac,906
2884
+ policyengine_us/parameters/gov/states/tx/tanf/ottanf/payment_amount.yaml,sha256=MvyD6iLMXW_dOn-TVdy6alMqT5zAG8HZnm61G1Yb5Nk,543
2885
+ policyengine_us/parameters/gov/states/tx/tanf/payment_standard/additional_person.yaml,sha256=CNCW10AZt1Yc0cXyuHp4RiITDnusGWyMQ1CHSgBkqdE,1005
2886
+ policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_with_second_parent.yaml,sha256=-M0l_ibCjU0aUXzE0t5FBsxgSwH5Do4_MGrXa9VBKhc,2667
2887
+ policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_without_second_parent.yaml,sha256=bmYDNC6wTfSrE_aWuPGU_fClfSkbbCuFROvp1BH22lA,2802
2888
+ policyengine_us/parameters/gov/states/tx/tanf/payment_standard/non_caretaker.yaml,sha256=d-vrynY3q8MrmbrsCTZ8GMAKCigMIBKyhsq63jLlsuY,2736
2889
+ policyengine_us/parameters/gov/states/tx/tanf/resources/resource_limit.yaml,sha256=0D8BJ8921yCtvcOuqygdhuotF5mcM17qFL6rOqmQUPk,527
2890
+ policyengine_us/parameters/gov/states/tx/tanf/resources/vehicle_exemption.yaml,sha256=wz-Rh140rZVCV9VLTMrJBsHSiNThyw-OYO_3tFBRnEI,403
2866
2891
  policyengine_us/parameters/gov/states/ut/README.md,sha256=2n4RUtXc0zVy3tsjRpj2JwLc-xlMyDQG7jtZsYhCvU8,7
2867
2892
  policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml,sha256=0jb9jtzarBxEdGDbjQQ9sL_rRh_1P1cPtXJfWpCZfiM,1590
2868
2893
  policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml,sha256=fU1QNIPX7XCf_u2yAvqh3pAdbZMbpc1AGq8HhVx4gU8,1570
@@ -5028,7 +5053,32 @@ policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_age_eligible.yaml
5028
5053
  policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_benefit.yaml,sha256=xPp3VS5mdTz5zUR7TudLPDUYfPm_5_W9OErD7-7MfqI,767
5029
5054
  policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_income_eligible.yaml,sha256=tKtYWtlYj_qtyH35ZuU7dumrPbs1gMD9mouMkuxWsTI,1243
5030
5055
  policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_income_limit.yaml,sha256=UhShPCU0Troy7Xt14Y9or7yNncsqkMnNOJ2MqkNCLTc,1056
5031
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_income_limit.yaml,sha256=pNC3o3Ps_6o0EnSDb1mzQrHt10gGZhD7bW15SU_T2tI,388
5056
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/integration.yaml,sha256=YdJyqgTydvSgvHiWRIqy5xsTk_52YJQ0fGtFUaNDptw,9306
5057
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_regular_tanf.yaml,sha256=nhYtLgbDMpI65b3b7njOjCALHZGD-1CQM5icuN9pyfI,1735
5058
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf.yaml,sha256=MITDIseWJUC3KC42lTtBWDg1p5-AZvaAUB0fyw6O2C4,2014
5059
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_payment_standard.yaml,sha256=7oNffFE-YcTmIe804mh9Wr4k0yE1TILgf4J5apovFBQ,1323
5060
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.yaml,sha256=wNDP10dBPGixn8ciSy4KSynsx00oJwsq6sq4WhyPMkI,657
5061
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.yaml,sha256=QI4EGvKyBEa77hW5LwWhqJnKyu0yOWBrWkw6v50tpz4,1358
5062
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml,sha256=JgseE-U6LzDMr-xe-foj-YkCehMMXwKU8RFWxy90Oec,1297
5063
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.yaml,sha256=UQR2md8rIHXxJyRGc6zzhgGFEd4NlIFdt8GXr1gcN_U,645
5064
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.yaml,sha256=_iwL1GhUSg8iMRIXbhZykh2Mc1abj_w5T-TRCflC_S0,768
5065
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.yaml,sha256=6CU37922ks-36JpZt41xBF50OfqATLIocY0dgdn7iDw,1426
5066
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.yaml,sha256=amSS_vBGRQe0jeYxoLbAzAi2CD8-Tf8WiZdBWZSBRRk,950
5067
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.yaml,sha256=GT2JlPqil7yn8brsnPdwzXVw3YOZesJabM5sfrL7QIQ,3017
5068
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_eligible.yaml,sha256=_ChGjJxpgeHM05s7JnQ-YrV9OdN2LtbLUdtUKI6PjEE,3064
5069
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.yaml,sha256=h7NPH_-coGsBKcDGgUexYDZXeslaPRGFnSwHRZBmlhY,2215
5070
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.yaml,sha256=TfrtvMnqkNOuRRwB7rWLxZ7U5sDpiIsBeMyzVefuRwI,1608
5071
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.yaml,sha256=c_3_6hgpwU_E7YljBTry-qOzyDybfbIyYpcnv4RJDR0,1107
5072
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.yaml,sha256=YdAswg9KFVCctK-3phlxE_eo-WOfRVHJxi8aLx4IS9A,2680
5073
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.yaml,sha256=11_1L5yff7M7Z8Plshde2P5Va9VERO5C8l0nkCxebnQ,1483
5074
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.yaml,sha256=Cdl-ic1_J-3WmDSYbU61v80wJ6bib523WxMBuSFNFNI,1114
5075
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.yaml,sha256=bIjpZjt3WiNozUnWpiXkxRjb54CUsdEsNTPfQBWxiSE,1080
5076
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.yaml,sha256=6Ffd1tI-qCIioZ_nHb2WxIGxwvkUkUePJ6N9BeUZMq4,951
5077
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.yaml,sha256=GO3KUOhERgdaTL_0DHAeUXTD1HhFQMRK9MiRWEcMBao,1291
5078
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf.yaml,sha256=JhdaU8KI5pux5pqdC3MBFfsqyYOHxyNy6MMZxGs1Z0s,1268
5079
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.yaml,sha256=uzLXuXc6p0esRB6nQOA_EZzakPg824PcV3kz005CLMQ,467
5080
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.yaml,sha256=fMR9FR2ZEMLeGqyAAvVjcrGxWODR1l2uDn5B1bBs3Rs,3875
5081
+ policyengine_us/tests/policy/baseline/gov/states/tx/tanf/resources/tx_tanf_countable_resources.yaml,sha256=zVfKx3uGM2yt1MZ-v9WqXz5jgh0tlJKluhoqNxw_gQQ,1039
5032
5082
  policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/integration.yaml,sha256=ywuvJ3afrcrtkiXjit6m0LfOCLIfAr3fpm7xXzzcMGg,1297
5033
5083
  policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/ut_income_tax_before_credits.yaml,sha256=JmDB8-C4IZ6y0BbyzjyOIFmZuF2a44p5RlKILLdlvEo,198
5034
5084
  policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/ut_income_tax_before_non_refundable_credits.yaml,sha256=L3OwPtc8Pb5eraRUMODnB23mvS51qcLh_G_ogMgaLeQ,871
@@ -5285,6 +5335,7 @@ policyengine_us/tests/policy/baseline/household/demographic/geographic/county/fi
5285
5335
  policyengine_us/tests/policy/baseline/household/demographic/household/county_str.yaml,sha256=Ocgx2tgPj1cgXf0L1W3Id8FFFIRJko8xaa5hLaliCmQ,134
5286
5336
  policyengine_us/tests/policy/baseline/household/demographic/person/immigration_status.yaml,sha256=Q9lF4EPbgw4XxPtIGEE6BHRlM1882JU7zLy8QogDUTo,413
5287
5337
  policyengine_us/tests/policy/baseline/household/demographic/person/is_child_dependent.yaml,sha256=O-osoiYeJfrb7jvGTZQU9fatTHHOGlzCSRAok6IRfYU,888
5338
+ policyengine_us/tests/policy/baseline/household/demographic/person/is_citizen_or_legal_immigrant.yaml,sha256=jcOs7fvhYivngk9Vx9JKkqcP4c3uOuhIHve-gWtcOdg,1380
5288
5339
  policyengine_us/tests/policy/baseline/household/demographic/person/is_in_k12_school.yaml,sha256=zDrwLocENa2wnfOqvJYcPisvwvpNnaJm7oBsrYkb7-8,463
5289
5340
  policyengine_us/tests/policy/baseline/household/demographic/person/is_married.yaml,sha256=Kt3JeBHB6AaIzEI_ZibLmuibE8FwUyz7vswWjO1TmJg,560
5290
5341
  policyengine_us/tests/policy/baseline/household/demographic/person/is_mother.yaml,sha256=C645azfhfngjTj1XI6uJbqCprkOrL6V-UIuLIbUuHck,222
@@ -7837,7 +7888,34 @@ policyengine_us/variables/gov/states/tx/fpp/tx_fpp_benefit.py,sha256=BGgWBNtpMiJ
7837
7888
  policyengine_us/variables/gov/states/tx/fpp/tx_fpp_eligible.py,sha256=DtpscNWnkKD5VMu4R8eO36n0JKz49NFso6X5pSDn3qo,705
7838
7889
  policyengine_us/variables/gov/states/tx/fpp/tx_fpp_income_eligible.py,sha256=dz14p8N3emTk-IaarVfa_PMa8Qn9AAxuEvv9NdF9n14,697
7839
7890
  policyengine_us/variables/gov/states/tx/fpp/tx_fpp_income_limit.py,sha256=BnX2-InpVAeDEOFkfoN_-KlTPoDwA8ef4EH__xeUqVU,842
7840
- policyengine_us/variables/gov/states/tx/tanf/tx_tanf_income_limit.py,sha256=8O9M4QkG532dsMLKXe9yyRGY_fRCjN6sqWnDUzlTvYw,549
7891
+ policyengine_us/variables/gov/states/tx/tanf/tx_regular_tanf.py,sha256=hjZOqH0oaJtbFooPVmpRvwyxmaaTLlCy2QDH5gr8ewQ,973
7892
+ policyengine_us/variables/gov/states/tx/tanf/tx_tanf.py,sha256=An5taiImc71UbUSz_ihaeSzFqRzkQzg0PVB-neagy9A,807
7893
+ policyengine_us/variables/gov/states/tx/tanf/tx_tanf_payment_standard.py,sha256=kj6A5pNnbiHlxbVZSfrx5Z9-97620YBuXOsUDqFSFuA,1823
7894
+ policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.py,sha256=5r1hprYOs_g8bj1HFXsgJXKOC6WF75B9Vjs5qBj1eBw,911
7895
+ policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.py,sha256=O1eA1u9IqrNkae44Ou7tHktevjRw-jSNJhkZBCEcSiM,514
7896
+ policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.py,sha256=xUcqjg5WIjJjWjgMzRR5d6xEu8pVIf9Pf9_lKznIAQc,664
7897
+ policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.py,sha256=QwspG5Y_EdMu-I7tnGO13WeYaC-HQrhM00bpL2ug9_w,866
7898
+ policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.py,sha256=ztl24nk9agcwcph7pBsWABK4vLkmLwHKxnvRp7Qxocs,862
7899
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.py,sha256=_IItcW1VOH3lftYDCJIvRXPFSi4bYekUEb3_UY6Bk3k,2047
7900
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.py,sha256=m5xXJzrEKJETPZCVLxx_xLMUmbDHj1s8GTGlMqO7ARA,763
7901
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.py,sha256=fsTk0SJDq-x3MqP7TalQ6IlTcYC8i86CvbEE_dkqalc,1985
7902
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_eligible.py,sha256=8EVbygsHS2ax66IXhnXNWj7xMj14VvBwcByMHu56iDM,1141
7903
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.py,sha256=0hptid-R7H-Hcxw_GqqAY61Z6bWDdU7o2v-cBAFm_rQ,1685
7904
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.py,sha256=2ne-zb82w7Kxthw3sGgDXukeAYFLrfLqZUVXgHBrxd4,920
7905
+ policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.py,sha256=jh2kA4LRenJrCo24-4l3YYmhZZiYM8n6y8y2vAnNVbw,683
7906
+ policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_countable_income.py,sha256=beCvoxMkRg6CkGTktUuhlvo5KHEOeujdXN696N4IM2o,571
7907
+ policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.py,sha256=Qu1FgqEuq4_lGJ2Abo4ch0rnL3GgGcvut-26usziZY4,1781
7908
+ policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.py,sha256=E7nMwCRuqgeXlwlm7o4mSB_0HfInuYDZ-odSHD9KKPQ,800
7909
+ policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.py,sha256=BVKFIcz4EWqshyrX0DMDzd2ouIwO1d8_ueL73YlG-NM,1593
7910
+ policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.py,sha256=veSjahfgbkz_XeEz36yxf5_UR2ZMIBGjC_UrkgusBF4,995
7911
+ policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.py,sha256=e03GpMQonTqEz2PmcWTWGBmrlh9gg-EhguiRCty2sao,1982
7912
+ policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_gross_earned_income.py,sha256=POVK7MWqdH9UpfKWoK9CqJa57AqOf6ZfYzjLc0IOqD8,490
7913
+ policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.py,sha256=MdGw3Ohx8RY1s82oqYX5Jt5qduHsQbo6O0XbiGC_P4w,912
7914
+ policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_gross_unearned_income.py,sha256=NQ1qOHu6aUDPLOC-4AnZWvbYUZ6wKNOfuISNNAhNOm8,496
7915
+ policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf.py,sha256=eAFXRKs0IHxzG0L6RRDPV1HxgpnTzJBHFHcAUSFi-d4,574
7916
+ policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.py,sha256=ZFu5qFD7u5PT6D64W9Ug8FtStLWDo_wqQvVCfJSJTf4,963
7917
+ policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.py,sha256=4JUJmtG7vzRlL7pIc8TpOoeBmcuKwPAB-UB2TRi2a7U,1457
7918
+ policyengine_us/variables/gov/states/tx/tanf/resources/tx_tanf_countable_resources.py,sha256=_-Qn4fLF6Hj6cDFh4H3WBk_6bOG0GAfAw4wO_rMSPjQ,1271
7841
7919
  policyengine_us/variables/gov/states/ut/README.md,sha256=JejErxrT7pBikQzTXA3jm2IRzAqBwwiyCpUgBcJBQMU,1644
7842
7920
  policyengine_us/variables/gov/states/ut/tax/income/ut_income_tax.py,sha256=JNGaNbMxlF4odCHofyhXqn5hCd-NBJnGNi3JzOU4RLY,417
7843
7921
  policyengine_us/variables/gov/states/ut/tax/income/ut_income_tax_before_credits.py,sha256=unVWe4rzuWZ3UfwcD8riMnRO0Ovp0gAZ3Ohs3VjEUSg,624
@@ -8214,6 +8292,7 @@ policyengine_us/variables/household/demographic/person/is_adult.py,sha256=mUcYAD
8214
8292
  policyengine_us/variables/household/demographic/person/is_blind.py,sha256=frk6ZNlsMqsfsDO7ZoABFd2pR_6z9hbJ-xHepnuUulE,162
8215
8293
  policyengine_us/variables/household/demographic/person/is_breastfeeding.py,sha256=MqeNwfbova19xehyUhAaoIifYj7kRWuJ48gp5hwf5KQ,178
8216
8294
  policyengine_us/variables/household/demographic/person/is_child_dependent.py,sha256=cwte7p-HAdQluxqkNEopLNEFSsb4UnICki5GsjFDVXs,623
8295
+ policyengine_us/variables/household/demographic/person/is_citizen_or_legal_immigrant.py,sha256=bezaUmpuBTAsgg8GRH1WPB8RfnymAeMZlVcw6bEftZo,811
8217
8296
  policyengine_us/variables/household/demographic/person/is_computer_scientist.py,sha256=PbGpcTIAmSyLHth6wwkRZGMwGv-lEBitDF8HBSH-I2U,284
8218
8297
  policyengine_us/variables/household/demographic/person/is_deaf.py,sha256=5COFeGiYHCSzsA0PJGpQZgg2N9hJz5kiv3thAX4v330,160
8219
8298
  policyengine_us/variables/household/demographic/person/is_deceased.py,sha256=mPsfN5ML1s295FQr4YfIQ3aUVCXaaIQ6LOMeG1IzQSo,175
@@ -8624,8 +8703,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8624
8703
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8625
8704
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8626
8705
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8627
- policyengine_us-1.418.0.dist-info/METADATA,sha256=E6xSVGdin-Z2QTEBTJWh4z-mjk-wV2UIXxnlXva-ryU,1649
8628
- policyengine_us-1.418.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8629
- policyengine_us-1.418.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8630
- policyengine_us-1.418.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8631
- policyengine_us-1.418.0.dist-info/RECORD,,
8706
+ policyengine_us-1.419.0.dist-info/METADATA,sha256=T8vXx84LshfMx4p0KVPocl98Vpd0QWzo8YtSOahocHc,1649
8707
+ policyengine_us-1.419.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8708
+ policyengine_us-1.419.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8709
+ policyengine_us-1.419.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8710
+ policyengine_us-1.419.0.dist-info/RECORD,,
@@ -1,31 +0,0 @@
1
- description: Texas limits its TANF eligibility to households with income below this amount, depending on household size.
2
- metadata:
3
- label: Texas TANF monthly income limit
4
- type: single_amount
5
- threshold_unit: person
6
- amount_unit: currency-USD
7
- period: month
8
- reference:
9
- - title: TANF Cash Help
10
- href: https://www.hhs.texas.gov/services/financial/cash/tanf-cash-help
11
- brackets:
12
- - threshold:
13
- 2023-01-01: 1
14
- amount:
15
- 2023-01-01: 2_265
16
- - threshold:
17
- 2023-01-01: 2
18
- amount:
19
- 2023-01-01: 3_052
20
- - threshold:
21
- 2023-01-01: 3
22
- amount:
23
- 2023-01-01: 3_839
24
- - threshold:
25
- 2023-01-01: 4
26
- amount:
27
- 2023-01-01: 4_625
28
- - threshold:
29
- 2023-01-01: 5
30
- amount:
31
- 2023-01-01: 5_412
@@ -1,17 +0,0 @@
1
- - name: Two-person household has $3,052 monthly TANF income limit in 2023.
2
- period: 2023
3
- absolute_error_margin: 0
4
- input:
5
- spm_unit_size: 2
6
- state_code: TX
7
- output:
8
- tx_tanf_income_limit: 3_052 * 12
9
-
10
- - name: Only applies to households in Texas.
11
- period: 2023
12
- absolute_error_margin: 0
13
- input:
14
- spm_unit_size: 2
15
- state_code: CA
16
- output:
17
- tx_tanf_income_limit: 0
@@ -1,18 +0,0 @@
1
- from policyengine_us.model_api import *
2
-
3
-
4
- class tx_tanf_income_limit(Variable):
5
- value_type = float
6
- entity = SPMUnit
7
- label = "Texas TANF income limit"
8
- unit = USD
9
- definition_period = YEAR
10
- reference = (
11
- "https://www.hhs.texas.gov/services/financial/cash/tanf-cash-help"
12
- )
13
- defined_for = StateCode.TX
14
-
15
- def formula(spm_unit, period, parameters):
16
- size = spm_unit("spm_unit_size", period)
17
- p = parameters(period).gov.states.tx.tanf
18
- return p.monthly_income_limit.calc(size) * MONTHS_IN_YEAR