Children count processing
メンテナーはふだん 1 日以内に返信
@ANBurdett がすでに取り組んでいます。
2026年9月16日 から。
評価
この issue はまだ評価されていません。
説明
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% |
- 主要言語
- Java
- スター
- 26
- フォーク
- 38
- 平均マージ
- 11時間 45分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simpaths/SimPaths のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Double hurdle model of labour supply対応中かも @dariaple が 1 日前に担当しました。 オープン
simpaths/SimPaths#548 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Sort note on integration test procedure対応中かも @Mariia-Var が 1 日前に担当しました。 オープン
simpaths/SimPaths#547 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
simpaths/SimPaths の issue をすべて見る
似ている issue
-
bug web-server
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jooby-project/jooby#4035 ·
メンテナーはふだん 1 日以内に返信
-
L: javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dependabot/dependabot-core#16744 ·
メンテナーはふだん 1 日以内に返信
-
intake mcp-intake needs-human-review priority:high type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Ikalus1988/MisakaNet#3987 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
quarkiverse/quarkus-google-cloud-services#1187 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
locationtech/jts#1250 ·