Skip to content

Comments

Add coverage tests for 4 untested variables#7312

Merged
PavelMakarchuk merged 2 commits intomainfrom
coverage-tests-batch-2
Feb 23, 2026
Merged

Add coverage tests for 4 untested variables#7312
PavelMakarchuk merged 2 commits 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>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@PavelMakarchuk PavelMakarchuk merged commit fb7698f into main Feb 23, 2026
7 checks passed
@PavelMakarchuk PavelMakarchuk deleted the coverage-tests-batch-2 branch February 23, 2026 22:15
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.

2 participants