Skip to content

Commit

Permalink
Merge pull request #496 from PolicyEngine/core
Browse files Browse the repository at this point in the history
Update policyengine-core
  • Loading branch information
MaxGhenis authored Sep 3, 2024
2 parents 4c28bae + 6303930 commit 5ff8da6
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 5 deletions.
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

0 comments on commit 5ff8da6

Please sign in to comment.