-
Notifications
You must be signed in to change notification settings - Fork 178
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
Change _lsr
to _behavioral_response
#5286
base: master
Are you sure you want to change the base?
Changes from all commits
7203d33
86189dc
a08e72d
80199fc
bfbfcab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,6 @@ All notable changes to this project will be documented in this file. | |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [1.137.3] - 2024-11-01 16:53:33 | ||
|
||
### Fixed | ||
|
||
- Colorado 2023 sales tax refund. | ||
|
||
## [1.137.2] - 2024-11-01 10:27:40 | ||
|
||
### Fixed | ||
|
||
- Branch improvements. | ||
|
||
## [1.137.1] - 2024-10-31 18:57:07 | ||
|
||
### Fixed | ||
|
@@ -10132,8 +10120,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
|
||
|
||
[1.137.3]: https://github.com/PolicyEngine/policyengine-us/compare/1.137.2...1.137.3 | ||
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. add back |
||
[1.137.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.137.1...1.137.2 | ||
[1.137.1]: https://github.com/PolicyEngine/policyengine-us/compare/1.137.0...1.137.1 | ||
[1.137.0]: https://github.com/PolicyEngine/policyengine-us/compare/1.136.2...1.137.0 | ||
[1.136.2]: https://github.com/PolicyEngine/policyengine-us/compare/1.136.1...1.136.2 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8580,13 +8580,3 @@ | |
fixed: | ||
- remove uprating for SNAP variables that don't change | ||
date: 2024-10-31 18:57:07 | ||
- bump: patch | ||
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. add back |
||
changes: | ||
fixed: | ||
- Branch improvements. | ||
date: 2024-11-01 10:27:40 | ||
- bump: patch | ||
changes: | ||
fixed: | ||
- Colorado 2023 sales tax refund. | ||
date: 2024-11-01 16:53:33 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- bump: minor | ||
changes: | ||
fixed: | ||
- Change _lsr to _behavioral_response. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
description: Colorado provides a flat sales tax refund credit of this amount. | ||
values: | ||
2023-01-01: 800 | ||
2023-01-01: 661 | ||
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. change back |
||
|
||
metadata: | ||
period: year | ||
unit: year | ||
label: Colorado sales tax refund credit flat amount | ||
reference: | ||
- title: 2023 Colorado Individual Tax Filing Guide 104 Book, Line 34 | ||
href: https://tax.colorado.gov/sites/tax/files/documents/Book0104_2023.pdf#page=9 | ||
- title: 2023 Colorado Individual Income Tax Filing Guide | ||
href: https://leg.colorado.gov/sites/default/files/documents/2023A/bills/fn/2023a_hb1311_00.pdf#page=3 | ||
- title: Colorado General Assembly HB23-1311 Identical Temporary TABOR Refund | ||
href: https://leg.colorado.gov/bills/hb23-1311#:~:text=The%20act%20creates%20a%20new,2022%2D23%20state%20fiscal%20year |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
co_sales_tax_refund_eligible: true | ||
filing_status: SINGLE | ||
output: | ||
co_sales_tax_refund: 800 | ||
co_sales_tax_refund: 661 | ||
|
||
- name: Joint calculation | ||
period: 2022 | ||
|
@@ -51,20 +51,3 @@ | |
filing_status: SEPARATE | ||
output: | ||
co_sales_tax_refund: 234 | ||
|
||
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. add back |
||
- name: Integration test | ||
period: 2023 | ||
input: | ||
people: | ||
person1: | ||
age: 40 | ||
person2: | ||
age: 40 | ||
tax_units: | ||
tax_unit: | ||
members: [person1, person2] | ||
co_modified_agi: 60_001 | ||
co_sales_tax_refund_eligible: true | ||
filing_status: JOINT | ||
output: | ||
co_sales_tax_refund: 1_600 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
from policyengine_us.model_api import * | ||
from policyengine_us.variables.gov.states.il.tax.income.exemptions.il_personal_exemption_eligibility_status import ( | ||
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. change back |
||
ILPersonalExemptionEligibilityStatus, | ||
) | ||
|
||
|
||
class il_personal_exemption(Variable): | ||
|
@@ -17,16 +14,18 @@ def formula(tax_unit, period, parameters): | |
"il_personal_exemption_eligibility_status", period | ||
) | ||
|
||
eligibility_status = il_is_personal_exemption_eligible.possible_values | ||
|
||
personal_exemption_amount = parameters( | ||
period | ||
).gov.states.il.tax.income.exemption.personal | ||
|
||
return personal_exemption_amount * select( | ||
[ | ||
il_is_personal_exemption_eligible | ||
== ILPersonalExemptionEligibilityStatus.BOTH_ELIGIBLE, | ||
== eligibility_status.BOTH_ELIGIBLE, | ||
il_is_personal_exemption_eligible | ||
== ILPersonalExemptionEligibilityStatus.PARTIALLY_ELIGIBLE, | ||
== eligibility_status.PARTIALLY_ELIGIBLE, | ||
], | ||
[2, 1], | ||
0, | ||
|
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.
add back