Skip to content
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

Update policyengine-core #496

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
changed:
- Update policyengine-core.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@
people:
parent:
age: 30
is_head: true
is_spouse: false
c1:
age: 10
is_head: false
is_spouse: false
c2:
age: 9
household:
members: [parent, c1, c2]
province_code: MB
is_head: false
is_spouse: false
households:
household:
members: [parent, c1, c2]
province_code: MB
output:
climate_action_incentive: 728

Expand All @@ -20,8 +27,11 @@
people:
head:
age: 30
is_head: true
is_spouse: true
spouse:
age: 28
is_head: false
is_spouse: true
household:
members: [head, spouse]
Expand All @@ -35,10 +45,16 @@
people:
parent:
age: 30
is_head: true
is_spouse: false
c1:
age: 10
is_head: false
is_spouse: false
c2:
age: 9
is_head: false
is_spouse: false
household:
members: [parent, c1, c2]
province_code: MB
Expand Down
10 changes: 10 additions & 0 deletions policyengine_canada/tests/gov/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
input:
people:
parent:
is_head: true
age: 40
c1:
age: 12
full_custody: false
is_head: false
is_spouse: false
household:
members: [parent, c1]
province_code: ONT
Expand Down Expand Up @@ -36,11 +39,14 @@
parent2:
age: 40
is_spouse: true
is_head: false
c1:
age: 5
full_custody: true
is_disabled: true
dtc_eligible: true
is_head: false
is_spouse: false
household:
members: [parent1, parent2, c1]
province_code: ONT
Expand All @@ -67,9 +73,13 @@
people:
parent:
age: 40
is_head: true
is_spouse: false
c1:
age: 12
full_custody: false
is_head: false
is_spouse: false
household:
members: [parent, c1]
province_code: ONT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@
parent:
age: 40
person_index: 0
is_head: true
c1:
age: 12
person_index: 1
is_head: false
is_spouse: false
c2:
age: 10
person_index: 2
is_head: false
is_spouse: false
household:
members: [parent, c1, c2]
adjusted_family_net_income: 20_000
province_code: BC
is_married: false
output:
bc_climate_action_tax_credit: 443.5

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"numexpr<3",
"pandas>=1.4.2,<2",
"plotly>=5.6.0,<6",
"policyengine_core>=2.16,<3",
"policyengine_core>=3.6.4",
"psutil<6",
"pytest",
"requests>=2.27.1,<3",
Expand Down
Loading