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

Ouverte
#767 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python
Domaine
backend, data

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

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.

Langage dominant
Python
Étoiles
10
Forks
10
Merge moyen
2 j 2 h
PR mergées (30 j)
16

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de PolicyEngine/policyengine.py

Toutes les issues de PolicyEngine/policyengine.py

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.