Skip to content

Add coverage tests for 4 untested variables#7312

Open
MaxGhenis wants to merge 1 commit intomainfrom
coverage-tests-batch-2
Open

Add coverage tests for 4 untested variables#7312
MaxGhenis wants to merge 1 commit intomainfrom
coverage-tests-batch-2

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Add YAML tests for 4 previously untested variables to improve code coverage

Variables tested

  • tax_unit_state: Verifies state code propagation from household to tax unit
  • emp_self_emp_ratio: Tests employment vs self-employment ratio calculation (handles edge cases like zero earnings)
  • is_premium_free_part_a: Tests Medicare Part A premium-free eligibility based on quarters of coverage threshold
  • savers_credit_credit_limit: Tests retirement savings credit limit calculation

Test plan

  • All 12 new tests pass locally
  • CI passes

🤖 Generated with Claude Code

Add YAML tests for:
- tax_unit_state: verifies state code propagation to tax unit
- emp_self_emp_ratio: tests employment vs self-employment ratio calculation
- is_premium_free_part_a: tests Medicare Part A premium-free eligibility
- savers_credit_credit_limit: tests retirement savings credit limit calculation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant