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 is_widowed to is_surviving_spouse #5108

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

Conversation

samantharudra
Copy link
Contributor

Fixes #4710

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.12%. Comparing base (dbe7a06) to head (493c05e).
Report is 77 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5108      +/-   ##
==========================================
+ Coverage   99.01%   99.12%   +0.11%     
==========================================
  Files        2560     2589      +29     
  Lines       37217    37671     +454     
  Branches      159      162       +3     
==========================================
+ Hits        36851    37342     +491     
+ Misses        337      297      -40     
- Partials       29       32       +3     

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

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 also change the corresponding tests?
For example surviving_spouse_eligible.yaml still uses is_widowed as an input

Copy link
Collaborator

Choose a reason for hiding this comment

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

You should be able to search in the codespace

Copy link
Contributor

Choose a reason for hiding this comment

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

also label and documentation

Copy link
Contributor

Choose a reason for hiding this comment

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

also label and documentation

is_widowed = person("is_widowed", period)
widowed_head = tax_unit.any(is_head & is_widowed)
is_surviving_spouse = person("is_surviving_spouse", period)
widowed_head = tax_unit.any(is_head & is_surviving_spouse)
Copy link
Contributor

Choose a reason for hiding this comment

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

and elsewhere

Suggested change
widowed_head = tax_unit.any(is_head & is_surviving_spouse)
surviving_spouse_head = tax_unit.any(is_head & is_surviving_spouse)

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 is_widowed variable to is is_surviving_spouse
3 participants