Skip to content

Commit 8649b3a

Browse files
committed
Merge branch 'main' of https://github.com/PolicyEngine/policyengine-us into hua7450/issue7165
2 parents f292c80 + b938ca5 commit 8649b3a

File tree

13 files changed

+417
-21
lines changed

13 files changed

+417
-21
lines changed

.github/workflows/push.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: Push
22
on:
33
push:
44
branches: [main]
5-
# Concurrency: queues runs to ensure each merge completes its versioning/publishing
6-
concurrency:
7-
group: ${{ github.workflow }}-${{ github.ref }}
8-
cancel-in-progress: true
5+
96
jobs:
107
Lint:
118
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.500.2] - 2026-01-13 23:26:02
9+
10+
### Fixed
11+
12+
- Riverside County General Relief eligibility now correctly excludes units where all persons are ineligible.
13+
- Riverside County General Relief SSI check changed from unit-level to person-level, so only the individual receiving SSI is excluded, not all household members.
14+
15+
## [1.500.1] - 2026-01-13 23:22:39
16+
17+
### Changed
18+
19+
- Remove concurrency block from push workflow to allow parallel CI runs.
20+
21+
## [1.500.0] - 2026-01-13 22:53:31
22+
23+
### Added
24+
25+
- Add il_aabd_use_reported_ssi flag to allow API partners to override SSI income for IL AABD calculation.
26+
27+
## [1.499.1] - 2026-01-13 22:35:23
28+
29+
### Fixed
30+
31+
- Fix test_batched.py incorrectly marking tests as passed when failure count ends in 0.
32+
- Fix push.yaml concurrency to queue runs instead of cancelling versioning jobs.
33+
834
## [1.499.0] - 2026-01-12 19:45:59
935

1036
### Added
@@ -14253,6 +14279,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1425314279

1425414280

1425514281

14282+
[1.500.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.500.1...1.500.2
14283+
[1.500.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.500.0...1.500.1
14284+
[1.500.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.499.1...1.500.0
14285+
[1.499.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.499.0...1.499.1
1425614286
[1.499.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.498.1...1.499.0
1425714287
[1.498.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.498.0...1.498.1
1425814288
[1.498.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.497.1...1.498.0

changelog.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12196,3 +12196,29 @@
1219612196
- CDCTC reform that makes families eligible if at least one parent works (instead
1219712197
of requiring both parents to work)
1219812198
date: 2026-01-12 19:45:59
12199+
- bump: patch
12200+
changes:
12201+
fixed:
12202+
- Fix test_batched.py incorrectly marking tests as passed when failure count ends
12203+
in 0.
12204+
- Fix push.yaml concurrency to queue runs instead of cancelling versioning jobs.
12205+
date: 2026-01-13 22:35:23
12206+
- bump: minor
12207+
changes:
12208+
added:
12209+
- Add il_aabd_use_reported_ssi flag to allow API partners to override SSI income
12210+
for IL AABD calculation.
12211+
date: 2026-01-13 22:53:31
12212+
- bump: patch
12213+
changes:
12214+
changed:
12215+
- Remove concurrency block from push workflow to allow parallel CI runs.
12216+
date: 2026-01-13 23:22:39
12217+
- bump: patch
12218+
changes:
12219+
fixed:
12220+
- Riverside County General Relief eligibility now correctly excludes units where
12221+
all persons are ineligible.
12222+
- Riverside County General Relief SSI check changed from unit-level to person-level,
12223+
so only the individual receiving SSI is excluded, not all household members.
12224+
date: 2026-01-13 23:26:02

policyengine_us/parameters/gov/states/il/dhs/aabd/income/sources/unearned.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ values:
33
2021-01-01:
44
#- pension_income # exempt
55
- social_security
6-
- ssi
6+
- il_aabd_ssi_income
77
- disability_benefits
88
#- veterans_benefits # exempt
99
- workers_compensation

policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/integration.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,100 @@
8686
ca_riv_general_relief_special_needs_amount: 2.5
8787
ca_riv_general_relief: 22.93
8888
# 436 + 2.5 - 415.57
89+
90+
- name: Case 4, single senior with moderate income.
91+
period: 2026-01
92+
absolute_error_margin: 0.5
93+
input:
94+
people:
95+
person1:
96+
age: 65
97+
employment_income: 24_060
98+
households:
99+
household:
100+
members: [person1]
101+
in_riv: true
102+
spm_units:
103+
spm_unit:
104+
members: [person1]
105+
housing_cost: 700
106+
output:
107+
# Age 65 qualifies for SSI ($36.4/month)
108+
# ineligible_person=true due to SSI, so not eligible for GR
109+
ssi: 36.4
110+
ca_riv_general_relief_ineligible_person: true
111+
ca_riv_general_relief_income_eligible: true
112+
ca_riv_general_relief_eligible: false # Fixed: was true (BUG)
113+
ca_riv_general_relief: 0 # Fixed: was 163.8 (BUG)
114+
115+
- name: Case 5, single adult age 64 with moderate income.
116+
period: 2026-01
117+
input:
118+
people:
119+
person1:
120+
age: 64
121+
employment_income: 24_060
122+
households:
123+
household:
124+
members: [person1]
125+
in_riv: true
126+
spm_units:
127+
spm_unit:
128+
members: [person1]
129+
housing_cost: 700
130+
output:
131+
# Age 64 doesn't qualify for SSI
132+
ssi: 0
133+
ca_riv_general_relief_ineligible_person: false
134+
ca_riv_general_relief_income_eligible: false
135+
ca_riv_general_relief_eligible: false
136+
ca_riv_general_relief: 0
137+
138+
- name: Case 6, single senior with high rent.
139+
period: 2026-01
140+
absolute_error_margin: 0.5
141+
input:
142+
people:
143+
person1:
144+
age: 65
145+
employment_income: 24_060
146+
households:
147+
household:
148+
members: [person1]
149+
in_riv: true
150+
spm_units:
151+
spm_unit:
152+
members: [person1]
153+
housing_cost: 700 * 12
154+
output:
155+
# Same as Case 4 but high rent (700 * 12)
156+
# Age 65 qualifies for SSI, ineligible_person=true, so not eligible for GR
157+
ssi: 36.4
158+
ca_riv_general_relief_ineligible_person: true
159+
ca_riv_general_relief_income_eligible: true
160+
ca_riv_general_relief_eligible: false # Fixed: was true (BUG)
161+
ca_riv_general_relief: 0 # Fixed: was 328.5 (BUG)
162+
163+
- name: Case 7, single adult age 64 with high rent.
164+
period: 2026-01
165+
input:
166+
people:
167+
person1:
168+
age: 64
169+
employment_income: 24_060
170+
households:
171+
household:
172+
members: [person1]
173+
in_riv: true
174+
spm_units:
175+
spm_unit:
176+
members: [person1]
177+
housing_cost: 700 * 12
178+
output:
179+
# Same as Case 5 but high rent (700 * 12)
180+
# Age 64 doesn't qualify for SSI
181+
ssi: 0
182+
ca_riv_general_relief_ineligible_person: false
183+
ca_riv_general_relief_income_eligible: false
184+
ca_riv_general_relief_eligible: false
185+
ca_riv_general_relief: 0
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
- name: Default behavior - uses calculated SSI
2+
period: 2024-01
3+
input:
4+
state_code: IL
5+
ssi: 12_000 # Annual SSI input
6+
ssi_reported: 0
7+
il_aabd_use_reported_ssi: false
8+
output:
9+
il_aabd_ssi_income: 1_000 # Monthly (12_000 / 12)
10+
11+
- name: Override - uses reported SSI when flag is true
12+
period: 2024-01
13+
input:
14+
state_code: IL
15+
ssi: 12_000 # Annual calculated SSI
16+
ssi_reported: 0 # Reported as 0
17+
il_aabd_use_reported_ssi: true
18+
output:
19+
il_aabd_ssi_income: 0 # Uses reported value (0 / 12 = 0)
20+
21+
- name: Override with partial reported SSI
22+
period: 2024-01
23+
input:
24+
state_code: IL
25+
ssi: 12_000 # Annual calculated SSI
26+
ssi_reported: 6_000 # Reported partial amount (annual)
27+
il_aabd_use_reported_ssi: true
28+
output:
29+
il_aabd_ssi_income: 500 # Monthly (6_000 / 12)
30+
31+
- name: Default behavior without explicit flag
32+
period: 2024-01
33+
input:
34+
state_code: IL
35+
ssi: 9_000 # Annual
36+
output:
37+
il_aabd_ssi_income: 750 # Monthly (9_000 / 12)

0 commit comments

Comments
 (0)