Rewrite Grundsicherung im Alter (Kapitel 4, SGB XII)#1156
Open
MImmesberger wants to merge 5 commits intomainfrom
Open
Rewrite Grundsicherung im Alter (Kapitel 4, SGB XII)#1156MImmesberger wants to merge 5 commits intomainfrom
MImmesberger wants to merge 5 commits intomainfrom
Conversation
Documentation build overview
Show files changed (6 files in total): 📝 6 modified | ➕ 0 added | ➖ 0 deleted
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
## Summary - Update `parameter_vermögensfreibetrag` to 10,000 EUR per person from 2023-01-01 (§1 DurchführungsVO zu §90 Abs. 2 Nr. 9 SGB XII, amended by Art. 9 Bürgergeld-Gesetz) - Add test case verifying wealth above the new threshold denies benefits Closes #1150 ## Test plan - [x] `pixi run ty` and `pixi run ty-jax` pass - [x] `pixi run prek run --all-files` pass - [x] Full test suite passes (`pixi run -e py314-jax tests -n 7`) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…1154) ## Summary - The Freibetrag for zusätzliche Altersvorsorge (§82 Abs. 4/5 SGB XII) was incorrectly applied from 2011. It was introduced by the Betriebsrentenstärkungsgesetz (BGBl. I 2017, S. 3214), effective **2018-01-01**. - Berufsständische Versorgungswerke (§6 Abs. 1 SGB VI) were incorrectly included in the Freibetrag. They are first-pillar Pflichtversicherung, fail the "auf freiwilliger Grundlage" criterion in §82 Abs. 5 Satz 1, and are explicitly listed as the baseline against which "zusätzliche Altersvorsorge" is measured. - The YAML parameter date was wrong (2005 → 2018) and the parameter has been renamed from `anrechnungsfreier_anteil_private_renteneinkünfte` to `anrechnungsfreier_anteil_zusätzliche_altersvorsorge` to match the legal term. - The GRV Freibetrag for Grundrentenbezieher was written up in a confusing way; fixed that. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## Summary - Adds `eg_id` (Einsatzgemeinschaft) group for SGB XII, which includes the couple plus their minor unmarried children (< 18) in the same household (§ 27 Abs. 2 SGB XII) - Switches Grundsicherung im Alter from `_bg` to `_eg` aggregation, fixing incorrect benefit computation for households with minor children - Fixes `vermögensfreibetrag` bug: was using `_fg` (Familiengemeinschaft) counts instead of the correct group-level counts - Moves `p_id_lebenspartner` (formerly `p_id_einstandspartner`) from `arbeitslosengeld_2`/`bürgergeld` namespaces to `familie` (shared across SGB II and SGB XII), collapsing date-split `fg_id` function into single functions - Renames `Einstandspartner` → `Lebenspartner` (`p_id_einstandspartner` → `p_id_lebenspartner`) ## Test plan - [x] `pixi run ty` and `pixi run ty-jax` pass - [x] `pixi run prek run --all-files` passes - [x] `pixi run -e py314-jax tests -n 7` — 1285 passed, 528 skipped - [x] Grouping tests verify correct `eg_id` values for various household compositions - [x] `skip_hh_id_25.yaml` (parent + child) needs expected values recomputed with EG grouping — follow-up needed - [x] Additional test cases with minor children should be added Closes #1147 Supersedes #738 Related to #696 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR collects the changes made to Grundsicherung im Alter.