Children count processing
Los mantenedores suelen responder en 1 día
@ANBurdett ya está trabajando en esto.
Desde el 16/9/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
SimPaths bug:
Should use age range 0-17, instead of 0-18:
i.e. getNumberChildren(0,Parameters.AGE_TO_BECOME_RESPONSIBLE-1)
https://github.com/simpaths/SimPaths/blob/b649c6967db2d9cced068c8878a2979725dc39e0/src/main/java/simpaths/model/BenefitUnit.java#L4087
Java code inconsistency with Stata .do files:
Java counts people under 18 who belong to the benefit unit. Stata counts children under 18 who are linked to the person, or to the benefit-unit head in a couple, as their parent. Stata never checks which benefit unit the child is in, and that's where the mismatches come from.
More specifically,
-
Couples (Stata counts fewer). A child is placed in a couple's unit if it is linked to either partner. But it is only counted if it is linked to the head. Say the survey lists the woman as mother but doesn't list the head as step-father. The child lives in the unit, so Java counts it. It isn't linked to the head, so Stata doesn't.
-
Single adults (Stata counts more). Every time, both of the child's parents live in the data but aren't recorded as a couple, so each forms their own unit. The child is placed in one parent's unit. The other parent still has the parent link, so Stata counts the child for them too. Java counts the child only in the unit where it lives.
For Spain data,
| Group | Affected | Group size | % of group | % of all adults |
|---|---|---|---|---|
| Couples | 2,372 (1,186 couples) | 263,918 | 0.90% | 0.54% |
| Singles | 212 | 172,280 | 0.12% | 0.05% |
| Total | 2,584 | 436,198 | — | 0.59% |
- Lenguaje dominante
- Java
- Estrellas
- 26
- Forks
- 38
- Merge medio
- 11 h 45 min
- PR fusionados (30 d)
- 8
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 simpaths/SimPaths
-
Incorrect benefit-unit equivalence scale understates equivalised income for multi-adult unitsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
add checks for score evaluationsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Double hurdle model of labour supplyPosiblemente ocupada @dariaple la tomó hace 1 día. Abierto
simpaths/SimPaths#548 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Sort note on integration test procedurePosiblemente ocupada @Mariia-Var la tomó hace 1 día. Abierto
simpaths/SimPaths#547 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de simpaths/SimPaths
Issues similares
-
bug web-server
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jooby-project/jooby#4035 ·
Los mantenedores suelen responder en 1 día
-
L: javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dependabot/dependabot-core#16744 ·
Los mantenedores suelen responder en 1 día
-
intake mcp-intake needs-human-review priority:high type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Ikalus1988/MisakaNet#3987 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
quarkiverse/quarkus-google-cloud-services#1187 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
locationtech/jts#1250 ·