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

Change _lsr to _behavioral_response #5286

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mshuning
Copy link
Collaborator

Fixes #5258

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 99.00%. Comparing base (cb92a56) to head (bfbfcab).
Report is 116 commits behind head on master.

Files with missing lines Patch % Lines
...les/household/income/person/weekly_hours_worked.py 11.11% 8 Missing ⚠️
...ion/labor_supply_response/labor_supply_response.py 50.00% 3 Missing ⚠️
...ariables/gov/simulation/capital_gains_responses.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5286      +/-   ##
==========================================
- Coverage   99.12%   99.00%   -0.13%     
==========================================
  Files        2592     2613      +21     
  Lines       37707    38055     +348     
  Branches      162      165       +3     
==========================================
+ Hits        37378    37675     +297     
- Misses        297      347      +50     
- Partials       32       33       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

changelog_entry.yaml Outdated Show resolved Hide resolved
lsr = person("labor_supply_behavioral_response", period)
if (lsr != 0).any():
income_effect = person("income_elasticity_lsr", period)
income_effect = person(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add some unit tests for anything that is not covered here?

@PavelMakarchuk
Copy link
Collaborator

We will need to make some adjustments once #5287 merged

@Mshuning
Copy link
Collaborator Author

Mshuning commented Nov 1, 2024

We will need to make some adjustments once #5287 merged

is it already been merged?

Copy link
Collaborator

@PavelMakarchuk PavelMakarchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert the changes unrelated to the PR - it seems like there have been some merge confliacts

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back

@@ -8580,13 +8580,3 @@
fixed:
- remove uprating for SNAP variables that don't change
date: 2024-10-31 18:57:07
- bump: patch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back

@@ -51,20 +51,3 @@
filing_status: SEPARATE
output:
co_sales_tax_refund: 234

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back

@@ -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 (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change _lsr to _behavioral_response
2 participants