Say when the employer unemployment-tax total is an estimate, and keep the no-worker regression in its New Jersey test
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
Línea de trabajo
Lee employer_total_state_unemployment_tax.py y nj_employer_state_unemployment_tax.yaml, especialmente el caso sin trabajadores alrededor de la fila de fixture referenciada. Actualiza la redacción de la estimación y restaura la entrada de salarios brutos del empleador, conservando la expectativa indicada; añade el caso de reforma con una tasa de cero y aclara el cambio de tasa de julio en el título del caso. El trabajo estará completo cuando la documentación describa ambas condiciones de la estimación y los casos de New Jersey detecten la fórmula antigua y cubran la ruta de llamada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Agent-written for Max, by Claude Code for Max Ghenis.
The last review of #10700 approved it at 8c92c28b and left two follow-ups.
1. Documentation
employer_total_state_unemployment_tax applies one worker's effective rate to the employer's taxable wages. Its documentation says the total is an estimate when workers' wages differ (variable). It is also an estimate when worker wages are missing and the rate changes during the year, even for one worker.
In New Jersey in 2022, one worker paid $100,000 evenly owes $1,067.635: $25,000 taxed in Q1 and $14,800 in Q2 at 2.6825%. With worker wages left out, the total uses the average of the four quarterly rates, 2.8325%, and gives $1,127.335 on $39,800.
Proposed: say the total is an estimate whenever the rate changes during the year and the worker profile is missing or unrepresentative.
2. Test
In nj_employer_state_unemployment_tax.yaml, the no-worker row leaves out the $100,000 employer gross wages that the case had before (fixture). Without that input, the old and new formulas both give $1,127.335, so the row cannot catch a return to the old formula.
Proposed:
- Restore
employer_total_payroll_tax_gross_wages: 100_000in that row and keep the $1,127.335 expectation; the old formula gave $1,067.635. - Add a reform that sets the effective rate to zero, to test the caller path next to the supplied-zero case.
- Name the July rate change in the case title: the $60,000 row taxes $9,800 in Q3 at the higher rate.
- Lenguaje dominante
- Python
- Estrellas
- 178
- Forks
- 224
- Merge medio
- 3 d 13 h
- PR fusionados (30 d)
- 309
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-us
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
PolicyEngine/policyengine-us#11687 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PolicyEngine/policyengine-us#11679 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PolicyEngine/policyengine-us#11677 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
PolicyEngine/policyengine-us#11673 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
PolicyEngine/policyengine-us#11522 ·
Los mantenedores suelen responder en 2 días
Todos los issues de PolicyEngine/policyengine-us
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
nael5x/creative-ai#130 ·
-
Make the "%" unit spacing the same in the web and in A10Posiblemente ocupada @kragent66-glitch la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 comentario ·
-
ci severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
TMHSDigital/Spackle#205 ·
Los mantenedores suelen responder en 1 día
-
pkg:lgm type:chore upstream-gaussx
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
jejjohnson/pyrox#610 ·
Los mantenedores suelen responder en 1 día