Skip to content

Conversation

@daphnehanse11
Copy link
Collaborator

@daphnehanse11 daphnehanse11 commented Oct 29, 2025

fixes #6745

@daphnehanse11 daphnehanse11 changed the title first commit, not clean yet Split taxation of benefits for Social Security and Medicare Oct 29, 2025
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (bb9ac27) to head (caa1972).
⚠️ Report is 38 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #6747   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         8    +7     
  Lines           22       111   +89     
=========================================
+ Hits            22       111   +89     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

person,
period,
["employee_medicare_tax", "employer_medicare_tax"],
) + person.tax_unit("additional_medicare_tax", period)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we adding the same additional Medicare tax value to each person in the unit? If so, wouldn't we double the tax amount for a 2 people household ?

MaxGhenis added a commit to MaxGhenis/policyengine-us that referenced this pull request Oct 30, 2025
Implements proper tier separation for trust fund revenue allocation:
- tob_revenue_oasdi: Tier 1 (0-50%) → OASDI trust funds
- tob_revenue_medicare_hi: Tier 2 (50-85%) → Medicare HI trust fund
- Uses allocation approach (proportion of taxable SS in each tier)

Results (2026):

Baseline:
- OASDI (tier 1): $17.24B
- Medicare HI (tier 2): $68.09B
- Total: $85.33B

Option 2 (85% taxation) + LSR:
- OASDI (tier 1): $0.00B (all SS in tier 2 with thresholds at 0)
- Medicare HI (tier 2): $109.85B
- Total: $109.86B

Tier variables from PR PolicyEngine#6747 (daphnehanse11/issue6745).
Allocation approach avoids circular dependency issues.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
MaxGhenis added a commit to MaxGhenis/policyengine-us that referenced this pull request Oct 30, 2025
Adds OASDI and Medicare HI specific trust fund revenue variables:
- tob_revenue_oasdi: Tier 1 (0-50%) revenue
- tob_revenue_medicare_hi: Tier 2 (50-85%) revenue

Uses proportional allocation of total TOB revenue.

Includes tier 1 and tier 2 taxable SS variables from PR PolicyEngine#6747.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

Split payroll tax for trust funds

2 participants