policyengine-us 1.352.0__py3-none-any.whl → 1.353.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.

@@ -47,3 +47,109 @@
47
47
  living_arrangements_allow_for_food_preparation: false
48
48
  output:
49
49
  ca_state_supplement_payment_standard: 2_639
50
+
51
+ - name: Case A ,single disabled parent with non eligible dependent child.
52
+ period: 2025-01
53
+ input:
54
+ people:
55
+ person1:
56
+ age: 30
57
+ is_disabled: true
58
+ person2:
59
+ age: 4
60
+ is_tax_unit_dependent: true
61
+ spm_units:
62
+ spm_unit:
63
+ members: [person1, person2]
64
+ households:
65
+ household:
66
+ members: [person1, person2]
67
+ state_code: CA
68
+ living_arrangements_allow_for_food_preparation: true
69
+ output:
70
+ ca_state_supplement_payment_standard: 1_206.94
71
+
72
+ - name: Case A1, single disabled parent with a disabled child.
73
+ period: 2025-01
74
+ input:
75
+ people:
76
+ person1:
77
+ age: 30
78
+ is_disabled: true
79
+ person2:
80
+ age: 4
81
+ is_tax_unit_dependent: true
82
+ is_disabled: true
83
+ spm_units:
84
+ spm_unit:
85
+ members: [person1, person2]
86
+ households:
87
+ household:
88
+ members: [person1, person2]
89
+ state_code: CA
90
+ living_arrangements_allow_for_food_preparation: true
91
+ output:
92
+ ca_state_supplement_payment_standard: 2_271.21 # 1206.94 + 1064.27
93
+
94
+ - name: Case A2, single healthy parent with a disabled child.
95
+ period: 2025-01
96
+ input:
97
+ people:
98
+ person1:
99
+ age: 30
100
+ is_tax_unit_head: true
101
+ person2:
102
+ age: 4
103
+ is_tax_unit_dependent: true
104
+ is_disabled: true
105
+ spm_units:
106
+ spm_unit:
107
+ members: [person1, person2]
108
+ households:
109
+ household:
110
+ members: [person1, person2]
111
+ state_code: CA
112
+ living_arrangements_allow_for_food_preparation: true
113
+ output:
114
+ ca_state_supplement_payment_standard: 1_064.27
115
+
116
+ - name: Case B ,joint filers, one of them is disabled.
117
+ period: 2025-01
118
+ input:
119
+ people:
120
+ person1:
121
+ age: 30
122
+ is_disabled: true
123
+ person2:
124
+ age: 22
125
+ spm_units:
126
+ spm_unit:
127
+ members: [person1, person2]
128
+ households:
129
+ household:
130
+ members: [person1, person2]
131
+ state_code: CA
132
+ living_arrangements_allow_for_food_preparation: true
133
+ output:
134
+ ca_state_supplement_payment_standard: 1_206.94
135
+
136
+ - name: Case B1 ,joint filers, both of them are disabled.
137
+ period: 2025-01
138
+ input:
139
+ people:
140
+ person1:
141
+ age: 30
142
+ is_disabled: true
143
+ person2:
144
+ age: 22
145
+ is_disabled: true
146
+ spm_units:
147
+ spm_unit:
148
+ members: [person1, person2]
149
+ households:
150
+ household:
151
+ members: [person1, person2]
152
+ state_code: CA
153
+ living_arrangements_allow_for_food_preparation: true
154
+ output:
155
+ ca_state_supplement_payment_standard: 2_057.83
@@ -25,10 +25,4 @@ class ca_state_supplement_dependent_amount(Variable):
25
25
  dependent_count = spm_unit.sum(
26
26
  dependent & dependent_age_eligible & (is_disabled | blind)
27
27
  )
28
- eligible_person = person("ca_state_supplement_eligible_person", period)
29
- eligible_head_or_spouse_present = spm_unit.any(eligible_person)
30
- return (
31
- dependent_count
32
- * p.dependent.amount
33
- * eligible_head_or_spouse_present
34
- )
28
+ return dependent_count * p.dependent.amount
@@ -1,7 +1,7 @@
1
1
  from policyengine_us.model_api import *
2
2
 
3
3
 
4
- class people(Variable):
4
+ class person_count(Variable):
5
5
  value_type = float
6
6
  entity = Person
7
7
  label = "People represented"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.352.0
3
+ Version: 1.353.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3578,7 +3578,7 @@ policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_sta
3578
3578
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_food_allowance_eligible.yaml,sha256=Yagv5Nk9PfV8jjx8-dVPMw8MyNq3irfy8weDNjv6Jao,746
3579
3579
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_medical_care_facility_amount.yaml,sha256=q_EQsRmN0APl0U72eEkFlF8xVAEGDeoZQ8YiUN1ceX4,1569
3580
3580
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/ca_state_supplement_out_of_home_care_facility_amount.yaml,sha256=9wEfc_1ab-efm2znIBtUaRcJPghaW0KBMmCimNXGUmk,1601
3581
- policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/integration.yaml,sha256=RcS9Daej5TYYRN6I5FNvds1EiNdJ78e4bwHJ1sl2fyo,1298
3581
+ policyengine_us/tests/policy/baseline/gov/states/ca/cdss/state_supplement/integration.yaml,sha256=NikkFHumaeHGlgSaQKEUUd9bzRQFBwEE19_7yNCgDak,3864
3582
3582
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/tanf/integration.yaml,sha256=X44QlABGqjnPncCx_Ao-BS6S9Myu1pc2g6mlDfPrB5E,1790
3583
3583
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/tanf/cash/ca_tanf.yaml,sha256=ye1Rr1a1u4ynKCOK_SNySpKpSLFWCfDjdBdOTBJgzLI,876
3584
3584
  policyengine_us/tests/policy/baseline/gov/states/ca/cdss/tanf/cash/eligibility/ca_tanf_applicant_financial_test.yaml,sha256=HAl2h6VSjZ1nu4rbf3Wru4yWE9IZME2HEy1dZiwFX5A,560
@@ -5839,7 +5839,7 @@ policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/c
5839
5839
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_aged_disabled_amount.py,sha256=8Omd25tAB51zaOoM19j7OUreX1GLGD2-CIDj8UhDEiY,911
5840
5840
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_aged_disabled_count.py,sha256=j_lCe86Pi1H2A9YJMirXUiXiun5Z-boc9ctRvIGeNnQ,941
5841
5841
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_blind_amount.py,sha256=wtFlwHOFX4OVtWYdmF78220gqub_gnLxsF7NaqbZCH4,1285
5842
- policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py,sha256=xFlOOa9YrIs8EJfoou8lhtypAmelHelmX2adrCmQUZI,1299
5842
+ policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_dependent_amount.py,sha256=sBQQth8aAi8ljWAjKuNo1PwsHeEpMsLfBMFc_GwK9DM,1065
5843
5843
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_food_allowance.py,sha256=TwSiGEz-_8q_-K6UGBjBmLiSAKxZ97vHyi9KpBncLeE,942
5844
5844
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_food_allowance_eligible.py,sha256=eGtuReOPUSOkPmT_IPOx_YE_jAzquyMqAS5o7C24718,821
5845
5845
  policyengine_us/variables/gov/states/ca/cdss/state_supplement/payment_standard/ca_state_supplement_medical_care_facility_amount.py,sha256=qwJ1kf9Fzpr4YPAhAp_Rzs-j_xZSMlrrFwbeoFKLV9k,1010
@@ -7760,7 +7760,7 @@ policyengine_us/variables/household/demographic/person/is_surviving_child_of_dis
7760
7760
  policyengine_us/variables/household/demographic/person/is_surviving_spouse_of_disabled_veteran.py,sha256=xtJ7ZoD0EoTocweoQHzacknU-VshqvKn_LusCc95jkE,221
7761
7761
  policyengine_us/variables/household/demographic/person/is_veteran.py,sha256=IWRoK5OVD41DBVymQlxJefVHSUPhWXqtNOokZX4hSVc,522
7762
7762
  policyengine_us/variables/household/demographic/person/own_children_in_household.py,sha256=SFulI2WcpX_VeCugBYR-riI8FRXAS_Fm-LnZHwiEEsY,214
7763
- policyengine_us/variables/household/demographic/person/people.py,sha256=EYLp25usXjNx_dcZKhjHOJxKKStRZXfxuQeYWDTCZL0,195
7763
+ policyengine_us/variables/household/demographic/person/person_count.py,sha256=Ai3jDNpodfnAf2GVaPYoo0KUUXUwP-gTy9cPmDS31h8,201
7764
7764
  policyengine_us/variables/household/demographic/person/race.py,sha256=5mtRUZZ9_0KF7sabvlW-FvA5MgL3NdqufgxAhXzVjtI,924
7765
7765
  policyengine_us/variables/household/demographic/person/receives_or_needs_protective_services.py,sha256=F4DN9e1-6NVQaZeRJjoITW3EnYP2YGeQWTlpTcTvmDc,227
7766
7766
  policyengine_us/variables/household/demographic/person/retired_from_federal_government.py,sha256=Ouj952ujVRsfJ9zp1gK3z6txnrZrfvAtm6nKY0lUbwI,265
@@ -8126,8 +8126,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8126
8126
  policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
8127
8127
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8128
8128
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8129
- policyengine_us-1.352.0.dist-info/METADATA,sha256=kvcpBQJ7IVyRd7h3IZNShSDb-FJl8Pzs93zNYBrJj8Q,1693
8130
- policyengine_us-1.352.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8131
- policyengine_us-1.352.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8132
- policyengine_us-1.352.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8133
- policyengine_us-1.352.0.dist-info/RECORD,,
8129
+ policyengine_us-1.353.0.dist-info/METADATA,sha256=utmiZ_Pn4IS1UYbFej0oWwMDY1pVjFMeGGgIm2Mgwss,1693
8130
+ policyengine_us-1.353.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8131
+ policyengine_us-1.353.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8132
+ policyengine_us-1.353.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8133
+ policyengine_us-1.353.0.dist-info/RECORD,,