forked from PolicyEngine/policyengine-us
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/PolicyEngine/policyengine-us into hua7450/issue5115
- Loading branch information
Showing
12 changed files
with
167 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
policyengine_us/parameters/gov/contrib/biden/budget_2025/net_investment_income/rate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...cyengine_us/parameters/gov/contrib/biden/budget_2025/net_investment_income/threshold.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
...gine_us/tests/policy/baseline/gov/hhs/medicaid/income/tax_unit_medicaid_income_level.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
- name: Multiple people with income | ||
period: 2024 | ||
input: | ||
people: | ||
head: | ||
current_pregnancies: 0 | ||
spouse: | ||
current_pregnancies: 0 | ||
tax_units: | ||
tax_unit: | ||
medicaid_magi: 20_440 | ||
tax_unit_size: 2 | ||
members: [head, spouse] | ||
households: | ||
household: | ||
state_group_str: CONTIGUOUS_US | ||
output: | ||
tax_unit_medicaid_income_level: 1 | ||
|
||
- name: Multiple people with no income | ||
period: 2024 | ||
input: | ||
people: | ||
head: | ||
current_pregnancies: 0 | ||
spouse: | ||
current_pregnancies: 0 | ||
tax_units: | ||
tax_unit: | ||
medicaid_magi: 0 | ||
tax_unit_size: 2 | ||
members: [head, spouse] | ||
households: | ||
household: | ||
state_group_str: CONTIGUOUS_US | ||
output: | ||
tax_unit_medicaid_income_level: 0 | ||
|
||
- name: Multiple people with income and a pregnant person | ||
period: 2024 | ||
input: | ||
people: | ||
head: | ||
current_pregnancies: 1 | ||
spouse: | ||
current_pregnancies: 0 | ||
tax_units: | ||
tax_unit: | ||
medicaid_magi: 25_820 | ||
tax_unit_size: 2 | ||
members: [head, spouse] | ||
households: | ||
household: | ||
state_group_str: CONTIGUOUS_US | ||
output: | ||
tax_unit_medicaid_income_level: 1 | ||
|
||
- name: Multiple people with income and a pregnant person expecting twins | ||
period: 2024 | ||
input: | ||
people: | ||
head: | ||
current_pregnancies: 2 | ||
spouse: | ||
current_pregnancies: 0 | ||
tax_units: | ||
tax_unit: | ||
medicaid_magi: 31_200 | ||
tax_unit_size: 2 | ||
members: [head, spouse] | ||
households: | ||
household: | ||
state_group_str: CONTIGUOUS_US | ||
output: | ||
tax_unit_medicaid_income_level: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
policyengine_us/variables/household/demographic/person/current_pregnancies.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from policyengine_us.model_api import * | ||
|
||
|
||
class current_pregnancies(Variable): | ||
value_type = int | ||
entity = Person | ||
definition_period = YEAR | ||
label = "The number of children a pregnant person is expecting" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
setup( | ||
name="policyengine-us", | ||
version="1.128.0", | ||
version="1.129.3", | ||
author="PolicyEngine", | ||
author_email="[email protected]", | ||
long_description=readme, | ||
|
@@ -34,7 +34,7 @@ | |
), | ||
], | ||
install_requires=[ | ||
"policyengine-core>=3.8.1", | ||
"policyengine-core>=3.10.0", | ||
"policyengine-us-data==1.11.0", | ||
"microdf-python", | ||
"tqdm", | ||
|