Closed MImmesberger closed 3 months ago
I realised that we cannot compute Regelbedarf on individual level because of _arbeitsl_geld_2_berechtigte_wohnfläche_bg
, which takes the number of individuals in the Bedarfsgemeinschaft as an input.
However, it could be that our current understanding of the berechtigte Wohnfläche is wrong, i.e. that it should be calculated based on the amount of people in the Familiengemeinschaft. This would make sense because then, a child inside and outside the parental BG has the same Regelbedarf. (In the current implementation, the child's contribution to the Regelbedarf of the parental BG may be lower than its Regelbedarf in its own BG if there are more than 4 people in the parental BG). Will do some research regarding that.
Edit: The inputs of _arbeitsl_geld_2_berechtigte_wohnfläche
should be on the hh level, not the bg level. I guess this was an error when moving away from tu and hh everywhere. So, the calculation on individual level works perfectly fine.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.63%. Comparing base (
d41cc45
) to head (9eddaac
). Report is 7 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think this one is finished!
Closes #668