Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Improve current implementation of Vorrangprüfung for Wohngeld #752

Closed
MImmesberger opened this issue May 6, 2024 · 0 comments · Fixed by #753
Closed

ENH: Improve current implementation of Vorrangprüfung for Wohngeld #752

MImmesberger opened this issue May 6, 2024 · 0 comments · Fixed by #753
Labels
enhancement New feature or request

Comments

@MImmesberger
Copy link
Collaborator

MImmesberger commented May 6, 2024

This issue is based on #710.

Wohngeld has priority over ALG2 if the recipients can cover their needs according to SGB II when receiving Wohngeld.

The priority check that we have currently implemented follows this logic:

  1. Calculate Wohngeld on the Bedarfsgemeinschaft level.
  2. Check whether the Bedarfsgemeinschaft can cover its own needs (Regelbedarf) with Wohngeld. If not, the Bedarfsgemeinschaft is eligible for ALG2.
  3. Compute Wohngeld again for all individuals in the household that can cover their own needs with Wohngeld. This is the final Wohngeld amount that is paid out to the wohngeldrechtlicher Teilhaushalt.

Note: Because Wohngeld is nonlinear in the number of people in the wohngeldrechtlicher Teilhaushalt, there may be some individuals that pass the priority check, but cannot cover their needs with the Wohngeld calculated in point 3. In this sense, this implementation is an approximation of the actual Wohngeld.

@MImmesberger MImmesberger added the enhancement New feature or request label May 6, 2024
MImmesberger added a commit that referenced this issue May 30, 2024
Closes #752 

Also, this PR fixes a bug through which Kindergeldübertrag was too high
(because Kindergeld was already counted as income when calculating the
difference between Regelbedarf and income).

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant