Count federal employer payroll tax in US budgetary impact before the policyengine-us bump

Open
#767 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend, data

Research direction

Start with calculate_budgetary_impact in src/policyengine/tax_benefit_models/us/analysis.py and check how it combines household taxes and benefits. Compare that total with the employer payroll tax variables named in the issue, keeping the policyengine-us==2.2.2 pin and the timing of the bump in mind. Done means federal employer payroll tax changes are included in the federal budgetary impact when the package picks up the release with the wage response.

Written by the indexing model from the issue text.

Description

PolicyEngine/policyengine-us#10975 adds a wage response that holds employer cost fixed when a reform changes federal employer payroll taxes, with a default employee share of 1. Under it, a rise in federal employer tax cuts pay by the same amount, so income tax and employee payroll tax fall.

calculate_budgetary_impact takes the change in household_tax less the change in household_benefits. household_tax counts employee_payroll_tax but no employer tax (household_tax_before_refundable_credits). So once this package runs a policyengine-us release with the response, an employer tax increase scores as a loss: income and employee payroll tax fall, and no employer tax gain offsets them.

Adding the change in employer_social_security_tax, employer_medicare_tax and employer_federal_unemployment_tax to the federal total gives the net. State and local employer payroll taxes go uncounted too; they follow the new wages under the response.

This package pins policyengine-us==2.2.2, so nothing changes until that pin moves. The fix should land with or before the bump that brings in #10975.

Dominant language
Python
Stars
10
Forks
10
Avg merge
2d 2h
Merged PRs (30d)
16

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine.py

All issues in PolicyEngine/policyengine.py

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.