iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
54 stars 32 forks source link

BUG: Elterngeld eligibility #697

Closed MImmesberger closed 2 weeks ago

MImmesberger commented 6 months ago

Bug description

A quick look at elternzeit_anspruch makes me question whether eligibility for Elterngeld is correct. In particular,

m_elterngeld_mut_hh + m_elterngeld_vat_hh
            < elterngeld_params["max_monate_paar"]

sounds like both parents are able to take up Elterngeld in scenarios where only one parent can actually do so (e.g. suppose that elterngeld_params["max_monate_paar"] = 14 and m_elterngeld_mut_hh + m_elterngeld_vat_hh=13).

MImmesberger commented 6 months ago

Also, alter_monate_jüngstes_mitglied_hh <= elterngeld_params["max_monate_paar"] is being used to check whether children aren't too old for the parents to receive Elterngeld. Would be better to target the children directly (via p_id_elternteil).

hmgaudecker commented 6 months ago

I don't think Elterngeld has ever been touched since the earliest days of GETTSIM. Or definitely does not live up to our quality standards.

Probably worth starting over at some point rather than patching here and there.

MImmesberger commented 2 weeks ago

Closed via #756