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

BUG: Split up Mietkosten across different Bedarfsgemeinschaften #745

Closed
MImmesberger opened this issue May 2, 2024 · 1 comment · Fixed by #725
Closed

BUG: Split up Mietkosten across different Bedarfsgemeinschaften #745

MImmesberger opened this issue May 2, 2024 · 1 comment · Fixed by #725
Assignees
Labels
bug Something isn't working

Comments

@MImmesberger
Copy link
Collaborator

MImmesberger commented May 2, 2024

Bug description

To compute the Bürgergeld Regelsatz for households with multiple Bedarfsgemeinschaften, we need to split up Mietkosten (warm/kalt) as they are defined on the household, not Bedarfsgemeinschaften level.

Proposed implementation

Mietkosten are split up according to the relative Bedarf of the Bedarfsgemeinschaft in the ExMin-Bericht (don't have a source for this).

Alternative solution

Mietkosten are split up according to the relative size of the Bedarfsgemeinschaft (e.g. if 60% of people in the household are part of the BG, 60% of Miete are borne by the BG). This is implemented by #694 but seems to be wrong.

@MImmesberger MImmesberger added the bug Something isn't working label May 2, 2024
@MImmesberger
Copy link
Collaborator Author

This should also be relevant for #710

@MImmesberger MImmesberger self-assigned this May 2, 2024
MImmesberger added a commit that referenced this issue May 3, 2024
### What problem do you want to solve?

Closes #745 

Several small fixes related to groupings.

Leave open for now in case more comes up.

### Todo

- [x] simplify use of `bruttokaltmiete_m_bg` 
- [x] fix bug in docstring
- [x] add `unterhaltsvors_m` to default targets instead of
`unterhaltsvors_m_hh` (let the user decide on which unit to aggregate)
- [x] shorten very long name of test which contains duplicate and is too
long for Windows
- [x] Document PR in CHANGES.md.

Note:
- for now, adjusted how Unterhaltsvorschuss is deducted from Wohngeld
(see the discussion in #357). However, I am still unclear what is
correct here.

---------

Co-authored-by: Marvin Immesberger <immesberger@posteo.de>
Co-authored-by: Marvin Immesberger <74215010+MImmesberger@users.noreply.github.com>
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
bug Something isn't working
Projects
None yet
1 participant