-
Notifications
You must be signed in to change notification settings - Fork 33
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
Guaranteed Income Supplement + Spousal Allowance #102
Draft
alex-rand
wants to merge
35
commits into
PolicyEngine:master
Choose a base branch
from
alex-rand:alex-rand/issue98
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
7bcbf44
initial commit
alex-rand 5df6bd1
add gis_category template
alex-rand 0e7d914
add is_widow.py
alex-rand ff38839
more eligibility categories
alex-rand 0cdf46e
Add spouse_oas_eligible.py
alex-rand 98b5c34
spa_eligibility_age.py and age_spouse.py
alex-rand e63ab6d
spa eligibility variables + tests + gis categories
alex-rand 00b3d4a
fix the unit tests
alex-rand 1bb6f0f
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
alex-rand ed3a1c9
add gis cap values
alex-rand 33ef72f
add gis cap values
alex-rand 5fdc417
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand 77a9bde
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand 58dfb7d
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand 81749fa
base amount and unit tests
alex-rand e161995
base amount and unit tests
alex-rand 1a05aa8
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand 0575221
GIS reduction and unit tests
alex-rand af03957
Add the SPA amounts and reductions
alex-rand 9ff2067
Add the SPA amounts and reductions
alex-rand a91bcc4
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand d99197c
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand c6115cb
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand c22252e
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand 0ae0e55
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand de4d21f
breakeven variables
alex-rand 445ed44
update entities.py to include 'state'
alex-rand fe38e71
fix some years, add crossover variable
alex-rand 6bc88e5
added gis-spa couples gis reduction plateau
alex-rand 94d680a
added gis-spa couples gis reduction plateau
alex-rand c708393
Merge branch 'alex-rand/issue98' of https://github.com/alex-rand/poli…
alex-rand dc7bae1
add GIS/SPA top-up caps
alex-rand 60f73f0
GIS top-up reduction var, params, test
alex-rand 8dfe339
first full draft of gis/spa
alex-rand ef84c1b
make format
alex-rand File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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
10 changes: 10 additions & 0 deletions
10
policyengine_canada/parameters/gov/cra/benefits/gis_spa/gis_cap/one_pensioner.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,10 @@ | ||
description: Guaranteed Income Supplement maximum benefit for single OAS pensioners or married pensioners whose spouse does not qualify for OAS or SPA. Corresponds to categories SINGLE_WITH_OAS or COUPLE_ONE_OAS_SPA_INELIGIBLE | ||
values: | ||
2021-01-01: 9_449.87 | ||
metadata: | ||
period: year | ||
label: GIS Cap for Single Pensioners and Married Pensioners whose spouse doesn't qualify for GIS or SPA | ||
documentataion: Corresponds to BGISS in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
10 changes: 10 additions & 0 deletions
10
policyengine_canada/parameters/gov/cra/benefits/gis_spa/gis_cap/two_pensioners.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,10 @@ | ||
description: Guaranteed Income Supplement maximum rate in dollars for each OAS pensioner in a married couple. Corresponds to COUPLE_BOTH_OAS or COUPLE_ONE_OAS_SPA_ELIGIBLE | ||
values: | ||
2021-01-01: 6_240.18 | ||
metadata: | ||
period: year | ||
label: GIS Cap for pensioners married to a pensioner. | ||
documentataion: Corresponds to BGISM in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
25 changes: 25 additions & 0 deletions
25
policyengine_canada/parameters/gov/cra/benefits/gis_spa/gis_exemption/gis_exemption.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,25 @@ | ||||
description: Percentage of income exempt from inclusion in calculating the GIS reduction. | ||||
brackets: | ||||
- threshold: | ||||
2021-01-01: 0 | ||||
rate: | ||||
2021-01-01: 1 | ||||
- threshold: | ||||
2021-01-01: 5_000 # GISEMPEXM | ||||
rate: | ||||
2021-01-01: 0.5 # GISPEMPEXP | ||||
- threshold: | ||||
2021-01-01: 15_000 # GISPEMPEXM + GISEMPEXM | ||||
rate: | ||||
2021-01-01: 0 | ||||
metadata: | ||||
type: marginal_rate | ||||
rate_unit: /1 | ||||
threshold_unit: currency-CAD | ||||
period: year | ||||
documentation: Corresponds to GISEMPEXP and GISEMPEXM | ||||
label: Percentage of income exempt from inclusion in calculating the GIS reduction. | ||||
name: gis_basic_income_exemption_rate | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
|
||||
|
||||
|
10 changes: 10 additions & 0 deletions
10
...canada/parameters/gov/cra/benefits/gis_spa/gis_reduction/gis_spa_couple_plateau_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
description: GIS reduction rate for the 'plateau' range for a GIS recipient married to a SPA recipient. | ||
values: | ||
2021-01-01: 0 | ||
metadata: | ||
period: year | ||
label: GIS reduction rate for the 'plateau' range for a GIS recipient married to a SPA recipient. | ||
documentataion: Corresponds to GISRRM and GISRLM in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
21 changes: 21 additions & 0 deletions
21
policyengine_canada/parameters/gov/cra/benefits/gis_spa/gis_reduction/one_pensioner.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,21 @@ | ||
description: Guaranteed Income Supplement reduction for single OAS pensioners or married pensioners whose spouse does not qualify for OAS or SPA. Corresponds to categories SINGLE_WITH_OAS or COUPLE_ONE_OAS_SPA_INELIGIBLE. Corresponds to GISRRS in the SPSD/M Variable Guide | ||
brackets: | ||
- threshold: | ||
2021-01-01: 0 | ||
rate: | ||
2021-01-01: 0 | ||
- threshold: | ||
2021-01-01: 24 | ||
rate: | ||
2021-01-01: 0.5 | ||
metadata: | ||
type: marginal_rate | ||
rate_unit: /1 | ||
threshold_unit: currency-CAD | ||
period: year | ||
documentation: Corresponds to GISRRS and GISRLS | ||
label: GIS reduction for Single Pensioners and Married Pensioners whose spouse doesn't qualify for GIS or SPA | ||
name: gis_reduction_rate_for_single_pensioner_households | ||
|
||
|
||
|
17 changes: 17 additions & 0 deletions
17
policyengine_canada/parameters/gov/cra/benefits/gis_spa/gis_reduction/two_pensioners.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,17 @@ | ||
description: Reduction threshold and rate for pensioners married to pensioners. Applies to COUPLE_BOTH_OAS. Note that this calculates on couples combined income, whereas the other GIS cateogires calculate on the lone pensioner's income. Correponds to GISRRM in the SPSD/M. | ||
brackets: | ||
- threshold: | ||
2021-01-01: 0 | ||
rate: | ||
2021-01-01: 0 | ||
- threshold: | ||
2021-01-01: 48 | ||
rate: | ||
2021-01-01: 0.25 | ||
metadata: | ||
period: year | ||
label: GIS reduction for pensioners married to a pensioner. | ||
documentataion: Corresponds to GISRRM and GISRLM in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
9 changes: 9 additions & 0 deletions
9
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_cap/gis_portion.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,9 @@ | ||
description: Maximum amount of the 'GIS-portion' of the SPA. By default equal to the GIS family amount. | ||
values: | ||
1999-12-31: 6_240.18 | ||
metadata: | ||
period: year | ||
label: Maximum amount of the GIS-portion of the SPA. | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
9 changes: 9 additions & 0 deletions
9
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_cap/oas_portion.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,9 @@ | ||
description: Maximum amount of the 'OAS-portion' of the SPA. By default equal to the OAS maximum amount. | ||
values: | ||
1999-12-31: 8_226 | ||
metadata: | ||
period: year | ||
label: Maximum amount of the OAS-portion of the SPA. | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
9 changes: 9 additions & 0 deletions
9
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_reduction/spa_gis_reduction.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,9 @@ | ||||||
description: Reduction rate for the GIS portion of the SPA. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
values: | ||||||
1999-12-31: .25 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
metadata: | ||||||
period: year | ||||||
label: Reduction rate for the GIS portion of the SPA. | ||||||
reference: | ||||||
- title: SPSD/M Algorithm Guide | ||||||
|
19 changes: 19 additions & 0 deletions
19
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_reduction/spa_oas_reduction.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,19 @@ | ||
description: Reduction rate for the OAS portion of the SPA. See SPARL in the SPSD/M Parameter Guide. | ||
brackets: | ||
- threshold: | ||
2021-01-01: 0 | ||
rate: | ||
2021-01-01: 0 | ||
- threshold: | ||
2021-01-01: 48 | ||
rate: | ||
2021-01-01: 0.75 | ||
metadata: | ||
type: marginal_rate | ||
rate_unit: /1 | ||
threshold_unit: currency-CAD | ||
period: year | ||
label: Reduction rate for the OAS portion of the SPA. | ||
reference: | ||
- title: SPSD/M Algorithm Guide | ||
|
8 changes: 8 additions & 0 deletions
8
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_residency_requirement.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,8 @@ | ||
description: Number of years of canadian residency since the age of 18 required to recieve the Spousal Allowance | ||
values: | ||
2020-01-01: 10 | ||
metadata: | ||
label: SPA Residency Requirement | ||
reference: | ||
- title: Government of Canada - Spousal Allowance | ||
href: https://www.canada.ca/en/services/benefits/publicpensions/cpp/old-age-security/guaranteed-income-supplement/allowance/eligibility.html |
8 changes: 8 additions & 0 deletions
8
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_spouse_eligibility_age.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,8 @@ | ||
description: Age at which the spouse of an OAS pensioner becomes eligible for the SPA | ||
values: | ||
2020-01-01: 60 | ||
metadata: | ||
label: SPA Spouse Eligibility Age | ||
reference: | ||
- title: Government of Canada - Guaranteed Income Supplement | ||
href: https://www.canada.ca/en/services/benefits/publicpensions/cpp/old-age-security/guaranteed-income-supplement/allowance-survivor.html |
8 changes: 8 additions & 0 deletions
8
policyengine_canada/parameters/gov/cra/benefits/gis_spa/spa_widows_eligibility_age.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,8 @@ | ||
description: Age at which a widow becomes eligible for the SPA | ||
values: | ||
2020-01-01: 60 | ||
metadata: | ||
label: SPA Widow Eligibility Age | ||
reference: | ||
- title: Government of Canada - Guaranteed Income Supplement | ||
href: https://www.canada.ca/en/services/benefits/publicpensions/cpp/old-age-security/guaranteed-income-supplement/allowance-survivor.html |
10 changes: 10 additions & 0 deletions
10
policyengine_canada/parameters/gov/cra/benefits/gis_spa/topup_cap/married.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,10 @@ | ||
description: Guaranteed Income Supplement maximum top-up for married recipients of GIS or SPA. Corresponds to categories SINGLE_WITH_OAS or WIDOW_SPA_ELIGIBLE | ||
values: | ||
2021-01-01: 490.98 | ||
metadata: | ||
period: year | ||
label: GIS Top-up Cap for Married GIS or SPA Recipients | ||
documentataion: Corresponds to GISTOPMAR in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
11 changes: 11 additions & 0 deletions
11
policyengine_canada/parameters/gov/cra/benefits/gis_spa/topup_cap/singles.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,11 @@ | ||
description: Guaranteed Income Supplement maximum top-up for single recipients of GIS or SPA. Corresponds to categories SINGLE_WITH_OAS or WIDOW_SPA_ELIGIBLE | ||
values: | ||
2021-01-01: 856.32 | ||
2021-07-01: 875.70 | ||
metadata: | ||
period: year | ||
label: GIS Top-up Cap for Single GIS or SPA Recipients | ||
documentataion: Corresponds to GISTOPSNG1 and GISTOPSNG2 in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
17 changes: 17 additions & 0 deletions
17
policyengine_canada/parameters/gov/cra/benefits/gis_spa/topup_reduction/married.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,17 @@ | ||
description: Guaranteed Income Supplement Top-up turnaround point for categories SINGLE_WITH_OAS or WIDOW_SPA_ELIGIBLE | ||
brackets: | ||
- threshold: | ||
2021-01-01: 0 | ||
rate: | ||
2021-01-01: 0 | ||
- threshold: | ||
2021-01-01: 4000 | ||
rate: | ||
2021-01-01: 0.125 | ||
metadata: | ||
period: year | ||
label: GIS Top-up Income Exemption for Single GIS or SPA Recipients | ||
documentataion: Corresponds to GISTOPMINGIS and GISTOPMRRGIS in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
17 changes: 17 additions & 0 deletions
17
policyengine_canada/parameters/gov/cra/benefits/gis_spa/topup_reduction/singles.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,17 @@ | ||
description: Guaranteed Income Supplement Top-up turnaround point for categories SINGLE_WITH_OAS or WIDOW_SPA_ELIGIBLE | ||
brackets: | ||
- threshold: | ||
2021-01-01: 0 | ||
rate: | ||
2021-01-01: 0 | ||
- threshold: | ||
2021-01-01: 2000 | ||
rate: | ||
2021-01-01: 0.25 | ||
metadata: | ||
period: year | ||
label: GIS Top-up Income Exemption for Single GIS or SPA Recipients | ||
documentataion: Corresponds to GISTOPSINGIS and GISTOPSRRGIS in the SPSD/M Variable Guide | ||
reference: | ||
- title: SPSD/M Variable Guide | ||
|
48 changes: 48 additions & 0 deletions
48
policyengine_canada/tests/gov/cra/benefits/gis_spa/gis_base_amount.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,48 @@ | ||
- name: Single Pensioner | ||
period: 2022 | ||
input: | ||
gis_spa_category: "SINGLE_WITH_OAS" | ||
oas_eligible: true | ||
output: | ||
gis_cap: 9_449.87 | ||
|
||
- name: Widow | ||
period: 2022 | ||
input: | ||
gis_spa_category: "WIDOW_SPA_ELIGIBLE" | ||
output: | ||
gis_cap: 0 | ||
|
||
- name: OAS pensioner whose spouse is SPA eligible | ||
period: 2022 | ||
input: | ||
gis_spa_category: "COUPLE_ONE_OAS_SPA_ELIGIBLE" | ||
oas_eligible: true | ||
output: | ||
gis_cap: 6_240.18 | ||
|
||
- name: OAS pensioner whose spouse is not SPA eligible | ||
period: 2022 | ||
input: | ||
gis_spa_category: "COUPLE_ONE_OAS_SPA_INELIGIBLE" | ||
oas_eligible: true | ||
output: | ||
gis_cap: 9_449.87 | ||
|
||
- name: SPA-eligible person whose spouse has OAS | ||
period: 2022 | ||
input: | ||
gis_spa_category: "COUPLE_ONE_OAS_SPA_ELIGIBLE" | ||
oas_eligible: false | ||
output: | ||
gis_cap: 0 | ||
|
||
- name: Person not eligible for OAS or SPA, but is married to an OAS pensioner | ||
period: 2022 | ||
input: | ||
gis_spa_category: "COUPLE_ONE_OAS_SPA_INELIGIBLE" | ||
oas_eligible: false | ||
output: | ||
gis_cap: 0 | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
policyengine_canada/tests/gov/cra/benefits/gis_spa/gis_exemption.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,7 @@ | ||
- name: Basic | ||
period: 2023 | ||
input: | ||
employment_income: 20000 | ||
self_employment_income: 5000 | ||
output: | ||
gis_exemption: 10000 |
8 changes: 8 additions & 0 deletions
8
policyengine_canada/tests/gov/cra/benefits/gis_spa/gis_income.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,8 @@ | ||
- name: Basic | ||
period: 2023 | ||
input: | ||
employment_income: 20000 | ||
self_employment_income: 5000 | ||
gis_exemption: 5000 | ||
output: | ||
gis_income: 10000 |
15 changes: 15 additions & 0 deletions
15
policyengine_canada/tests/gov/cra/benefits/gis_spa/gis_net.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,15 @@ | ||
- name: Basic reduction | ||
period: 2023 | ||
input: | ||
gis_cap: 500 | ||
gis_reduction: 200 | ||
output: | ||
gis_net: 300 | ||
|
||
- name: Negative reduction | ||
period: 2023 | ||
input: | ||
gis_cap: 300 | ||
gis_reduction: 500 | ||
output: | ||
gis_net: 0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
need changelog