-
Notifications
You must be signed in to change notification settings - Fork 201
New Jersey TANF Demographic Eligible #2174
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
New Jersey TANF Demographic Eligible #2174
Conversation
Fixes PolicyEngine#2172 Co-authored-by: VioletChen0916 <VioletChen0916@users.noreply.github.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2174 +/- ##
=======================================
Coverage 97.17% 97.17%
=======================================
Files 1252 1254 +2
Lines 19828 19849 +21
Branches 164 164
=======================================
+ Hits 19268 19289 +21
Misses 534 534
Partials 26 26
☔ View full report in Codecov by Sentry. |
policyengine_us/variables/gov/states/nj/njdhs/tanf/nj_is_person_demographic_tanf_eligible.py
Outdated
Show resolved
Hide resolved
policyengine_us/variables/gov/states/nj/njdhs/tanf/nj_is_person_demographic_tanf_eligible.py
Show resolved
Hide resolved
leogoldman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for my own understanding, do we have the nj_is_demographic_tanf_eligible variable (as opposed to just using the one with the formula) for consistency with other states?
| child_under_18 = person("age", period) < 18 | ||
| is_under_19 = person("age", period) < 19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would give us more flexibility if we made these ages (18 and 19) parameters like child_age_eligible and student_age_eligible
| input: | ||
| age: 17 | ||
| output: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add is_full_time_student: false so that each test contains both the formula inputs
7926ec9 to
d2543dc
Compare
|
Consolidated into #7123 |
Fixes #2172
Co-authored-by: VioletChen0916 VioletChen0916@users.noreply.github.com
🤖 Generated by Copilot at 078b0a0
Summary
📝🆕📐
This pull request adds two new variables to the policy engine model,
nj_is_demographic_tanf_eligibleandnj_is_person_demographic_tanf_eligible, to implement the demographic eligibility criteria for New Jersey TANF. It also updates the changelog entry to reflect the new feature.Walkthrough