From efb5385381b369815fa338e8a1f0a365a644a561 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sat, 17 Oct 2026 21:25:00 +0200 Subject: [PATCH 01/18] =?UTF-8?q?Add=20policy=20cases=20for=20the=20Grundr?= =?UTF-8?q?ente=20income=20test=20(=C2=A7=2097a=20SGB=20VI)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- .../grundrentenzuschlag_steuerfrei.yaml" | 59 ++++++++++ .../rentenwert_vor_anpassung_2024.yaml | 33 ++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 49 +++++++++ ...tehend_einkommen_unter_unterer_grenze.yaml | 45 ++++++++ ..._kapitalertr\303\244ge_alleinstehend.yaml" | 72 +++++++++++++ ...gejahr_kapitalertr\303\244ge_ehepaar.yaml" | 87 +++++++++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 40 +++++++ ...n_f\303\274r_folgejahr_negatives_zve.yaml" | 67 ++++++++++++ ...n_f\303\274r_folgejahr_ohne_zuschlag.yaml" | 101 ++++++++++++++++++ ...nrechnung_\303\274bersteigt_zuschlag.yaml" | 42 ++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 54 ++++++++++ .../alleinstehend_aufgerundete_grenzen.yaml | 62 +++++++++++ .../beide_ehegatten_mit_zuschlag.yaml | 45 ++++++++ .../ehegatte_mit_negativem_einkommen.yaml | 45 ++++++++ .../2026-03-01/ehegatte_ohne_einkommen.yaml | 47 ++++++++ .../ehegatten_dauernd_getrennt_lebend.yaml | 48 +++++++++ .../ehepaar_aufgerundete_grenzen.yaml | 90 ++++++++++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 48 +++++++++ ...witwet_einkommen_zwischen_den_grenzen.yaml | 42 ++++++++ .../grenzen_nach_rentenanpassung_im_juli.yaml | 59 ++++++++++ .../2027-02-01/grenzen_ab_2027.yaml | 65 +++++++++++ 21 files changed, 1200 insertions(+) create mode 100644 "src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml diff --git "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" new file mode 100644 index 000000000..b6169fc9c --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" @@ -0,0 +1,59 @@ +--- +info: + note: |- + Hand-derived. The pension share resting on the Grundrentenzuschlag is tax-free + (§ 3 Nr. 14a EStG, inserted by the Jahressteuergesetz 2022 v. 16.12.2022, BGBl. + I S. 2294, Art. 3, first applicable for VZ 2021 under § 52 Abs. 4 EStG). + Altersrente without Zuschlag 1,000.00 EUR, Zuschlag 100.00 EUR; pension since + 2021, Besteuerungsanteil 81 % (§ 22 Nr. 1 S. 3 lit. a dbl. aa EStG). + Taxable pension: 0.81 * 1,000.00 = 810.00 (not 0.81 * 1,100.00 = 891.00). + precision_atol: 0.01 + source: |- + https://media.offenegesetze.de/bgbl1/2022/bgbl1_2022_51.pdf +inputs: + assumed: {} + provided: + einkommensteuer: + einkünfte: + sonstige: + rente: + alter_beginn_leistungsbezug_sonstige_private_vorsorge: + - 65 + einnahmen: + renten: + aus_berufsständischen_versicherungen_m: + - 0.0 + basisrente_m: + - 0.0 + betriebliche_altersvorsorge_m: + - 0.0 + geförderte_private_vorsorge_m: + - 0.0 + sonstige_private_vorsorge_m: + - 0.0 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + altersrente: + bruttorente_m: + - 1000.0 + bezieht_altersrente: + - true + erwerbsminderung: + betrag_m: + - 0.0 + grundrente: + betrag_m: + - 100.0 + jahr_renteneintritt: + - 2021 +outputs: + einkommensteuer: + einkünfte: + sonstige: + rente: + steuerpflichtige_einnahmen_m: + - 810.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml new file mode 100644 index 000000000..bdb4768f4 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml @@ -0,0 +1,33 @@ +--- +info: + note: |- + The Rentenwert of 39.32 EUR set by the Rentenwertbestimmungsverordnung 2024 (V. + v. 17.06.2024, BGBl. 2024 I Nr. 194) applies from 01.07.2024. In March 2024 the + Rentenwert of 01.07.2023, 37.60 EUR (V. v. 21.06.2023, BGBl. 2023 I Nr. 164), + is in force. + Altersrente from 10 Entgeltpunkte, Zugangsfaktor 1: + 10 * 1.0 * 37.60 = 376.00. + precision_atol: 0.01 + source: V. v. 17.06.2024 BGBl. 2024 I Nr. 194; V. v. 21.06.2023 BGBl. 2023 I Nr. 164 +inputs: + assumed: {} + provided: + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + altersrente: + zugangsfaktor: + - 1.0 + bezieht_altersrente: + - true + entgeltpunkte: + - 10.0 +outputs: + sozialversicherung: + rente: + altersrente: + bruttorente_basisbetrag_m: + - 376.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..7107e3628 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,49 @@ +--- +info: + note: |- + SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Tatbestand Rn. 2-4: for the + payments from 05/2021 to 12/2022 the DRV credited the income of 2019, + 19,927 EUR, and paid no Zuschlag. + Assumed: single (marital status not stated); the 19,927 EUR are the full § 97a + Abs. 2 S. 1 income; Zuschlag before crediting 200.00 EUR (not stated; any value + up to the credited amount gives a nil Zuschlag). + Monthly income (§ 97a Abs. 3 S. 1): 19,927 / 12 = 1,660.58. + Thresholds 2022 use the Rentenwert of 01.07.2021 (West, unchanged 34.19), also + in September 2022 after the 01.07.2022 adjustment to 36.02 (Abs. 4 S. 5 with + Abs. 5 S. 2); uniform across Germany, so no Ost value: + 36.56 * 34.19 = 1,249.99 -> 1,250; 46.78 * 34.19 = 1,599.41 -> 1,600. + Credited: 0.6 * (1,600 - 1,250) + (1,660.58 - 1,600) = 210.00 + 60.58 = 270.58. + Zuschlag: max(200.00 - 270.58, 0) = 0.00. + precision_atol: 0.01 + source: |- + https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2024-N-5412?all=False +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 200.0 + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_y: + - 19927.0 + wohnort_ost_hh: + - false +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 270.58 + betrag_m: + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml new file mode 100644 index 000000000..d2b27f5d4 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml @@ -0,0 +1,45 @@ +--- +info: + note: |- + SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Tatbestand Rn. 4: from + 01.01.2023 the DRV credited the income of 2020, 8,453 EUR, and "kein + Anrechnungsbetrag mehr" resulted. + Assumed: single; the 8,453 EUR are the full § 97a Abs. 2 S. 1 income; Zuschlag + before crediting 200.00 EUR (not stated). + Monthly income: 8,453 / 12 = 704.42. + Lower threshold 2023 (Rentenwert of 01.07.2022, 36.02): + 36.56 * 36.02 = 1,316.89 -> 1,317. Income below it, so nothing is credited. + Zuschlag: 200.00 - 0.00 = 200.00. + precision_atol: 0.01 + source: |- + https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2024-N-5412?all=False +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 200.0 + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_y: + - 8453.0 + wohnort_ost_hh: + - false +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 0.0 + betrag_m: + - 200.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" new file mode 100644 index 000000000..b67290620 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" @@ -0,0 +1,72 @@ +--- +info: + note: |- + GRA Beispiel 4: a single Berechtigter has Einkünfte aus Kapitalvermögen of + 1,580.00 EUR in 2023, less the Sparer-Pauschbetrag of 1,000.00 EUR; credited + capital income 580.00 EUR per year (§ 97a Abs. 2 S. 1 Nr. 3 SGB VI). + The target computes, in a run for the income year, the input + `einkommen_vorjahr_m` of the following year: (person's share of the zvE + + steuerfreier Teil of pensions + Abgeltungsteuer capital income) / 12. + Assumed: zvE and pensions are zero; the capital income is declared (§ 97a + Abs. 6). + 580.00 / 12 = 48.33. + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: + einkommensteuer: + einkünfte: + sonstige: + rente: + alter_beginn_leistungsbezug_sonstige_private_vorsorge: + - 65 + zu_versteuerndes_einkommen_y_sn: + - 0.0 + einnahmen: + renten: + aus_berufsständischen_versicherungen_m: + - 0.0 + basisrente_m: + - 0.0 + betriebliche_altersvorsorge_m: + - 0.0 + geförderte_private_vorsorge_m: + - 0.0 + sonstige_private_vorsorge_m: + - 0.0 + sozialversicherung: + rente: + altersrente: + bruttorente_m: + - 0.0 + bezieht_altersrente: + - false + erwerbsminderung: + betrag_m: + - 0.0 + grundrente: + betrag_m: + - 0.0 + jahr_renteneintritt: + - 2020 + provided: + einkommensteuer: + gemeinsam_veranlagt: + - false + einnahmen: + kapitalerträge_y: + - 1580.0 + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 +outputs: + sozialversicherung: + rente: + grundrente: + einkommen_für_einkommensberechnung_im_folgejahr_m: + - 48.33 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" new file mode 100644 index 000000000..b6f372394 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" @@ -0,0 +1,87 @@ +--- +info: + note: |- + GRA Beispiel 10, Fall A: jointly assessed spouses with joint capital income of + 5,000.00 EUR in 2023, less the joint Sparer-Pauschbetrag of 2,000.00 EUR; + 3,000.00 EUR are credited, "jedem Ehegatten zur Hälfte zuzurechnen" + (§ 97a Abs. 2 S. 1 Nr. 3 SGB VI). + Assumed: the capital income is held equally (2,500.00 each); zvE and pensions + are zero; the capital income is declared (§ 97a Abs. 6). + Per spouse: 3,000.00 / 2 / 12 = 125.00. + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: + einkommensteuer: + einkünfte: + sonstige: + rente: + alter_beginn_leistungsbezug_sonstige_private_vorsorge: + - 65 + - 65 + zu_versteuerndes_einkommen_y_sn: + - 0.0 + - 0.0 + einnahmen: + kapitalerträge_y: + - 2500.0 + - 2500.0 + renten: + aus_berufsständischen_versicherungen_m: + - 0.0 + - 0.0 + basisrente_m: + - 0.0 + - 0.0 + betriebliche_altersvorsorge_m: + - 0.0 + - 0.0 + geförderte_private_vorsorge_m: + - 0.0 + - 0.0 + sonstige_private_vorsorge_m: + - 0.0 + - 0.0 + sozialversicherung: + rente: + altersrente: + bruttorente_m: + - 0.0 + - 0.0 + bezieht_altersrente: + - false + - false + erwerbsminderung: + betrag_m: + - 0.0 + - 0.0 + grundrente: + betrag_m: + - 0.0 + - 0.0 + jahr_renteneintritt: + - 2020 + - 2020 + provided: + einkommensteuer: + gemeinsam_veranlagt: + - true + - true + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 +outputs: + sozialversicherung: + rente: + grundrente: + einkommen_für_einkommensberechnung_im_folgejahr_m: + - 125.0 + - 125.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..66533eb32 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,40 @@ +--- +info: + note: |- + Lohnsteuer kompakt, "Beispiel für eine alleinstehende Person 2024": Zuschlag + 320 EUR; zu versteuerndes Einkommen inklusive des steuerfreien Teils der Rente + 1,800 EUR im Monat. + Thresholds 2024 (Rentenwert of 01.07.2023, 37.60, § 97a Abs. 4 S. 5 SGB VI): + 36.56 * 37.60 = 1,374.66 -> 1,375; 46.78 * 37.60 = 1,758.93 -> 1,759. + Credited: 0.6 * (1,759 - 1,375) + (1,800 - 1,759) = 230.40 + 41.00 = 271.40. + Zuschlag: 320.00 - 271.40 = 48.60. + The source rounds 230.40 to 230 and reports 49 EUR; § 97a prescribes no such + rounding and the DRV examples keep cents, so the case expects 48.60. + precision_atol: 0.01 + source: |- + https://www.lohnsteuer-kompakt.de/steuerwissen/grundrentenzuschlag-hoehere-einkommensfreibetraege-ab-2024/ +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 320.0 + einkommen_vorjahr_m: + - 1800.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 271.4 + betrag_m: + - 48.6 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" new file mode 100644 index 000000000..9a805bb86 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" @@ -0,0 +1,67 @@ +--- +info: + note: |- + Hand-derived. The § 97a Abs. 2 S. 1 SGB VI income is not floored at zero: a + negative zvE (losses) reduces the steuerfreier Teil of the pension. + Single, zvE -1,200.00 EUR per year; Altersrente 1,000.00 EUR since 2020 + (Besteuerungsanteil 80 %, steuerfreier Teil (1 - 0.80) * 1,000.00 = 200.00 per + month); no capital income. + Income: -1,200.00 / 12 + 200.00 = -100.00 + 200.00 = 100.00. + (Flooring the zvE at zero would give 200.00.) + precision_atol: 0.01 + source: § 97a Abs. 2 S. 1 SGB VI; § 2 Abs. 5 EStG +inputs: + assumed: {} + provided: + einkommensteuer: + einkünfte: + sonstige: + rente: + alter_beginn_leistungsbezug_sonstige_private_vorsorge: + - 65 + gemeinsam_veranlagt: + - false + zu_versteuerndes_einkommen_y_sn: + - -1200.0 + einnahmen: + kapitalerträge_y: + - 0.0 + renten: + aus_berufsständischen_versicherungen_m: + - 0.0 + basisrente_m: + - 0.0 + betriebliche_altersvorsorge_m: + - 0.0 + geförderte_private_vorsorge_m: + - 0.0 + sonstige_private_vorsorge_m: + - 0.0 + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + altersrente: + bruttorente_m: + - 1000.0 + bezieht_altersrente: + - true + erwerbsminderung: + betrag_m: + - 0.0 + grundrente: + betrag_m: + - 0.0 + jahr_renteneintritt: + - 2020 +outputs: + sozialversicherung: + rente: + grundrente: + einkommen_für_einkommensberechnung_im_folgejahr_m: + - 100.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" new file mode 100644 index 000000000..2997e59b4 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" @@ -0,0 +1,101 @@ +--- +info: + note: |- + Hand-derived. Jointly assessed spouses; the target computes each spouse's + § 97a Abs. 2 S. 1 SGB VI income for the following year: + - Nr. 1: the joint zvE (24,000.00 EUR per year) split equally, 12,000.00 each. + - Nr. 2: the steuerfreier Teil of pensions under § 22 Nr. 1 S. 3 lit. a dbl. aa + EStG (gesetzliche Rente, Basisrente, berufsständische Versorgung). GETTSIM + taxes these at the Besteuerungsanteil of the year the pension began, so the + steuerfreier Teil is (1 - Besteuerungsanteil) times the pension. Pensions taxed + at the Ertragsanteil (dbl. bb) are not part of Nr. 2. + - The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG) and part of neither + Nr. 1 nor Nr. 2. + - Nr. 3: no capital income. + Spouse 0: Altersrente 1,000.00 EUR plus Zuschlag 100.00 EUR, pension since 2020 + (Besteuerungsanteil 80 %); a private pension (sonstige private Vorsorge) of + 300.00 EUR, taxed at the Ertragsanteil. + Steuerfreier Teil: (1 - 0.80) * 1,000.00 = 200.00 (the Zuschlag and the private + pension are left out). + Income: (12,000.00 + 12 * 200.00) / 12 = 1,000.00 + 200.00 = 1,200.00. + Spouse 1: Altersrente 500.00 EUR and berufsständische Versorgung 200.00 EUR, + since 2015 (Besteuerungsanteil 70 %). + Steuerfreier Teil: (1 - 0.70) * (500.00 + 200.00) = 210.00. + Income: 1,000.00 + 210.00 = 1,210.00. + The zvE is given as input, so this case does not depend on the income tax + computation. + precision_atol: 0.01 + source: § 97a Abs. 2 S. 1, 7 SGB VI; § 3 Nr. 14a, § 22 Nr. 1 S. 3 lit. a EStG +inputs: + assumed: {} + provided: + einkommensteuer: + einkünfte: + sonstige: + rente: + alter_beginn_leistungsbezug_sonstige_private_vorsorge: + - 65 + - 65 + gemeinsam_veranlagt: + - true + - true + zu_versteuerndes_einkommen_y_sn: + - 24000.0 + - 24000.0 + einnahmen: + kapitalerträge_y: + - 0.0 + - 0.0 + renten: + aus_berufsständischen_versicherungen_m: + - 0.0 + - 200.0 + basisrente_m: + - 0.0 + - 0.0 + betriebliche_altersvorsorge_m: + - 0.0 + - 0.0 + geförderte_private_vorsorge_m: + - 0.0 + - 0.0 + sonstige_private_vorsorge_m: + - 300.0 + - 0.0 + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + altersrente: + bruttorente_m: + - 1000.0 + - 500.0 + bezieht_altersrente: + - true + - true + erwerbsminderung: + betrag_m: + - 0.0 + - 0.0 + grundrente: + betrag_m: + - 100.0 + - 0.0 + jahr_renteneintritt: + - 2020 + - 2015 +outputs: + sozialversicherung: + rente: + grundrente: + einkommen_für_einkommensberechnung_im_folgejahr_m: + - 1200.0 + - 1210.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" new file mode 100644 index 000000000..62429bc99 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" @@ -0,0 +1,42 @@ +--- +info: + note: |- + SG Augsburg, Gerichtsbescheid v. 01.10.2025 - S 13 R 469/25, Tatbestand Rn. 2 + (DRV-Bescheid v. 30.04.2025): Rentenbeginn 01.05.2025; zu versteuerndes + Einkommen 2023 21,181 EUR (monatlich 1,765.08 EUR); anrechenbares Einkommen + 196.25 EUR "(60% des den Grenzbetrag von 1.438 EUR übersteigenden Einkommens)"; + Zuschlag 101.88 EUR, not paid. + Assumed: single (the 1,438 threshold is the single one); steuerfreier Teil and + capital income zero. + Thresholds 2025 (Rentenwert of 01.07.2024, 39.32): + 36.56 * 39.32 = 1,437.54 -> 1,438; 46.78 * 39.32 = 1,839.39 -> 1,840. + Credited: 0.6 * (1,765.08 - 1,438) = 196.248 -> 196.25. + Zuschlag: max(101.88 - 196.25, 0) = 0.00. + precision_atol: 0.01 + source: |- + https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2025-N-44738?all=False +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 101.88 + einkommen_vorjahr_m: + - 1765.08 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 196.25 + betrag_m: + - 0.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..20d3668bb --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,54 @@ +--- +info: + note: |- + GRA Beispiel 7 (Freibetrag, zu Abschnitt 5). Rentenbeginn 01.02.2026, Zuschlag + vor Einkommensanrechnung 100.00 EUR, gemeinsames zu versteuerndes Einkommen der + Ehegatten 2,900.00 EUR monatlich. + Assumed: the joint income is split equally between the spouses (1,450.00 each); + steuerfreier Teil and capital income are zero; the spouse has no Zuschlag of + their own. + Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, § 97a Abs. 4 S. 5 SGB VI), + rounded up to full Euro (Abs. 4 S. 1): + 57.03 * 40.79 = 2,326.25 -> 2,327; 67.27 * 40.79 = 2,743.94 -> 2,744. + Credited: 0.6 * (2,744 - 2,327) + (2,900 - 2,744) = 250.20 + 156.00 = 406.20. + Zuschlag: max(100.00 - 406.20, 0) = 0.00. + precision_atol: 0.01 + source: |- + DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 008.00, + Beispiel 7. + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_m: + - 1450.0 + - 1450.0 + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 100.0 + - 0.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 406.2 + - 406.2 + betrag_m: + - 0.0 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml new file mode 100644 index 000000000..cb231fa82 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml @@ -0,0 +1,62 @@ +--- +info: + note: |- + Hand-derived. Four singles, each with a Zuschlag before crediting of 300.00 EUR, + with incomes on both sides of each threshold. § 97a Abs. 4 S. 1 SGB VI rounds + every threshold up to a full Euro. + Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, Abs. 4 S. 5): + 36.56 * 40.79 = 1,491.2824 -> 1,492; 46.78 * 40.79 = 1,908.1562 -> 1,909. + - 1,491.50 (above the unrounded, below the rounded lower threshold): 0.00; + Zuschlag 300.00. + - 1,492.50: 0.6 * 0.50 = 0.30; Zuschlag 299.70. + - 1,908.50 (above the unrounded, below the rounded upper threshold): + 0.6 * 416.50 = 249.90; Zuschlag 50.10. + - 1,910.00: 0.6 * 417 + 1.00 = 251.20; Zuschlag 48.80. + precision_atol: 0.01 + source: § 97a Abs. 4 S. 1-3, 5 SGB VI +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - -1 + - -1 + - -1 + hh_id: + - 0 + - 1 + - 2 + - 3 + p_id: + - 0 + - 1 + - 2 + - 3 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 300.0 + - 300.0 + - 300.0 + einkommen_vorjahr_m: + - 1491.5 + - 1492.5 + - 1908.5 + - 1910.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 0.0 + - 0.3 + - 249.9 + - 251.2 + betrag_m: + - 300.0 + - 299.7 + - 50.1 + - 48.8 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml new file mode 100644 index 000000000..dc3402a64 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml @@ -0,0 +1,45 @@ +--- +info: + note: |- + Hand-derived. Both spouses receive a Zuschlag (400.00 and 200.00 EUR before + crediting); each has income 1,400.00 EUR. "Bei zwei grundrentenberechtigten + Ehegatten ist in beiden Renten das gemeldete gemeinsame Einkommen zu + berücksichtigen" (GRA Abschnitt 5). + Couple sum 2,800.00; couple thresholds 2026: 2,327 / 2,744. + Credited in each pension: 0.6 * 417 + 56 = 306.20. + Zuschlag: 400.00 - 306.20 = 93.80; max(200.00 - 306.20, 0) = 0.00. + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 400.0 + - 200.0 + einkommen_vorjahr_m: + - 1400.0 + - 1400.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 306.2 + - 306.2 + betrag_m: + - 93.8 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml new file mode 100644 index 000000000..bfab9e4ee --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml @@ -0,0 +1,45 @@ +--- +info: + note: |- + Hand-derived. The § 97a Abs. 2 S. 1 income is not floored at zero, so a spouse's + negative income (losses in the zvE) offsets the Berechtigter's income. + Berechtigter income 2,800.00 EUR, Zuschlag before crediting 300.00 EUR; spouse + income -300.00 EUR, no Zuschlag. Couple sum 2,500.00. + Couple thresholds 2026: 2,327 / 2,744 (57.03 / 67.27 * 40.79, rounded up). + Credited: 0.6 * (2,500 - 2,327) = 103.80 for both spouses. + Zuschlag: 300.00 - 103.80 = 196.20. + (Flooring the spouse at zero would credit 306.20 and pay no Zuschlag.) + precision_atol: 0.01 + source: § 97a Abs. 2 S. 1, Abs. 4 S. 4 SGB VI +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 0.0 + einkommen_vorjahr_m: + - 2800.0 + - -300.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 103.8 + - 103.8 + betrag_m: + - 196.2 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml new file mode 100644 index 000000000..07511ec81 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml @@ -0,0 +1,47 @@ +--- +info: + note: |- + Hand-derived. A married Berechtigter with income 2,000.00 EUR and Zuschlag before + crediting 300.00 EUR; the spouse has no income and no Zuschlag. The couple + thresholds of § 97a Abs. 4 S. 4 SGB VI apply whenever the Berechtigter is married, + also with a spouse without income (GRA Abschnitt 5: "Der für Ehegatten höhere + Freibetrag ist auch dann zu berücksichtigen, wenn der Ehegatte des Berechtigten + über kein eigenes Einkommen verfügt."). + Lower couple threshold 2026: 57.03 * 40.79 = 2,326.25 -> 2,327. + Income 2,000.00 < 2,327, so nothing is credited; Zuschlag 300.00. + (The single thresholds 1,492 / 1,909 would credit 0.6 * 417 + 91 = 341.20.) + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 0.0 + einkommen_vorjahr_m: + - 2000.0 + - 0.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 0.0 + - 0.0 + betrag_m: + - 300.0 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml new file mode 100644 index 000000000..54dfdb445 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml @@ -0,0 +1,48 @@ +--- +info: + note: |- + Hand-derived. Same couple as in `ehegatte_ohne_einkommen.yaml`, but the spouses + live permanently apart in separate households. § 97a SGB VI names the Ehegatte + without a separation qualifier, so the spouse's income and the couple thresholds + still apply (GRA Abschnitt 2: "Dies gilt auch für dauernd getrenntlebende + Ehegatten"). + Berechtigter income 2,000.00, spouse income 400.00; couple sum 2,400.00. + Couple thresholds 2026: 2,327 / 2,744 (57.03 / 67.27 * 40.79, rounded up). + Credited: 0.6 * (2,400 - 2,327) = 43.80 for both spouses. + Zuschlag: 300.00 - 43.80 = 256.20. + (Single thresholds on the own income would credit 0.6 * 417 + 91 = 341.20.) + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 1 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 0.0 + einkommen_vorjahr_m: + - 2000.0 + - 400.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 43.8 + - 43.8 + betrag_m: + - 256.2 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml new file mode 100644 index 000000000..566c34d8a --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml @@ -0,0 +1,90 @@ +--- +info: + note: |- + Hand-derived. Four married couples; in each, one spouse has a Zuschlag before + crediting of 300.00 EUR and the other none. The couple's income sums lie on both + sides of each couple threshold (§ 97a Abs. 4 S. 4 SGB VI), split equally between + the spouses. Abs. 4 S. 1 rounds every threshold up to a full Euro. + Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, Abs. 4 S. 5): + 57.03 * 40.79 = 2,326.2537 -> 2,327; 67.27 * 40.79 = 2,743.9433 -> 2,744. + - 2,326.50 (1,163.25 each): 0.00; Zuschlag 300.00. + - 2,328.00 (1,164.00 each): 0.6 * 1.00 = 0.60; Zuschlag 299.40. + - 2,743.50 (1,371.75 each): 0.6 * 416.50 = 249.90; Zuschlag 50.10. + - 2,745.00 (1,372.50 each): 0.6 * 417 + 1.00 = 251.20; Zuschlag 48.80. + Both spouses get the same credited income, computed from the couple's sum. + precision_atol: 0.01 + source: § 97a Abs. 4 S. 1-5 SGB VI +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + - 3 + - 2 + - 5 + - 4 + - 7 + - 6 + hh_id: + - 0 + - 0 + - 1 + - 1 + - 2 + - 2 + - 3 + - 3 + p_id: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 0.0 + - 300.0 + - 0.0 + - 300.0 + - 0.0 + - 300.0 + - 0.0 + einkommen_vorjahr_m: + - 1163.25 + - 1163.25 + - 1164.0 + - 1164.0 + - 1371.75 + - 1371.75 + - 1372.5 + - 1372.5 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 0.0 + - 0.0 + - 0.6 + - 0.6 + - 249.9 + - 249.9 + - 251.2 + - 251.2 + betrag_m: + - 300.0 + - 0.0 + - 299.4 + - 0.0 + - 50.1 + - 0.0 + - 48.8 + - 0.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..462f2162c --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,48 @@ +--- +info: + note: |- + DRV-Broschüre "Grundrente: Zuschlag zur Rente", 5. Auflage (5/2026), p. 16 f., + "Monika L.": married, she and her husband have a joint monthly income of + 2,800 EUR; 2,327 EUR are not credited; 60 % of 417 EUR = 250.20 EUR; + 2,800 - 2,744 = 56 EUR; credited 306.20 EUR. + Assumed: the joint income is split equally (1,400.00 each); Zuschlag before + crediting 400.00 EUR (not stated); the husband has no Zuschlag. + Thresholds 2026 (Rentenwert of 01.07.2025, 40.79): + 57.03 * 40.79 = 2,326.25 -> 2,327; 67.27 * 40.79 = 2,743.94 -> 2,744. + Credited: 0.6 * 417 + 56 = 306.20 for both spouses (computed from the joint + income). Zuschlag: 400.00 - 306.20 = 93.80. + precision_atol: 0.01 + source: |- + https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 400.0 + - 0.0 + einkommen_vorjahr_m: + - 1400.0 + - 1400.0 + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 306.2 + - 306.2 + betrag_m: + - 93.8 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml new file mode 100644 index 000000000..288d30efb --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml @@ -0,0 +1,42 @@ +--- +info: + note: |- + DRV-Broschüre "Grundrente: Zuschlag zur Rente", 5. Auflage (5/2026), p. 15 f., + "Dieter P.": widower, monthly income 1,550 EUR; 1,492 EUR are not credited; + 60 % of 58 EUR = 34.80 EUR. + Assumed: Zuschlag before crediting 100.00 EUR (not stated). A widower has no + spouse, so the single thresholds apply. + Thresholds 2026 (Rentenwert of 01.07.2025, 40.79): + 36.56 * 40.79 = 1,491.28 -> 1,492; 46.78 * 40.79 = 1,908.16 -> 1,909. + Credited: 0.6 * (1,550 - 1,492) = 34.80. Zuschlag: 100.00 - 34.80 = 65.20. + precision_atol: 0.01 + source: |- + https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 100.0 + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_m: + - 1550.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 34.8 + betrag_m: + - 65.2 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml new file mode 100644 index 000000000..a1d1d9eec --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml @@ -0,0 +1,59 @@ +--- +info: + note: |- + Hand-derived. Changes of the thresholds take effect only from the 1 January + after a Rentenwert adjustment (§ 97a Abs. 4 S. 5 with Abs. 5 S. 2 SGB VI; GRA + Abschnitt 5: "Die Änderungen werden allerdings erst zum darauffolgenden 01.01. + wirksam"). So in September 2026 the thresholds still rest on the Rentenwert of + 01.07.2025 (40.79), not on the 42.52 in force since 01.07.2026. + The two households repeat the DRV-Broschüre 5/2026 examples (thresholds stated + "seit Januar 2026"): + - Single, income 1,550.00, Zuschlag before crediting 100.00: + 36.56 * 40.79 = 1,491.28 -> 1,492; credited 0.6 * 58 = 34.80; + Zuschlag 65.20. + - Married, income 1,400.00 each, Zuschlag 400.00 for one spouse: + 57.03 * 40.79 -> 2,327, 67.27 * 40.79 -> 2,744; + credited 0.6 * 417 + 56 = 306.20; Zuschlag 93.80. + (With 42.52 the thresholds would be 1,555 and 2,425 / 2,861.) + precision_atol: 0.01 + source: |- + https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - 2 + - 1 + hh_id: + - 0 + - 1 + - 1 + p_id: + - 0 + - 1 + - 2 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 100.0 + - 400.0 + - 0.0 + einkommen_vorjahr_m: + - 1550.0 + - 1400.0 + - 1400.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 34.8 + - 306.2 + - 306.2 + betrag_m: + - 65.2 + - 93.8 + - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml new file mode 100644 index 000000000..2ebbb43a5 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml @@ -0,0 +1,65 @@ +--- +info: + note: |- + Hand-derived. From 01.01.2027 § 97a Abs. 2 S. 7 SGB VI is struck (SGB + VI-Anpassungsgesetz v. 22.12.2025, BGBl. 2025 I Nr. 355, Art. 1 Nr. 11 Buchst. + a); the crediting rule of Abs. 4 is unchanged. The thresholds for 2027 rest on + the Rentenwert of 01.07.2026 (42.52, Abs. 4 S. 5), rounded up (Abs. 4 S. 1): + 36.56 * 42.52 = 1,554.53 -> 1,555; 46.78 * 42.52 = 1,989.09 -> 1,990; + 57.03 * 42.52 = 2,424.92 -> 2,425; 67.27 * 42.52 = 2,860.32 -> 2,861. + Zuschlag before crediting 300.00 EUR in every household: + - Single, income 1,554.80 (between the unrounded and the rounded lower + threshold): 0.00; Zuschlag 300.00. + - Single, income 2,000.00: 0.6 * (1,990 - 1,555) + 10 = 261.00 + 10.00 = + 271.00; Zuschlag 29.00. + - Married, 1,435.00 each (sum 2,870.00), Zuschlag for one spouse: + 0.6 * (2,861 - 2,425) + 9 = 261.60 + 9.00 = 270.60; Zuschlag 29.40. + precision_atol: 0.01 + source: |- + https://www.recht.bund.de/bgbl/1/2025/355/VO.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - -1 + - 3 + - 2 + hh_id: + - 0 + - 1 + - 2 + - 2 + p_id: + - 0 + - 1 + - 2 + - 3 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 300.0 + - 300.0 + - 300.0 + - 0.0 + einkommen_vorjahr_m: + - 1554.8 + - 2000.0 + - 1435.0 + - 1435.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 0.0 + - 271.0 + - 270.6 + - 270.6 + betrag_m: + - 300.0 + - 29.0 + - 29.4 + - 0.0 From f5b543a0af1735d82291357aa034c9d397762220 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 12:26:18 +0200 Subject: [PATCH 02/18] =?UTF-8?q?Base=20the=20Grundrente=20income=20test?= =?UTF-8?q?=20on=20the=20=C2=A7=2097a=20SGB=20VI=20income?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the gross-receipt inputs by one input holding the § 97a Abs. 2 income, computed by a target in a run for the previous year. Round the thresholds up and fix them per calendar year, exempt the Zuschlag from income tax (§ 3 Nr. 14a EStG), correct the date key of the July 2024 Rentenwert, and add a how-to notebook. Co-Authored-By: Claude Opus 5.5 --- CHANGES.md | 20 ++ .../calculating_grundrente.ipynb | 284 ++++++++++++++++++ docs/how_to_guides/index.md | 1 + .../inputs_from_prior_periods.md | 11 + .../eink\303\274nfte/sonstige/rente/rente.py" | 66 +++- .../rente/grundrente/einkommen.yaml | 144 ++++++--- .../rente/grundrente/grundrente.py | 181 +++++------ .../rente/grundrente/inputs.py | 44 +-- .../rente/rentenformel.yaml | 2 +- ...esteuerung_sonstige_private_vorsorge.yaml" | 9 + ...\303\274cksichtigtes_renteneinkommen.yaml" | 23 ++ ...f\303\274r_sonstige_eink\303\274nfte.yaml" | 5 + .../rente/grundrente/2021-07-01/hh_id_1.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_10.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_11.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_12.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_2.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_3.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_4.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_5.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_6.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_7.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_8.yaml | 10 +- .../rente/grundrente/2021-07-01/hh_id_9.yaml | 10 +- .../grundrente/2021-07-01/married_couple.yaml | 14 +- ...alleinerziehende_mit_arbeitendem_kind.yaml | 6 + .../2025-01-01/grundrente_freibetrag.yaml | 4 + .../tests_germany/test_policy_cases.py | 2 +- 28 files changed, 643 insertions(+), 293 deletions(-) create mode 100644 docs/how_to_guides/calculating_grundrente.ipynb diff --git a/CHANGES.md b/CHANGES.md index 793add284..bf4abba6e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,26 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge ## Unreleased +- {gh}`XXXX` Base the income test of the Grundrentenzuschlag on the § 97a Abs. 2 SGB VI + income (zu versteuerndes Einkommen, steuerfreier Teil of pensions, and capital income + under the Abgeltungsteuer) instead of gross receipts. The income thresholds are + rounded up to full Euro and use the Rentenwert of the previous 1 July for the whole + calendar year. The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG). The Rentenwert + of 39.32 EUR applies from 1 July 2024 instead of 7 January 2024. + + New input `sozialversicherung__rente__grundrente__einkommen_vorjahr_m`, which replaces + `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_vorjahr_m`, + `sozialversicherung__rente__grundrente__bruttolohn_vorjahr_y`, + `sozialversicherung__rente__grundrente__einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y`, + `sozialversicherung__rente__grundrente__einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y`, + and + `sozialversicherung__rente__grundrente__einnahmen_aus_kapitalvermögen_vorvorjahr_y`. + The target + `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m` + is renamed to + `sozialversicherung__rente__grundrente__einkommen_für_einkommensberechnung_im_folgejahr_m`. + ({ghuser}`MImmesberger`) + - {gh}`1240` Cap Elterngeld replacement rate at 100% for low-income pre-birth earnings per Section 2(2) BEEG. ({ghuser}`Fire162`) diff --git a/docs/how_to_guides/calculating_grundrente.ipynb b/docs/how_to_guides/calculating_grundrente.ipynb new file mode 100644 index 000000000..0d874e957 --- /dev/null +++ b/docs/how_to_guides/calculating_grundrente.ipynb @@ -0,0 +1,284 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# How to calculate the Grundrentenzuschlag\n", + "\n", + "The Grundrentenzuschlag (basic pension supplement) raises the statutory pensions of\n", + "people who paid contributions for at least 33 years at low earnings. It is reduced by\n", + "the pensioner's income (§ 97a SGB VI). This income is the sum of\n", + "\n", + "- the zu versteuerndes Einkommen (taxable income),\n", + "- the steuerfreier Teil (tax-free part) of pensions, and\n", + "- capital income taxed under the Abgeltungsteuer,\n", + "\n", + "taken as one twelfth per month. Income up to a lower threshold is not credited; 60 % of\n", + "the income between the lower and the upper threshold is credited; income above the\n", + "upper threshold is credited in full. The thresholds are multiples of the Rentenwert\n", + "(36.56 and 46.78 times the Rentenwert for singles, 57.03 and 67.27 times for married\n", + "people), rounded up to a full Euro. A calendar year uses the Rentenwert of 1 July of\n", + "the previous year.\n", + "\n", + "The Grundrentenzuschlag does not use current income but the income of an earlier year,\n", + "which GETTSIM calculates in a separate run. This document shows how.\n", + "\n", + "### Overview\n", + "\n", + "The calculation involves two steps:\n", + "\n", + "1. Calculate the income relevant for the Grundrentenzuschlag in the **previous** year.\n", + " Use the target \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_für_einkommensberechnung_im_folgejahr_m\")` \n", + " with the policy environment of the previous year.\n", + "\n", + "2. Use the result as the input \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_vorjahr_m\")` \n", + " and calculate the Grundrentenzuschlag `(\"sozialversicherung\", \"rente\", \"grundrente\", \"betrag_m\")`\n", + " with the policy environment of the current year.\n", + "\n", + "> **Note**: GETTSIM simplifies the statute in a few ways:\n", + ">\n", + "> - The Deutsche Rentenversicherung uses the income of the year two years before (in\n", + "> the year the pension starts) or three years before (from the first annual check\n", + "> on). GETTSIM's target is meant to be run for the previous year. If you need the\n", + "> statutory lag, run step 1 for the right year yourself.\n", + "> - If the tax office has no data on a person, the statute cuts gross pensions by fixed\n", + "> percentages instead. GETTSIM does not model this fallback.\n", + "> - The zu versteuerndes Einkommen and the capital income of jointly assessed spouses\n", + "> are split equally between them. Only the couple's sum enters the crediting, so the\n", + "> split does not change the result.\n", + "> - The tax-free part of Versorgungsbezüge (civil servant pensions) is not modelled.\n", + "\n", + "## Example\n", + "\n", + "Consider a single pensioner, born in 1953, who has drawn her statutory pension since\n", + "2018. In 2025, she received a statutory pension of €1,250 and an occupational pension\n", + "(Betriebsrente) of €500 per month, plus €3,000 of capital income. She received no\n", + "Grundrentenzuschlag in 2025. We want her Grundrentenzuschlag in January 2026.\n", + "\n", + "### Step 1: Income in the previous year" + ] + }, + { + "cell_type": "code", + "metadata": {}, + "source": [ + "import numpy as np\n", + "\n", + "from gettsim import InputData, MainTarget, TTTargets, main" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "First, we compile the data needed to calculate her income tax for 2025." + ] + }, + { + "cell_type": "code", + "metadata": {}, + "source": [ + "input_data_2025 = {\n", + " \"alter\": np.array([72]),\n", + " \"alter_monate\": np.array([864]),\n", + " \"arbeitsstunden_w\": np.array([0]),\n", + " \"behinderungsgrad\": np.array([0]),\n", + " \"einkommensteuer\": {\n", + " \"abzüge\": {\n", + " \"beitrag_private_rentenversicherung_m\": np.array([0]),\n", + " \"kinderbetreuungskosten_m\": np.array([0]),\n", + " \"p_id_kinderbetreuungskostenträger\": np.array([-1]),\n", + " },\n", + " \"einkünfte\": {\n", + " \"aus_forst_und_landwirtschaft\": {\"betrag_y\": np.array([0])},\n", + " \"aus_gewerbebetrieb\": {\"betrag_y\": np.array([0])},\n", + " \"aus_nichtselbstständiger_arbeit\": {\n", + " \"tatsächliche_werbungskosten_y\": np.array([0]),\n", + " },\n", + " \"aus_selbstständiger_arbeit\": {\"betrag_y\": np.array([0])},\n", + " \"aus_vermietung_und_verpachtung\": {\"betrag_y\": np.array([0])},\n", + " \"ist_hauptberuflich_selbstständig\": np.array([False]),\n", + " \"sonstige\": {\n", + " \"alle_weiteren_y\": np.array([0]),\n", + " \"rente\": {\n", + " \"alter_beginn_leistungsbezug_sonstige_private_vorsorge\": np.array(\n", + " [65]\n", + " ),\n", + " },\n", + " },\n", + " },\n", + " \"gemeinsam_veranlagt\": np.array([False]),\n", + " },\n", + " \"einnahmen\": {\n", + " \"bruttolohn_m\": np.array([0]),\n", + " \"kapitalerträge_y\": np.array([3000]),\n", + " \"renten\": {\n", + " \"aus_berufsständischen_versicherungen_m\": np.array([0]),\n", + " \"basisrente_m\": np.array([0]),\n", + " \"betriebliche_altersvorsorge_m\": np.array([500]),\n", + " \"geförderte_private_vorsorge_m\": np.array([0]),\n", + " \"gesetzliche_m\": np.array([1250]),\n", + " \"sonstige_private_vorsorge_m\": np.array([0]),\n", + " },\n", + " },\n", + " \"familie\": {\n", + " \"alleinerziehend\": np.array([False]),\n", + " \"p_id_ehepartner\": np.array([-1]),\n", + " \"p_id_elternteil_1\": np.array([-1]),\n", + " \"p_id_elternteil_2\": np.array([-1]),\n", + " },\n", + " \"geburtsjahr\": np.array([1953]),\n", + " \"kindergeld\": {\n", + " \"in_ausbildung\": np.array([False]),\n", + " \"p_id_empfänger\": np.array([-1]),\n", + " },\n", + " \"p_id\": np.array([0]),\n", + " \"sozialversicherung\": {\n", + " \"kranken\": {\"beitrag\": {\"privat_versichert\": np.array([False])}},\n", + " \"pflege\": {\"beitrag\": {\"hat_kinder\": np.array([True])}},\n", + " \"rente\": {\n", + " \"altersrente\": {\"betrag_m\": np.array([1250.0])},\n", + " \"bezieht_altersrente\": np.array([True]),\n", + " \"grundrente\": {\"betrag_m\": np.array([0.0])},\n", + " \"jahr_renteneintritt\": np.array([2018]),\n", + " \"verzichtet_auf_versicherungsfreiheit_wegen_alters\": np.array([False]),\n", + " \"verzichtet_auf_versicherungsfreiheit_wegen_geringfügiger_beschäftigung\": np.array(\n", + " [False]\n", + " ),\n", + " },\n", + " },\n", + "}" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We pass the Grundrentenzuschlag of 2025 as data because it is tax-free (§ 3 Nr. 14a\n", + "EStG): GETTSIM subtracts it from the taxable pension. Now, we calculate the income\n", + "relevant for the Grundrentenzuschlag in 2026, using the policy environment of 2025." + ] + }, + { + "cell_type": "code", + "metadata": {}, + "source": [ + "einkommen_2025 = main(\n", + " main_target=MainTarget.results.tree,\n", + " policy_date_str=\"2025-01-01\",\n", + " tt_targets=TTTargets.tree(\n", + " {\n", + " \"sozialversicherung\": {\n", + " \"rente\": {\n", + " \"grundrente\": {\n", + " \"einkommen_für_einkommensberechnung_im_folgejahr_m\": None,\n", + " }\n", + " }\n", + " }\n", + " }\n", + " ),\n", + " input_data=InputData.tree(input_data_2025),\n", + " include_warn_nodes=False,\n", + ")[\"sozialversicherung\"][\"rente\"][\"grundrente\"][\n", + " \"einkommen_für_einkommensberechnung_im_folgejahr_m\"\n", + "]\n", + "einkommen_2025" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This is less than her gross income of €1,750 per month plus capital income, because\n", + "the zu versteuerndes Einkommen deducts, e.g., health and long-term care insurance\n", + "contributions and the Sparer-Pauschbetrag.\n", + "\n", + "### Step 2: Grundrentenzuschlag in the current year\n", + "\n", + "Now we calculate the Grundrentenzuschlag for January 2026 with the policy environment\n", + "of that date. Her pension record has 35 years (420 months) of Grundrentenzeiten, which\n", + "are also her Grundrentenbewertungszeiten, with 17.5 Entgeltpunkte (0.5 per year) in\n", + "total. We pass a Zugangsfaktor of 1 as data, so we need not supply her full insurance\n", + "history." + ] + }, + { + "cell_type": "code", + "metadata": {}, + "source": [ + "input_data_2026 = {\n", + " \"familie\": {\"p_id_ehepartner\": np.array([-1])},\n", + " \"p_id\": np.array([0]),\n", + " \"sozialversicherung\": {\n", + " \"rente\": {\n", + " \"altersrente\": {\"zugangsfaktor\": np.array([1.0])},\n", + " \"grundrente\": {\n", + " \"bewertungszeiten_monate\": np.array([420]),\n", + " \"einkommen_vorjahr_m\": einkommen_2025,\n", + " \"grundrentenzeiten_monate\": np.array([420]),\n", + " \"mean_entgeltpunkte\": np.array([17.5]),\n", + " },\n", + " },\n", + " },\n", + "}\n", + "\n", + "main(\n", + " main_target=MainTarget.results.tree,\n", + " policy_date_str=\"2026-01-01\",\n", + " tt_targets=TTTargets.tree(\n", + " {\n", + " \"sozialversicherung\": {\n", + " \"rente\": {\n", + " \"grundrente\": {\n", + " \"basisbetrag_m\": None,\n", + " \"anzurechnendes_einkommen_m\": None,\n", + " \"betrag_m\": None,\n", + " }\n", + " }\n", + " }\n", + " }\n", + " ),\n", + " input_data=InputData.tree(input_data_2026),\n", + " include_warn_nodes=False,\n", + ")" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Her income lies between the 2026 thresholds for singles: 36.56 × €40.79 = €1,491.28,\n", + "rounded up to €1,492, and 46.78 × €40.79 = €1,908.16, rounded up to €1,909. So 60 % of\n", + "the income above €1,492 is credited: 0.6 × (€1,646.50 − €1,492) = €92.70. This amount is\n", + "subtracted from the Grundrentenzuschlag before crediting (`basisbetrag_m`), which leaves\n", + "€375.19 − €92.70 = €282.49." + ] + } + ], + "metadata": { + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/docs/how_to_guides/index.md b/docs/how_to_guides/index.md index 5c1f38762..8451c580d 100644 --- a/docs/how_to_guides/index.md +++ b/docs/how_to_guides/index.md @@ -12,4 +12,5 @@ maxdepth: 1 modifications_of_policy_environments inputs_from_prior_periods calculating_elterngeld +calculating_grundrente ``` diff --git a/docs/how_to_guides/inputs_from_prior_periods.md b/docs/how_to_guides/inputs_from_prior_periods.md index c104ec0fb..55c3af1f9 100644 --- a/docs/how_to_guides/inputs_from_prior_periods.md +++ b/docs/how_to_guides/inputs_from_prior_periods.md @@ -60,6 +60,17 @@ lifetime earnings: `neue_entgeltpunkte_y` to the previous year's `entgeltpunkte` to get the updated lifetime total. +**Grundrente (Grundrentenzuschlag)** + +The Grundrentenzuschlag is reduced by the income of an earlier year: + +- **Past input**: `("sozialversicherung", "rente", "grundrente", "einkommen_vorjahr_m")` +- **Calculation target**: + `("sozialversicherung", "rente", "grundrente", "einkommen_für_einkommensberechnung_im_folgejahr_m")`, + calculated with the policy environment of the previous year + +For a worked example, see the [Grundrente tutorial](calculating_grundrente.ipynb). + **Unemployment benefits (Arbeitslosengeld)** Unemployment benefits are based on the income in the 12 months preceding the beginning diff --git "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" index 0fb60d692..0cc7479b9 100644 --- "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" +++ "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" @@ -48,25 +48,18 @@ def steuerpflichtige_einnahmen_m_nach_ertragsanteil( ) def steuerpflichtige_einnahmen_m_nach_besteuerungsanteil( besteuerungsanteil: float, + einnahmen_mit_besteuerungsanteil_m: float, ertragsanteil_sonstige_private_vorsorge: float, - einnahmen__renten__gesetzliche_m: float, einnahmen__renten__geförderte_private_vorsorge_m: float, - einnahmen__renten__basisrente_m: float, einnahmen__renten__sonstige_private_vorsorge_m: float, einnahmen__renten__betriebliche_altersvorsorge_m: float, - einnahmen__renten__aus_berufsständischen_versicherungen_m: float, ) -> float: """Steuerpflichtige Einnahmen aus Renten i.S.d. § 22 EStG. Reference: § 22 Nr. 1 Satz 3 Buchstabe a EStG """ return ( - besteuerungsanteil - * ( - einnahmen__renten__gesetzliche_m - + einnahmen__renten__basisrente_m - + einnahmen__renten__aus_berufsständischen_versicherungen_m - ) + besteuerungsanteil * einnahmen_mit_besteuerungsanteil_m + ertragsanteil_sonstige_private_vorsorge * einnahmen__renten__sonstige_private_vorsorge_m + einnahmen__renten__betriebliche_altersvorsorge_m @@ -74,6 +67,61 @@ def steuerpflichtige_einnahmen_m_nach_besteuerungsanteil( ) +@policy_function( + start_date="2005-01-01", + end_date="2020-12-31", + leaf_name="einnahmen_mit_besteuerungsanteil_m", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def einnahmen_mit_besteuerungsanteil_m_bis_2020( + einnahmen__renten__gesetzliche_m: float, + einnahmen__renten__basisrente_m: float, + einnahmen__renten__aus_berufsständischen_versicherungen_m: float, +) -> float: + """Pensions taxed at the Besteuerungsanteil. + + Reference: § 22 Nr. 1 Satz 3 Buchstabe a Doppelbuchstabe aa EStG + """ + return ( + einnahmen__renten__gesetzliche_m + + einnahmen__renten__basisrente_m + + einnahmen__renten__aus_berufsständischen_versicherungen_m + ) + + +@policy_function( + start_date="2021-01-01", + leaf_name="einnahmen_mit_besteuerungsanteil_m", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def einnahmen_mit_besteuerungsanteil_m_ohne_grundrentenzuschlag( + einnahmen__renten__gesetzliche_m: float, + einnahmen__renten__basisrente_m: float, + einnahmen__renten__aus_berufsständischen_versicherungen_m: float, + sozialversicherung__rente__grundrente__betrag_m: float, + sozialversicherung__rente__bezieht_altersrente: bool, +) -> float: + """Pensions taxed at the Besteuerungsanteil, without the Grundrentenzuschlag. + + The pension share resting on the Grundrentenzuschlag is tax-free. The Zuschlag is + part of the Altersrente only while the person receives it. + + Reference: § 22 Nr. 1 Satz 3 Buchstabe a Doppelbuchstabe aa EStG; § 3 Nr. 14a EStG + (Art. 3 G. v. 16.12.2022 BGBl. I S. 2294, applicable from VZ 2021) + """ + grundrentenzuschlag_m = ( + sozialversicherung__rente__grundrente__betrag_m + if sozialversicherung__rente__bezieht_altersrente + else 0.0 + ) + return ( + einnahmen__renten__gesetzliche_m + - grundrentenzuschlag_m + + einnahmen__renten__basisrente_m + + einnahmen__renten__aus_berufsständischen_versicherungen_m + ) + + @policy_function(unit=TTSIMUnit.DIMENSIONLESS) def ertragsanteil_sonstige_private_vorsorge( alter_beginn_leistungsbezug_sonstige_private_vorsorge: int, diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml b/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml index f545f2e80..9a950c62a 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml @@ -1,51 +1,115 @@ --- -anzurechnendes_einkommen_ohne_partner: +einkommensgrenzen_ohne_ehegatte: name: - de: Einkommensanrechnung Grundrente für Personen ohne verheiratetem Partner - en: Crediting of income for basic pension for individuals without married partner + de: Einkommensgrenzen der Grundrente für Berechtigte ohne Ehegatten + en: Income thresholds of the basic pension for beneficiaries without spouse description: de: >- - § 97a Abs. 4 S. 2, 4 SGB VI - Werte werden mit dem Rentenwert multipliziert, um Schwellen der - Einkommensanrechnung des Grundrentenzuschlags zu ermitteln + § 97a Abs. 4 S. 2, 3 SGB VI + Vielfache des aktuellen Rentenwerts. Oberhalb der unteren Grenze werden 60 % + des Einkommens bis zur oberen Grenze angerechnet, oberhalb der oberen Grenze + das gesamte übersteigende Einkommen. en: >- - § 97a Abs. 4 S. 2, 4 SGB VI - Values are multiplied with the Rentenwert to compute the thresholds of the income - crediting rule of Grundrentenzuschlag - input_unit: DIMENSIONLESS - output_unit: DIMENSIONLESS - type: piecewise_linear + § 97a Abs. 4 S. 2, 3 SGB VI + Multiples of the aktueller Rentenwert. Above the lower threshold, 60 % of the + income up to the upper threshold is credited; above the upper threshold, the + full excess is credited. + unit: + untere_grenze: DIMENSIONLESS + obere_grenze: DIMENSIONLESS + type: dict 2021-01-01: - intervals: - - interval: (-inf, 36.56) - slope: 0 - intercept: 0 - - interval: '[36.56, 46.78)' - slope: 0.6 - - interval: '[46.78, inf)' - slope: 1 -anzurechnendes_einkommen_mit_partner: + untere_grenze: 36.56 + obere_grenze: 46.78 + reference: >- + Art. 1 Nr. 6 G. v. 12.08.2020 BGBl. I S. 1879 (Grundrentengesetz). +einkommensgrenzen_mit_ehegatte: name: - de: Einkommensanrechnung Grundrente für Personen mit verheiratetem Partner - en: Crediting of income for basic pension for individuals with married partner + de: Einkommensgrenzen der Grundrente für Berechtigte mit Ehegatten + en: Income thresholds of the basic pension for beneficiaries with spouse description: de: >- - § 97a Abs. 4 S. 2, 4 SGB VI - Werte werden mit dem Rentenwert multipliziert, um Schwellen der - Einkommensanrechnung des Grundrentenzuschlags zu ermitteln + § 97a Abs. 4 S. 4 SGB VI + Vielfache des aktuellen Rentenwerts, die an die Stelle der Grenzen für + Berechtigte ohne Ehegatten treten, wenn auch das Einkommen des Ehegatten zu + berücksichtigen ist. en: >- - § 97a Abs. 4 S. 2, 4 SGB VI - Values are multiplied with the Rentenwert to compute the thresholds of the income - crediting rule of Grundrentenzuschlag - input_unit: DIMENSIONLESS - output_unit: DIMENSIONLESS - type: piecewise_linear + § 97a Abs. 4 S. 4 SGB VI + Multiples of the aktueller Rentenwert that replace the thresholds for + beneficiaries without spouse if the spouse's income is to be considered as + well. + unit: + untere_grenze: DIMENSIONLESS + obere_grenze: DIMENSIONLESS + type: dict 2021-01-01: - intervals: - - interval: (-inf, 57.03) - slope: 0 - intercept: 0 - - interval: '[57.03, 67.27)' - slope: 0.6 - - interval: '[67.27, inf)' - slope: 1 + untere_grenze: 57.03 + obere_grenze: 67.27 + reference: >- + Art. 1 Nr. 6 G. v. 12.08.2020 BGBl. I S. 1879 (Grundrentengesetz). +anrechnungssätze: + name: + de: Anrechnungssätze der Grundrente + en: Crediting rates of the basic pension + description: + de: >- + § 97a Abs. 4 S. 2, 3 SGB VI + Anteil des Einkommens zwischen den Einkommensgrenzen und Anteil des Einkommens + oberhalb der oberen Einkommensgrenze, der auf den Grundrentenzuschlag + angerechnet wird. + en: >- + § 97a Abs. 4 S. 2, 3 SGB VI + Share of the income between the thresholds and share of the income above the + upper threshold that is credited against the Grundrentenzuschlag. + unit: + zwischen_den_grenzen: DIMENSIONLESS + über_der_oberen_grenze: DIMENSIONLESS + type: dict + 2021-01-01: + zwischen_den_grenzen: 0.6 + über_der_oberen_grenze: 1.0 + reference: >- + Art. 1 Nr. 6 G. v. 12.08.2020 BGBl. I S. 1879 (Grundrentengesetz). +rentenwert_für_einkommensgrenzen_m: + name: + de: Rentenwert für die Einkommensgrenzen der Grundrente + en: Rentenwert for the income thresholds of the basic pension + description: + de: >- + § 97a Abs. 4 S. 5 i.V.m. Abs. 5 S. 2 SGB VI + Änderungen der Einkommensgrenzen werden erst zum 1. Januar wirksam. Für das + Kalenderjahr gilt daher der aktuelle Rentenwert vom 1. Juli des Vorjahres + (siehe `sozialversicherung__rente__rentenwert_m`). Die Grenzen sind + bundeseinheitlich; bis 2023 gilt der Wert für die alten Bundesländer. + en: >- + § 97a Abs. 4 S. 5 in conjunction with Abs. 5 S. 2 SGB VI + Changes of the income thresholds take effect only on 1 January. A calendar year + therefore uses the aktueller Rentenwert of 1 July of the previous year (see + `sozialversicherung__rente__rentenwert_m`). The thresholds are uniform across + Germany; until 2023 the West value applies. + unit: EUR_PER_MONTH + type: scalar + 2021-01-01: + value: 34.19 + reference: >- + § 1 V. v. 08.06.2020 BGBl. I S. 1220 (Rentenwertbestimmungsverordnung 2020). + 2022-01-01: + value: 34.19 + reference: >- + § 1 V. v. 31.05.2021 BGBl. I S. 1254 (Rentenwertbestimmungsverordnung 2021). + 2023-01-01: + value: 36.02 + reference: >- + Art. 3 § 1 G. v. 28.06.2022 BGBl. I S. 975 (Rentenwertbestimmungsgesetz 2022). + 2024-01-01: + value: 37.60 + reference: V. v. 21.06.2023 BGBl. 2023 I Nr. 164. + 2025-01-01: + value: 39.32 + reference: V. v. 17.06.2024 BGBl. 2024 I Nr. 194. + 2026-01-01: + value: 40.79 + reference: V. v. 25.06.2025 BGBl. 2025 Nr. 148. + 2027-01-01: + value: 42.52 + reference: V. v. 18.06.2026 BGBl. 2026 Nr. 178. diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py index 6b5c4f6b1..a3536478b 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py @@ -3,11 +3,9 @@ from typing import TYPE_CHECKING from gettsim.tt import ( - PiecewisePolynomialParamValue, RoundingSpec, TTSIMUnit, cast_ttsim_unit, - piecewise_polynomial, policy_function, ) @@ -31,55 +29,6 @@ def betrag_m(basisbetrag_m: float, anzurechnendes_einkommen_m: float) -> float: return max(out, 0.0) -@policy_function(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH) -def einkommen_m( - gesamteinnahmen_aus_renten_vorjahr_m: float, - bruttolohn_vorjahr_m: float, - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_m: float, - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_m: float, - einnahmen_aus_kapitalvermögen_vorvorjahr_m: float, -) -> float: - """Income relevant for Grundrentenzuschlag before deductions. - - Some notes: - - - The Grundrentenzuschlag (in previous years) is not part of the relevant income and - does not lower the Grundrentenzuschlag (reference: § 97a Abs. 2 S. 7 SGB VI). - - The Deutsche Rentenversicherung uses the income of the year two to three years ago - to be able to use administrative data on this income for the calculation: "It can - be assumed that the tax office regularly has the data two years after the end of - the assessment period, which can be retrieved from the pension insurance." - - Warning: Freibeträge for income are currently not considered as `freibeträge_y` - depends on pension income through - `sozialversicherung__kranken__beitrag__betrag_versicherter_m` -> - `vorsorgeaufw` -> `freibeträge` - - Reference: § 97a Abs. 2 S. 1 SGB VI - """ - # Sum income over different income sources. - return ( - gesamteinnahmen_aus_renten_vorjahr_m - + bruttolohn_vorjahr_m - + einnahmen_aus_selbstständiger_arbeit_vorvorjahr_m - + einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_m - + einnahmen_aus_kapitalvermögen_vorvorjahr_m - ) - - -def _anzurechnendes_einkommen_m( - einkommen_m_ehe: float, - rentenwert_m: float, - parameter_anzurechnendes_einkommen: PiecewisePolynomialParamValue, - xnp: ModuleType, -) -> float: - """The isolated function for the relevant income for the Grundrentezuschlag.""" - return rentenwert_m * piecewise_polynomial( - x=einkommen_m_ehe / rentenwert_m, - parameters=parameter_anzurechnendes_einkommen, - xnp=xnp, - ) - - @policy_function( rounding_spec=RoundingSpec( unit=TTSIMUnit.EUR.PER_MONTH, @@ -89,46 +38,61 @@ def _anzurechnendes_einkommen_m( ), start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH, - # `piecewise_polynomial` runs inside the `_anzurechnendes_einkommen_m` helper, which - # the unit check's stand-in cannot reach, so the body cannot be unit-checked. - verify_units=False, ) def anzurechnendes_einkommen_m( - einkommen_m_ehe: float, + einkommen_vorjahr_m_ehe: float, familie__anzahl_personen_ehe: int, - sozialversicherung__rente__rentenwert_m: float, - anzurechnendes_einkommen_ohne_partner: PiecewisePolynomialParamValue, - anzurechnendes_einkommen_mit_partner: PiecewisePolynomialParamValue, + rentenwert_für_einkommensgrenzen_m: float, + einkommensgrenzen_ohne_ehegatte: dict[str, float], + einkommensgrenzen_mit_ehegatte: dict[str, float], + anrechnungssätze: dict[str, float], xnp: ModuleType, ) -> float: """Income which is deducted from Grundrentenzuschlag. - Apply allowances. There are upper and lower thresholds for singles and - couples. 60% of income between the upper and lower threshold is credited against - the Grundrentenzuschlag. All the income above the upper threshold is credited - against the Grundrentenzuschlag. + The income of the Berechtigter and their spouse is added up. Above the lower + threshold, 60 % of the income up to the upper threshold is credited; above the + upper threshold, the full excess is credited as well. Married Berechtigte get the + higher thresholds for couples, also if the spouse has no income or lives apart. - Reference: § 97a Abs. 4 S. 2, 4 SGB VI + Each threshold is a multiple of the Rentenwert, rounded up to a full Euro. Changes + of the thresholds take effect on 1 January, so the Rentenwert of the previous + 1 July applies for the whole calendar year. + + Reference: § 97a Abs. 1, Abs. 4 S. 1-5 SGB VI """ - # Calculate relevant income following the crediting rules using the values for - # singles and those for married subjects - # Note: Thresholds are defined relativ to rentenwert_m which is implemented by - # dividing the income by rentenwert_m and multiply rentenwert_m to the result. - if familie__anzahl_personen_ehe == 1: - out = _anzurechnendes_einkommen_m( - einkommen_m_ehe=einkommen_m_ehe, - rentenwert_m=sozialversicherung__rente__rentenwert_m, - parameter_anzurechnendes_einkommen=anzurechnendes_einkommen_ohne_partner, - xnp=xnp, + # The couple's income is compared with the thresholds, and the result is credited + # in full against each spouse's Zuschlag, so the sum loses its group level here. + einkommen_m = cast_ttsim_unit( + einkommen_vorjahr_m_ehe, unit=TTSIMUnit.CURRENCY.PER_MONTH + ) + ohne_ehegatte = familie__anzahl_personen_ehe == 1 + untere_grenze_m = xnp.ceil( + rentenwert_für_einkommensgrenzen_m + * ( + einkommensgrenzen_ohne_ehegatte["untere_grenze"] + if ohne_ehegatte + else einkommensgrenzen_mit_ehegatte["untere_grenze"] ) - else: - out = _anzurechnendes_einkommen_m( - einkommen_m_ehe=einkommen_m_ehe, - rentenwert_m=sozialversicherung__rente__rentenwert_m, - parameter_anzurechnendes_einkommen=anzurechnendes_einkommen_mit_partner, - xnp=xnp, + ) + obere_grenze_m = xnp.ceil( + rentenwert_für_einkommensgrenzen_m + * ( + einkommensgrenzen_ohne_ehegatte["obere_grenze"] + if ohne_ehegatte + else einkommensgrenzen_mit_ehegatte["obere_grenze"] ) - return out + ) + + einkommen_zwischen_den_grenzen = min( + max(einkommen_m - untere_grenze_m, 0.0), + obere_grenze_m - untere_grenze_m, + ) + einkommen_über_der_oberen_grenze = max(einkommen_m - obere_grenze_m, 0.0) + return ( + anrechnungssätze["zwischen_den_grenzen"] * einkommen_zwischen_den_grenzen + + anrechnungssätze["über_der_oberen_grenze"] * einkommen_über_der_oberen_grenze + ) @policy_function( @@ -277,12 +241,57 @@ def grundsätzlich_anspruchsberechtigt( return grundrentenzeiten_monate >= berücksichtigte_wartezeit_monate["min"] -@policy_function(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH) -def gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m( - einnahmen__renten__betrag_gesamt_m: float, +@policy_function(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) +def einkommen_für_einkommensberechnung_im_folgejahr_y( + einkommensteuer__zu_versteuerndes_einkommen_y_sn: float, + einkommensteuer__einkünfte__aus_kapitalvermögen__betrag_y_sn: float, + einkommensteuer__einkünfte__sonstige__rente__besteuerungsanteil: float, + einkommensteuer__einkünfte__sonstige__rente__einnahmen_mit_besteuerungsanteil_y: float, + familie__anzahl_personen_sn: int, ) -> float: - """Income from private and public pensions in the previous calendar year. + """Income relevant for the Grundrentenzuschlag in the following calendar year. + + This target can be used as the input `einkommen_vorjahr_m` in a GETTSIM call for + the following year. It is the sum of + + - the zu versteuerndes Einkommen, + - the steuerfreier Teil of pensions taxed at the Besteuerungsanteil, and + - the capital income subject to the Abgeltungsteuer. - This target can be used as an input in another GETTSIM call to compute Grundrente. + The zu versteuerndes Einkommen and the capital income of jointly assessed spouses + are split equally between them; only the couple's sum enters the crediting. + Negative income is not floored at zero. + + Some notes: + + - The zu versteuerndes Einkommen is the one used for the income tax, i.e., it + deducts the Kinderfreibeträge only if they are more favourable than the + Kindergeld (§ 2 Abs. 5 S. 2 EStG would deduct them in any case). + - The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG) and therefore not part + of the income; the deduction of § 97a Abs. 2 S. 7 SGB VI (until 2026) has + nothing to deduct. + - Not modelled: the tax-free part of Versorgungsbezüge (§ 97a Abs. 2 S. 1 Nr. 2 + SGB VI) and the 1/10 rule for capital income under § 20 Abs. 1 Nr. 6 EStG + (Nr. 3), because GETTSIM has no inputs for them; foreign income (Abs. 3 + S. 2-3); and the fallback to cut gross pensions if the tax office has no data + (Abs. 2 S. 4-5). + - The Deutsche Rentenversicherung uses the income of the year two (or three) + years before. Here, the income of the previous year is used. + + Reference: § 97a Abs. 2 S. 1 SGB VI """ - return einnahmen__renten__betrag_gesamt_m + zu_versteuerndes_einkommen_y = ( + einkommensteuer__zu_versteuerndes_einkommen_y_sn / familie__anzahl_personen_sn + ) + kapitaleinkünfte_y = ( + einkommensteuer__einkünfte__aus_kapitalvermögen__betrag_y_sn + / familie__anzahl_personen_sn + ) + steuerfreier_teil_der_renten_y = ( + 1 - einkommensteuer__einkünfte__sonstige__rente__besteuerungsanteil + ) * einkommensteuer__einkünfte__sonstige__rente__einnahmen_mit_besteuerungsanteil_y + return ( + zu_versteuerndes_einkommen_y + + steuerfreier_teil_der_renten_y + + kapitaleinkünfte_y + ) diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py index 05af59a2e..021740e4b 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py @@ -21,41 +21,15 @@ def mean_entgeltpunkte() -> float: @policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH) -def gesamteinnahmen_aus_renten_vorjahr_m() -> float: - """Income from private and public pensions in the previous calendar year. +def einkommen_vorjahr_m() -> float: + """Income relevant for the Grundrentenzuschlag (§ 97a Abs. 2 S. 1 SGB VI). - GETTSIM can calculate this input based on the data of the previous calendar year using the - target `('sozialversicherung', 'rente', 'grundrente', 'gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m')`. - """ - - -@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def bruttolohn_vorjahr_y() -> float: - """Earnings in the previous calendar year. - - Calculation is based on the 'Einnahmen' definitions of the basic tax law (EStG). - """ - - -@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y() -> float: - """Earnings from self-employment 2 years before. - - Calculation is based on the 'Einnahmen' definitions of the basic tax law (EStG). - """ - - -@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y() -> float: - """Earnings from rental income 2 years before. - - Calculation is based on the 'Einnahmen' definitions of the basic tax law (EStG). - """ - - -@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def einnahmen_aus_kapitalvermögen_vorvorjahr_y() -> float: - """Earnings from capital income 2 years before. + The sum of the person's zu versteuerndes Einkommen, the steuerfreier Teil of their + pensions, and their capital income subject to the Abgeltungsteuer in the previous + calendar year, as a monthly amount. For jointly assessed spouses, each holds half + of the joint zu versteuerndes Einkommen. - Calculation is based on the 'Einnahmen' definitions of the basic tax law (EStG). + GETTSIM can calculate this input based on the data of the previous calendar year + using the target `('sozialversicherung', 'rente', 'grundrente', + 'einkommen_für_einkommensberechnung_im_folgejahr_m')`. """ diff --git a/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml b/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml index 0f83c3df7..f4632ad5c 100644 --- a/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml +++ b/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml @@ -221,7 +221,7 @@ rentenwert_m: 2023-07-01: value: 37.60 reference: V.v. 21.06.2023 BGBl. 2023 I Nr. 164. - 2024-01-07: + 2024-07-01: value: 39.32 reference: V. v. 17.06.2024 BGBl. 2024 I Nr. 194. 2025-07-01: diff --git "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/keine_doppelbesteuerung_sonstige_private_vorsorge.yaml" "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/keine_doppelbesteuerung_sonstige_private_vorsorge.yaml" index 9807d806f..33d3e7d00 100644 --- "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/keine_doppelbesteuerung_sonstige_private_vorsorge.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/keine_doppelbesteuerung_sonstige_private_vorsorge.yaml" @@ -54,6 +54,15 @@ inputs: - 0.0 sozialversicherung: rente: + bezieht_altersrente: + - true + - true + - true + grundrente: + betrag_m: + - 0.0 + - 0.0 + - 0.0 jahr_renteneintritt: - 2025 - 2025 diff --git "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/steuerlich_ber\303\274cksichtigtes_renteneinkommen.yaml" "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/steuerlich_ber\303\274cksichtigtes_renteneinkommen.yaml" index 1d90bbd9e..4915e6512 100644 --- "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/steuerlich_ber\303\274cksichtigtes_renteneinkommen.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/steuerlich_ber\303\274cksichtigtes_renteneinkommen.yaml" @@ -113,6 +113,29 @@ inputs: - 1000.0 sozialversicherung: rente: + bezieht_altersrente: + - true + - true + - true + - true + - true + - true + - true + - true + - true + - true + grundrente: + betrag_m: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 jahr_renteneintritt: - 2005 - 2010 diff --git "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/werbungskostenpauschbetrag_f\303\274r_sonstige_eink\303\274nfte.yaml" "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/werbungskostenpauschbetrag_f\303\274r_sonstige_eink\303\274nfte.yaml" index de55a6102..27a9a0fac 100644 --- "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/werbungskostenpauschbetrag_f\303\274r_sonstige_eink\303\274nfte.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2023-01-01/werbungskostenpauschbetrag_f\303\274r_sonstige_eink\303\274nfte.yaml" @@ -34,6 +34,11 @@ inputs: - 0.0 sozialversicherung: rente: + bezieht_altersrente: + - true + grundrente: + betrag_m: + - 0.0 jahr_renteneintritt: - 2025 outputs: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml index 34a5180ba..b7bf8beac 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml @@ -40,15 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml index a7fea862f..17be543bc 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml @@ -40,15 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 492 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 492 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml index 1702ee340..e88b87745 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml @@ -42,15 +42,7 @@ inputs: grundrente: bewertungszeiten_monate: - 372 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 516 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml index 378d52b01..9ad199185 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml @@ -38,15 +38,7 @@ inputs: grundrente: bewertungszeiten_monate: - 0 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml index 221352e46..918646a5f 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml @@ -40,15 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml index dc44d190d..bbfba4026 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml @@ -41,15 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml index efb926589..ea06ca4fc 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml @@ -41,15 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 480 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml index 2a5f5b697..c233fe97f 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml @@ -41,15 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 408 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 408 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml index 584129f5d..88da7c278 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml @@ -40,15 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - bruttolohn_vorjahr_m: - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml index 7677a8cc7..d3abb86bb 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml @@ -40,16 +40,8 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - bruttolohn_vorjahr_m: + einkommen_vorjahr_m: - 1400.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: - - 0.0 grundrentenzeiten_monate: - 480 mean_entgeltpunkte: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml index 2e6a4aa06..7a8a448bd 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml @@ -40,16 +40,8 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - bruttolohn_vorjahr_m: + einkommen_vorjahr_m: - 2400.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: - - 0.0 grundrentenzeiten_monate: - 480 mean_entgeltpunkte: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml index 4cf1e2c66..c41be0c72 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml @@ -41,16 +41,8 @@ inputs: grundrente: bewertungszeiten_monate: - 552 - bruttolohn_vorjahr_m: + einkommen_vorjahr_m: - 1380.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: - - 0.0 grundrentenzeiten_monate: - 552 mean_entgeltpunkte: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml index c1766f19f..d2a0ee1fb 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml @@ -51,19 +51,7 @@ inputs: bewertungszeiten_monate: - 300 - 300 - bruttolohn_vorjahr_m: - - 0.0 - - 0.0 - einnahmen_aus_kapitalvermögen_vorvorjahr_y: - - 0.0 - - 0.0 - einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y: - - 0.0 - - 0.0 - einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y: - - 0.0 - - 0.0 - gesamteinnahmen_aus_renten_vorjahr_m: + einkommen_vorjahr_m: - 0.0 - 0.0 grundrentenzeiten_monate: diff --git a/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/alleinerziehende_mit_arbeitendem_kind.yaml b/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/alleinerziehende_mit_arbeitendem_kind.yaml index 3dec4f367..4490c6f82 100644 --- a/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/alleinerziehende_mit_arbeitendem_kind.yaml +++ b/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/alleinerziehende_mit_arbeitendem_kind.yaml @@ -145,6 +145,9 @@ inputs: - 150.0 - 0.0 rente: + bezieht_altersrente: + - false + - false jahr_renteneintritt: - 2052 - 2076 @@ -153,6 +156,9 @@ inputs: - 0.0 - 0.0 grundrente: + betrag_m: + - 0.0 + - 0.0 grundrentenzeiten_monate: - 0 - 0 diff --git a/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/grundrente_freibetrag.yaml b/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/grundrente_freibetrag.yaml index 589ca7e37..0340bc0ad 100644 --- a/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/grundrente_freibetrag.yaml +++ b/src/gettsim/tests_germany/policy_cases/wohngeld/2025-01-01/grundrente_freibetrag.yaml @@ -108,12 +108,16 @@ inputs: betrag_versicherter_m: - 40.0 rente: + bezieht_altersrente: + - true jahr_renteneintritt: - 2024 altersrente: betrag_m: - 500.0 grundrente: + betrag_m: + - 0.0 grundrentenzeiten_monate: - 396 beitrag: diff --git a/src/gettsim/tests_germany/test_policy_cases.py b/src/gettsim/tests_germany/test_policy_cases.py index 61ed8ea1a..4afeb2875 100644 --- a/src/gettsim/tests_germany/test_policy_cases.py +++ b/src/gettsim/tests_germany/test_policy_cases.py @@ -79,6 +79,7 @@ "kinderzuschlag__wohnbedarf_anteil_eltern_bg", "sozialversicherung__rente__alter_bei_renteneintritt", "sozialversicherung__rente__altersrente__älter_als_regelaltersgrenze", + "sozialversicherung__rente__grundrente__anzurechnendes_einkommen_m", "sozialversicherung__rente__grundrente__höchstbetrag_m", "sozialversicherung__rente__grundrente__mean_entgeltpunkte_zuschlag_m", "sozialversicherung__rente__neue_entgeltpunkte_y", @@ -112,7 +113,6 @@ "sozialversicherung__rente__altersrente__wegen_arbeitslosigkeit__altersgrenze_vorzeitig_ohne_vertrauensschutz", "sozialversicherung__rente__erwerbsminderung__zugangsfaktor", "sozialversicherung__rente__erwerbsminderung__zusätzliche_entgeltpunkte_durch_zurechnungszeit", - "sozialversicherung__rente__grundrente__anzurechnendes_einkommen_m", "wohngeld__dauerhafte_heizkostenkomponente_m_lookup", "wohngeld__heizkostenentlastung_m_lookup", "wohngeld__klimakomponente_m_lookup", From b6d73de3b559abd129ce23503e5475c416f80760 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 12:26:44 +0200 Subject: [PATCH 03/18] Add the PR number to CHANGES.md Co-Authored-By: Claude Opus 5.5 --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index bf4abba6e..47b73f69e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,7 +15,7 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge ## Unreleased -- {gh}`XXXX` Base the income test of the Grundrentenzuschlag on the § 97a Abs. 2 SGB VI +- {gh}`1246` Base the income test of the Grundrentenzuschlag on the § 97a Abs. 2 SGB VI income (zu versteuerndes Einkommen, steuerfreier Teil of pensions, and capital income under the Abgeltungsteuer) instead of gross receipts. The income thresholds are rounded up to full Euro and use the Rentenwert of the previous 1 July for the whole From f6bb99d13ae80d0914d03c9654216a5acea5a5ee Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 13:24:13 +0200 Subject: [PATCH 04/18] Pin gettsim-personas to the branch of ttsim-dev/gettsim-personas#63 Revert to main once that PR has been merged. Co-Authored-By: Claude Opus 5.5 --- pixi.lock | 90 +++++++++++++++++++++++++------------------------- pyproject.toml | 4 +-- 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/pixi.lock b/pixi.lock index bb426d264..fc53bb3a2 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1586,7 +1586,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -1876,8 +1876,8 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 - - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#8a995823b549ec6b9c98c9d20ff598ac373829b5 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c + - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/27/cd/c883e1a7c447479d6e13985565080e3fea88ab5a107c21684c813dba1875/flexcache-0.3-py3-none-any.whl @@ -2130,7 +2130,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2384,7 +2384,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2639,7 +2639,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -2922,7 +2922,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/03/02/483d389f5d4984b9aab12a6c16c43cc3f27304487f22f7e99aaf1c0deb5d/optree-0.20.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -3204,8 +3204,8 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 - - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#8a995823b549ec6b9c98c9d20ff598ac373829b5 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c + - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/03/02/483d389f5d4984b9aab12a6c16c43cc3f27304487f22f7e99aaf1c0deb5d/optree-0.20.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1b/dd/a9fe6a0a09512da23951c68bf36466aeecd89def3183dc095edbc807ddc5/pint-0.25.3-py3-none-any.whl @@ -3448,7 +3448,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1b/c6/2a089042de4705994f9e58fdbd47c4c98761ed05fcd8579e795bb0a786b4/optree-0.20.0-cp311-cp311-macosx_10_9_x86_64.whl @@ -3692,7 +3692,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1b/dd/a9fe6a0a09512da23951c68bf36466aeecd89def3183dc095edbc807ddc5/pint-0.25.3-py3-none-any.whl @@ -3937,7 +3937,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1b/dd/a9fe6a0a09512da23951c68bf36466aeecd89def3183dc095edbc807ddc5/pint-0.25.3-py3-none-any.whl @@ -4229,7 +4229,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4514,8 +4514,8 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 - - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#8a995823b549ec6b9c98c9d20ff598ac373829b5 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c + - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/27/cd/c883e1a7c447479d6e13985565080e3fea88ab5a107c21684c813dba1875/flexcache-0.3-py3-none-any.whl @@ -4761,7 +4761,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1a/f7/7cd4c9f2a3b7574414222ec425d5eee21cc690d867a013315e3be8ba185c/coverage-7.16.1-cp312-cp312-macosx_10_13_x86_64.whl @@ -5008,7 +5008,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5256,7 +5256,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5547,7 +5547,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5831,8 +5831,8 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 - - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#8a995823b549ec6b9c98c9d20ff598ac373829b5 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c + - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/27/cd/c883e1a7c447479d6e13985565080e3fea88ab5a107c21684c813dba1875/flexcache-0.3-py3-none-any.whl @@ -6079,7 +6079,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6327,7 +6327,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6576,7 +6576,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/0e/30/df2f6114f6a17cffe94721bd1d298f77f86aad493717fa5bc03cb291a1a6/coverage-7.16.1-cp313-cp313-win_amd64.whl @@ -6867,7 +6867,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -7151,8 +7151,8 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 - - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#8a995823b549ec6b9c98c9d20ff598ac373829b5 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c + - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/27/cd/c883e1a7c447479d6e13985565080e3fea88ab5a107c21684c813dba1875/flexcache-0.3-py3-none-any.whl @@ -7399,7 +7399,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/05/ac/a9f131ae07efa8fd7b17961bdcdd5b6a00b0b49480cf66e379fe06459614/simplejson-4.1.2-cp314-cp314-macosx_10_15_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -7647,7 +7647,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -7896,7 +7896,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -8187,7 +8187,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/14/fb/94933e00bb3dcfdf66ea3456739c6a51d322353f7cc64fa1f5f660e695ac/nvidia_nccl_cu13-2.31.2-py3-none-manylinux_2_18_x86_64.whl @@ -8499,7 +8499,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1c/b1/1831dd8c9b06c013085d31a2ac4f03392d43bd36bfc6ff591a08bcedc1cf/ml_dtypes-0.6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl @@ -8752,7 +8752,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -9006,7 +9006,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/23/cd/066e86230ae37ed0be70aae89aabf03ca8d9f39c8aea0dec8029455b5540/opt_einsum-3.4.0-py3-none-any.whl @@ -9266,7 +9266,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=pint-0.26#737161b862ef23807ff3edbde67f9b0ab182c36d - pypi: https://files.pythonhosted.org/packages/09/dc/6d8fbfc29d902251cf333414cf7dcfaf4b252a9920c881354584ed36270d/jax_metal-0.1.1-py3-none-macosx_13_0_arm64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -9450,7 +9450,7 @@ packages: - zstd >=1.5.7,<1.6.0a0 license: BSD-3-Clause AND MIT AND EPL-2.0 purls: - - pkg:pypi/backports-zstd?source=compressed-mapping + - pkg:pypi/backports-zstd?source=hash-mapping run_exports: {} size: 248331 timestamp: 1788491293611 @@ -9613,7 +9613,7 @@ packages: license: MIT license_family: MIT purls: - - pkg:pypi/cffi?source=compressed-mapping + - pkg:pypi/cffi?source=hash-mapping run_exports: {} size: 310350 timestamp: 1788485287159 @@ -11925,7 +11925,7 @@ packages: license: MIT license_family: MIT purls: - - pkg:pypi/rpds-py?source=compressed-mapping + - pkg:pypi/rpds-py?source=hash-mapping run_exports: {} size: 300095 timestamp: 1788577298075 @@ -14957,7 +14957,7 @@ packages: license: MIT license_family: MIT purls: - - pkg:pypi/cffi?source=compressed-mapping + - pkg:pypi/cffi?source=hash-mapping run_exports: {} size: 287801 timestamp: 1788485653433 @@ -17145,7 +17145,7 @@ packages: - zstd >=1.5.7,<1.6.0a0 license: BSD-3-Clause AND MIT AND EPL-2.0 purls: - - pkg:pypi/backports-zstd?source=compressed-mapping + - pkg:pypi/backports-zstd?source=hash-mapping run_exports: {} size: 238779 timestamp: 1788491297224 @@ -17159,7 +17159,7 @@ packages: - python_abi 3.13.* *_cp313 license: BSD-3-Clause AND MIT AND EPL-2.0 purls: - - pkg:pypi/backports-zstd?source=compressed-mapping + - pkg:pypi/backports-zstd?source=hash-mapping run_exports: {} size: 241808 timestamp: 1788491298513 @@ -17295,7 +17295,7 @@ packages: license: MIT license_family: MIT purls: - - pkg:pypi/cffi?source=compressed-mapping + - pkg:pypi/cffi?source=hash-mapping run_exports: {} size: 289165 timestamp: 1788485306633 @@ -19638,7 +19638,7 @@ packages: license: MIT license_family: MIT purls: - - pkg:pypi/cffi?source=compressed-mapping + - pkg:pypi/cffi?source=hash-mapping run_exports: {} size: 350398 timestamp: 1788485365478 @@ -21955,9 +21955,9 @@ packages: - pint<0.27 - ttsim-backend>=1.3.1 requires_python: '>=3.11' -- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#1c35656f2acf2c329a08cb54b51164be7adaf452 +- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#5fd4228637fc4c71dbf700890f5343566b819a5c name: gettsim-personas - version: 0.1.dev37+g1c35656f2 + version: 0.1.dev39+g5fd422863 requires_dist: - dags>=0.6 - gettsim>=1.3.1 diff --git a/pyproject.toml b/pyproject.toml index 2ad1a15f7..7cca0231a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,7 +112,7 @@ sphinx-automodapi = "*" sphinx-copybutton = "*" [tool.pixi.feature.docs.pypi-dependencies] gettsim = { path = ".", editable = true } -gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "main" } +gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "grundrente-einkommen" } [tool.pixi.feature.docs.target.linux-64.tasks] docs = "sphinx-build -T -b html docs docs/_build/html" [tool.pixi.feature.docs.target.osx-64.tasks] @@ -159,7 +159,7 @@ pytest = "*" pytest-cov = "*" pytest-profiling = "*" pytest-xdist = "*" -gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "main" } +gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "grundrente-einkommen" } [tool.pixi.feature.tests.target.linux-64.tasks] tests = "pytest" unit-exception-baseline = """\ From 0537e3e912e92f0c8392b8c701bc0001929adafc Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 14:07:42 +0200 Subject: [PATCH 05/18] Take the Grundrente threshold Rentenwert from 1 January MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Derive rentenwert_für_einkommensgrenzen_m from the Rentenwert in force on 1 January (add_jahresanfang) instead of copying its values per year. Co-Authored-By: Claude Opus 5.5 --- .../rente/grundrente/einkommen.yaml | 43 ---------------- .../rente/grundrente/grundrente.py | 49 +++++++++++++++++++ .../rente/rentenformel.yaml | 2 + 3 files changed, 51 insertions(+), 43 deletions(-) diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml b/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml index 9a950c62a..153caae53 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/einkommen.yaml @@ -70,46 +70,3 @@ anrechnungssätze: über_der_oberen_grenze: 1.0 reference: >- Art. 1 Nr. 6 G. v. 12.08.2020 BGBl. I S. 1879 (Grundrentengesetz). -rentenwert_für_einkommensgrenzen_m: - name: - de: Rentenwert für die Einkommensgrenzen der Grundrente - en: Rentenwert for the income thresholds of the basic pension - description: - de: >- - § 97a Abs. 4 S. 5 i.V.m. Abs. 5 S. 2 SGB VI - Änderungen der Einkommensgrenzen werden erst zum 1. Januar wirksam. Für das - Kalenderjahr gilt daher der aktuelle Rentenwert vom 1. Juli des Vorjahres - (siehe `sozialversicherung__rente__rentenwert_m`). Die Grenzen sind - bundeseinheitlich; bis 2023 gilt der Wert für die alten Bundesländer. - en: >- - § 97a Abs. 4 S. 5 in conjunction with Abs. 5 S. 2 SGB VI - Changes of the income thresholds take effect only on 1 January. A calendar year - therefore uses the aktueller Rentenwert of 1 July of the previous year (see - `sozialversicherung__rente__rentenwert_m`). The thresholds are uniform across - Germany; until 2023 the West value applies. - unit: EUR_PER_MONTH - type: scalar - 2021-01-01: - value: 34.19 - reference: >- - § 1 V. v. 08.06.2020 BGBl. I S. 1220 (Rentenwertbestimmungsverordnung 2020). - 2022-01-01: - value: 34.19 - reference: >- - § 1 V. v. 31.05.2021 BGBl. I S. 1254 (Rentenwertbestimmungsverordnung 2021). - 2023-01-01: - value: 36.02 - reference: >- - Art. 3 § 1 G. v. 28.06.2022 BGBl. I S. 975 (Rentenwertbestimmungsgesetz 2022). - 2024-01-01: - value: 37.60 - reference: V. v. 21.06.2023 BGBl. 2023 I Nr. 164. - 2025-01-01: - value: 39.32 - reference: V. v. 17.06.2024 BGBl. 2024 I Nr. 194. - 2026-01-01: - value: 40.79 - reference: V. v. 25.06.2025 BGBl. 2025 Nr. 148. - 2027-01-01: - value: 42.52 - reference: V. v. 18.06.2026 BGBl. 2026 Nr. 178. diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py index a3536478b..48c42569e 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py @@ -6,6 +6,7 @@ RoundingSpec, TTSIMUnit, cast_ttsim_unit, + param_function, policy_function, ) @@ -95,6 +96,54 @@ def anzurechnendes_einkommen_m( ) +@param_function( + start_date="2021-01-01", + end_date="2023-12-31", + leaf_name="rentenwert_für_einkommensgrenzen_m", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def rentenwert_für_einkommensgrenzen_nach_wohnort_m( + sozialversicherung__rente__parameter_rentenwert_nach_wohnort_jahresanfang: dict[ + str, float + ], +) -> float: + """Rentenwert that sets the income thresholds of the calendar year. + + Changes of the thresholds take effect on 1 January, so the Rentenwert in force on + 1 January applies for the whole year. + + Until 30 June 2023 the Rentenwert differed between West and Ost. The thresholds + are nevertheless uniform across Germany and use the West value, also for + Berechtigte living in the Beitrittsgebiet (DRV, GRA zu § 97a SGB VI: "Durch die + Anknüpfung an den aktuellen Rentenwert gelten die Freibeträge einheitlich im + gesamten Bundesgebiet"; BT-Drs. 19/18473, which states the 2021 thresholds as + multiples of the West value). + + Reference: § 97a Abs. 4 S. 5 i.V.m. Abs. 5 S. 2 SGB VI + """ + return sozialversicherung__rente__parameter_rentenwert_nach_wohnort_jahresanfang[ + "west" + ] + + +@param_function( + start_date="2024-01-01", + leaf_name="rentenwert_für_einkommensgrenzen_m", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def rentenwert_für_einkommensgrenzen_einheitlich_m( + sozialversicherung__rente__rentenwert_m_jahresanfang: float, +) -> float: + """Rentenwert that sets the income thresholds of the calendar year. + + Changes of the thresholds take effect on 1 January, so the Rentenwert in force on + 1 January applies for the whole year. + + Reference: § 97a Abs. 4 S. 5 i.V.m. Abs. 5 S. 2 SGB VI + """ + return sozialversicherung__rente__rentenwert_m_jahresanfang + + @policy_function( rounding_spec=RoundingSpec( unit=TTSIMUnit.EUR.PER_MONTH, diff --git a/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml b/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml index f4632ad5c..fe1712df1 100644 --- a/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml +++ b/src/gettsim/germany/sozialversicherung/rente/rentenformel.yaml @@ -35,6 +35,7 @@ parameter_rentenwert_nach_wohnort: The current pension value expresses the amount of monthly pension paid for one Entgeltpunkt. type: dict + add_jahresanfang: true 1992-01-01: unit: DM_PER_MONTH west: 41.44 @@ -218,6 +219,7 @@ rentenwert_m: Entgeltpunkt. unit: EUR_PER_MONTH type: scalar + add_jahresanfang: true 2023-07-01: value: 37.60 reference: V.v. 21.06.2023 BGBl. 2023 I Nr. 164. From 0b52b25bf8faa25b9105627048d9800fcb830bb8 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 14:38:46 +0200 Subject: [PATCH 06/18] Move the Grundrente policy cases to the _ehe income input The input becomes einkommen_vorjahr_m_ehe (the couple's sum, for both spouses) and the previous-year target becomes einkommen_im_folgejahr_m. Co-Authored-By: Claude Opus 5.5 --- .../rente/grundrente/2021-07-01/hh_id_1.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_10.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_11.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_12.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_2.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_3.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_4.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_5.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_6.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_7.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_8.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_9.yaml | 2 +- .../grundrente/2021-07-01/married_couple.yaml | 2 +- ...d_einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ...stehend_einkommen_unter_unterer_grenze.yaml | 2 +- ...r_kapitalertr\303\244ge_alleinstehend.yaml" | 4 ++-- ...lgejahr_kapitalertr\303\244ge_ehepaar.yaml" | 2 +- ...d_einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ...en_f\303\274r_folgejahr_negatives_zve.yaml" | 2 +- ...en_f\303\274r_folgejahr_ohne_zuschlag.yaml" | 2 +- ...anrechnung_\303\274bersteigt_zuschlag.yaml" | 2 +- ...s_einkommen_\303\274ber_oberer_grenze.yaml" | 6 +++--- .../alleinstehend_aufgerundete_grenzen.yaml | 2 +- .../beide_ehegatten_mit_zuschlag.yaml | 6 +++--- .../ehegatte_mit_negativem_einkommen.yaml | 6 +++--- .../2026-03-01/ehegatte_ohne_einkommen.yaml | 4 ++-- .../ehegatten_dauernd_getrennt_lebend.yaml | 6 +++--- .../ehepaar_aufgerundete_grenzen.yaml | 18 +++++++++--------- ...r_einkommen_\303\274ber_oberer_grenze.yaml" | 6 +++--- ...rwitwet_einkommen_zwischen_den_grenzen.yaml | 2 +- .../grenzen_nach_rentenanpassung_im_juli.yaml | 6 +++--- .../grundrente/2027-02-01/grenzen_ab_2027.yaml | 6 +++--- 32 files changed, 56 insertions(+), 56 deletions(-) diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml index b7bf8beac..910b45439 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml index 17be543bc..a514aaed8 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 492 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 492 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml index e88b87745..63947d87c 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml @@ -42,7 +42,7 @@ inputs: grundrente: bewertungszeiten_monate: - 372 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 516 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml index 9ad199185..9550f3016 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml @@ -38,7 +38,7 @@ inputs: grundrente: bewertungszeiten_monate: - 0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml index 918646a5f..7334a9ba5 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml index bbfba4026..03238c1b9 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml index ea06ca4fc..682cd78f1 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 480 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml index c233fe97f..b74e8e8ac 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 408 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 408 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml index 88da7c278..d42f1895a 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml index d3abb86bb..c66a2418d 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1400.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml index 7a8a448bd..0485276cf 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 2400.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml index c41be0c72..a12d7ca26 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 552 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1380.0 grundrentenzeiten_monate: - 552 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml index d2a0ee1fb..39c9bf854 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml @@ -51,7 +51,7 @@ inputs: bewertungszeiten_monate: - 300 - 300 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 0.0 - 0.0 grundrentenzeiten_monate: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index 7107e3628..13588218e 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -35,7 +35,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_y: + einkommen_vorjahr_y_ehe: - 19927.0 wohnort_ost_hh: - false diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml index d2b27f5d4..ed83d46cb 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml @@ -31,7 +31,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_y: + einkommen_vorjahr_y_ehe: - 8453.0 wohnort_ost_hh: - false diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" index b67290620..cd96f4a30 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" @@ -5,7 +5,7 @@ info: 1,580.00 EUR in 2023, less the Sparer-Pauschbetrag of 1,000.00 EUR; credited capital income 580.00 EUR per year (§ 97a Abs. 2 S. 1 Nr. 3 SGB VI). The target computes, in a run for the income year, the input - `einkommen_vorjahr_m` of the following year: (person's share of the zvE + + `einkommen_vorjahr_m_ehe` of the following year: (person's share of the zvE + steuerfreier Teil of pensions + Abgeltungsteuer capital income) / 12. Assumed: zvE and pensions are zero; the capital income is declared (§ 97a Abs. 6). @@ -68,5 +68,5 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_für_einkommensberechnung_im_folgejahr_m: + einkommen_im_folgejahr_m: - 48.33 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" index b6f372394..612f3ef9e 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" @@ -82,6 +82,6 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_für_einkommensberechnung_im_folgejahr_m: + einkommen_im_folgejahr_m: - 125.0 - 125.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index 66533eb32..37211b7af 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -28,7 +28,7 @@ inputs: grundrente: basisbetrag_m: - 320.0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1800.0 outputs: sozialversicherung: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" index 9a805bb86..321a2880d 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" @@ -63,5 +63,5 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_für_einkommensberechnung_im_folgejahr_m: + einkommen_im_folgejahr_m: - 100.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" index 2997e59b4..a68cd80ee 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" @@ -96,6 +96,6 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_für_einkommensberechnung_im_folgejahr_m: + einkommen_im_folgejahr_m: - 1200.0 - 1210.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" index 62429bc99..b5d6e5366 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" @@ -30,7 +30,7 @@ inputs: grundrente: basisbetrag_m: - 101.88 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1765.08 outputs: sozialversicherung: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" index 20d3668bb..4b190b944 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -22,9 +22,9 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m: - - 1450.0 - - 1450.0 + einkommen_vorjahr_m_ehe: + - 2900.0 + - 2900.0 provided: familie: p_id_ehepartner: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml index cb231fa82..156609bd5 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml @@ -41,7 +41,7 @@ inputs: - 300.0 - 300.0 - 300.0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1491.5 - 1492.5 - 1908.5 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml index dc3402a64..c2754044d 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml @@ -30,9 +30,9 @@ inputs: basisbetrag_m: - 400.0 - 200.0 - einkommen_vorjahr_m: - - 1400.0 - - 1400.0 + einkommen_vorjahr_m_ehe: + - 2800.0 + - 2800.0 outputs: sozialversicherung: rente: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml index bfab9e4ee..ab6086582 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml @@ -30,9 +30,9 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m: - - 2800.0 - - -300.0 + einkommen_vorjahr_m_ehe: + - 2500.0 + - 2500.0 outputs: sozialversicherung: rente: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml index 07511ec81..3631ad7e2 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml @@ -32,9 +32,9 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: + - 2000.0 - 2000.0 - - 0.0 outputs: sozialversicherung: rente: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml index 54dfdb445..a5318aef4 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml @@ -33,9 +33,9 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m: - - 2000.0 - - 400.0 + einkommen_vorjahr_m_ehe: + - 2400.0 + - 2400.0 outputs: sozialversicherung: rente: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml index 566c34d8a..09ee518a0 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml @@ -57,15 +57,15 @@ inputs: - 0.0 - 300.0 - 0.0 - einkommen_vorjahr_m: - - 1163.25 - - 1163.25 - - 1164.0 - - 1164.0 - - 1371.75 - - 1371.75 - - 1372.5 - - 1372.5 + einkommen_vorjahr_m_ehe: + - 2326.5 + - 2326.5 + - 2328.0 + - 2328.0 + - 2743.5 + - 2743.5 + - 2745.0 + - 2745.0 outputs: sozialversicherung: rente: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" index 462f2162c..7253685e1 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -22,9 +22,9 @@ inputs: basisbetrag_m: - 400.0 - 0.0 - einkommen_vorjahr_m: - - 1400.0 - - 1400.0 + einkommen_vorjahr_m_ehe: + - 2800.0 + - 2800.0 provided: familie: p_id_ehepartner: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml index 288d30efb..cbaa2d08d 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml @@ -30,7 +30,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1550.0 outputs: sozialversicherung: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml index a1d1d9eec..60d681181 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml @@ -41,10 +41,10 @@ inputs: - 100.0 - 400.0 - 0.0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1550.0 - - 1400.0 - - 1400.0 + - 2800.0 + - 2800.0 outputs: sozialversicherung: rente: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml index 2ebbb43a5..62670aa6a 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml @@ -44,11 +44,11 @@ inputs: - 300.0 - 300.0 - 0.0 - einkommen_vorjahr_m: + einkommen_vorjahr_m_ehe: - 1554.8 - 2000.0 - - 1435.0 - - 1435.0 + - 2870.0 + - 2870.0 outputs: sozialversicherung: rente: From 2ef7256b577a26e2c8638a12c046ecbd5417237e Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 14:57:21 +0200 Subject: [PATCH 07/18] Rename the Grundrente income nodes and round the thresholds in their own functions - input einkommen_vorjahr_m_ehe (couple level); target einkommen_im_folgejahr_y (per person, _sn amounts split by anzahl_personen_sn) - renten_aus_basisversorgung_m and steuerpflichtiger_anteil_der_renteneinnahmen_m replace einnahmen_mit_besteuerungsanteil_m - untere_/obere_einkommensgrenze_m with RoundingSpec instead of ceil Co-Authored-By: Claude Opus 5.5 --- CHANGES.md | 6 +- .../calculating_grundrente.ipynb | 77 +++------ .../inputs_from_prior_periods.md | 5 +- .../eink\303\274nfte/sonstige/rente/rente.py" | 29 +++- .../rente/grundrente/grundrente.py | 154 ++++++++++-------- .../rente/grundrente/inputs.py | 15 +- 6 files changed, 146 insertions(+), 140 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 47b73f69e..8c1499490 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,7 +22,8 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge calendar year. The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG). The Rentenwert of 39.32 EUR applies from 1 July 2024 instead of 7 January 2024. - New input `sozialversicherung__rente__grundrente__einkommen_vorjahr_m`, which replaces + New input `sozialversicherung__rente__grundrente__einkommen_vorjahr_m_ehe`, which + replaces `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_vorjahr_m`, `sozialversicherung__rente__grundrente__bruttolohn_vorjahr_y`, `sozialversicherung__rente__grundrente__einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y`, @@ -31,8 +32,7 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge `sozialversicherung__rente__grundrente__einnahmen_aus_kapitalvermögen_vorvorjahr_y`. The target `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m` - is renamed to - `sozialversicherung__rente__grundrente__einkommen_für_einkommensberechnung_im_folgejahr_m`. + is renamed to `sozialversicherung__rente__grundrente__einkommen_im_folgejahr_y`. ({ghuser}`MImmesberger`) - {gh}`1240` Cap Elterngeld replacement rate at 100% for low-income pre-birth earnings diff --git a/docs/how_to_guides/calculating_grundrente.ipynb b/docs/how_to_guides/calculating_grundrente.ipynb index 0d874e957..d726b1f54 100644 --- a/docs/how_to_guides/calculating_grundrente.ipynb +++ b/docs/how_to_guides/calculating_grundrente.ipynb @@ -14,15 +14,11 @@ "- the steuerfreier Teil (tax-free part) of pensions, and\n", "- capital income taxed under the Abgeltungsteuer,\n", "\n", - "taken as one twelfth per month. Income up to a lower threshold is not credited; 60 % of\n", - "the income between the lower and the upper threshold is credited; income above the\n", - "upper threshold is credited in full. The thresholds are multiples of the Rentenwert\n", - "(36.56 and 46.78 times the Rentenwert for singles, 57.03 and 67.27 times for married\n", - "people), rounded up to a full Euro. A calendar year uses the Rentenwert of 1 July of\n", - "the previous year.\n", + "taken as one twelfth per month.\n", "\n", - "The Grundrentenzuschlag does not use current income but the income of an earlier year,\n", - "which GETTSIM calculates in a separate run. This document shows how.\n", + "The Grundrentenzuschlag does not use current income but the income of an earlier year.\n", + "This income can be calculated via a separate GETTSIM run as illustrated in the example\n", + "below.\n", "\n", "### Overview\n", "\n", @@ -30,25 +26,18 @@ "\n", "1. Calculate the income relevant for the Grundrentenzuschlag in the **previous** year.\n", " Use the target \n", - " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_für_einkommensberechnung_im_folgejahr_m\")` \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_im_folgejahr_m_ehe\")` \n", " with the policy environment of the previous year.\n", "\n", "2. Use the result as the input \n", - " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_vorjahr_m\")` \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_vorjahr_m_ehe\")` \n", " and calculate the Grundrentenzuschlag `(\"sozialversicherung\", \"rente\", \"grundrente\", \"betrag_m\")`\n", " with the policy environment of the current year.\n", "\n", - "> **Note**: GETTSIM simplifies the statute in a few ways:\n", + "> **Note**: GETTSIM simplifies the statute in two ways:\n", ">\n", - "> - The Deutsche Rentenversicherung uses the income of the year two years before (in\n", - "> the year the pension starts) or three years before (from the first annual check\n", - "> on). GETTSIM's target is meant to be run for the previous year. If you need the\n", - "> statutory lag, run step 1 for the right year yourself.\n", "> - If the tax office has no data on a person, the statute cuts gross pensions by fixed\n", "> percentages instead. GETTSIM does not model this fallback.\n", - "> - The zu versteuerndes Einkommen and the capital income of jointly assessed spouses\n", - "> are split equally between them. Only the couple's sum enters the crediting, so the\n", - "> split does not change the result.\n", "> - The tax-free part of Versorgungsbezüge (civil servant pensions) is not modelled.\n", "\n", "## Example\n", @@ -63,14 +52,14 @@ }, { "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "import numpy as np\n", "\n", "from gettsim import InputData, MainTarget, TTTargets, main" - ], - "execution_count": null, - "outputs": [] + ] }, { "cell_type": "markdown", @@ -81,7 +70,9 @@ }, { "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "input_data_2025 = {\n", " \"alter\": np.array([72]),\n", @@ -153,22 +144,21 @@ " },\n", " },\n", "}" - ], - "execution_count": null, - "outputs": [] + ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "We pass the Grundrentenzuschlag of 2025 as data because it is tax-free (§ 3 Nr. 14a\n", - "EStG): GETTSIM subtracts it from the taxable pension. Now, we calculate the income\n", - "relevant for the Grundrentenzuschlag in 2026, using the policy environment of 2025." + "Now, we calculate the income relevant for the Grundrentenzuschlag in 2026, using the\n", + "policy environment of 2025." ] }, { "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "einkommen_2025 = main(\n", " main_target=MainTarget.results.tree,\n", @@ -178,7 +168,7 @@ " \"sozialversicherung\": {\n", " \"rente\": {\n", " \"grundrente\": {\n", - " \"einkommen_für_einkommensberechnung_im_folgejahr_m\": None,\n", + " \"einkommen_im_folgejahr_m_ehe\": None,\n", " }\n", " }\n", " }\n", @@ -186,22 +176,14 @@ " ),\n", " input_data=InputData.tree(input_data_2025),\n", " include_warn_nodes=False,\n", - ")[\"sozialversicherung\"][\"rente\"][\"grundrente\"][\n", - " \"einkommen_für_einkommensberechnung_im_folgejahr_m\"\n", - "]\n", + ")[\"sozialversicherung\"][\"rente\"][\"grundrente\"][\"einkommen_im_folgejahr_m_ehe\"]\n", "einkommen_2025" - ], - "execution_count": null, - "outputs": [] + ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "This is less than her gross income of €1,750 per month plus capital income, because\n", - "the zu versteuerndes Einkommen deducts, e.g., health and long-term care insurance\n", - "contributions and the Sparer-Pauschbetrag.\n", - "\n", "### Step 2: Grundrentenzuschlag in the current year\n", "\n", "Now we calculate the Grundrentenzuschlag for January 2026 with the policy environment\n", @@ -213,7 +195,9 @@ }, { "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "input_data_2026 = {\n", " \"familie\": {\"p_id_ehepartner\": np.array([-1])},\n", @@ -223,7 +207,7 @@ " \"altersrente\": {\"zugangsfaktor\": np.array([1.0])},\n", " \"grundrente\": {\n", " \"bewertungszeiten_monate\": np.array([420]),\n", - " \"einkommen_vorjahr_m\": einkommen_2025,\n", + " \"einkommen_vorjahr_m_ehe\": einkommen_2025,\n", " \"grundrentenzeiten_monate\": np.array([420]),\n", " \"mean_entgeltpunkte\": np.array([17.5]),\n", " },\n", @@ -239,8 +223,6 @@ " \"sozialversicherung\": {\n", " \"rente\": {\n", " \"grundrente\": {\n", - " \"basisbetrag_m\": None,\n", - " \"anzurechnendes_einkommen_m\": None,\n", " \"betrag_m\": None,\n", " }\n", " }\n", @@ -250,19 +232,6 @@ " input_data=InputData.tree(input_data_2026),\n", " include_warn_nodes=False,\n", ")" - ], - "execution_count": null, - "outputs": [] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Her income lies between the 2026 thresholds for singles: 36.56 × €40.79 = €1,491.28,\n", - "rounded up to €1,492, and 46.78 × €40.79 = €1,908.16, rounded up to €1,909. So 60 % of\n", - "the income above €1,492 is credited: 0.6 × (€1,646.50 − €1,492) = €92.70. This amount is\n", - "subtracted from the Grundrentenzuschlag before crediting (`basisbetrag_m`), which leaves\n", - "€375.19 − €92.70 = €282.49." ] } ], diff --git a/docs/how_to_guides/inputs_from_prior_periods.md b/docs/how_to_guides/inputs_from_prior_periods.md index 55c3af1f9..d88bd7006 100644 --- a/docs/how_to_guides/inputs_from_prior_periods.md +++ b/docs/how_to_guides/inputs_from_prior_periods.md @@ -64,9 +64,10 @@ lifetime earnings: The Grundrentenzuschlag is reduced by the income of an earlier year: -- **Past input**: `("sozialversicherung", "rente", "grundrente", "einkommen_vorjahr_m")` +- **Past input**: + `("sozialversicherung", "rente", "grundrente", "einkommen_vorjahr_m_ehe")` - **Calculation target**: - `("sozialversicherung", "rente", "grundrente", "einkommen_für_einkommensberechnung_im_folgejahr_m")`, + `("sozialversicherung", "rente", "grundrente", "einkommen_im_folgejahr_m_ehe")`, calculated with the policy environment of the previous year For a worked example, see the [Grundrente tutorial](calculating_grundrente.ipynb). diff --git "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" index 0cc7479b9..1dee360d9 100644 --- "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" +++ "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" @@ -47,8 +47,7 @@ def steuerpflichtige_einnahmen_m_nach_ertragsanteil( unit=TTSIMUnit.CURRENCY.PER_MONTH, ) def steuerpflichtige_einnahmen_m_nach_besteuerungsanteil( - besteuerungsanteil: float, - einnahmen_mit_besteuerungsanteil_m: float, + steuerpflichtiger_anteil_der_renteneinnahmen_m: float, ertragsanteil_sonstige_private_vorsorge: float, einnahmen__renten__geförderte_private_vorsorge_m: float, einnahmen__renten__sonstige_private_vorsorge_m: float, @@ -59,7 +58,7 @@ def steuerpflichtige_einnahmen_m_nach_besteuerungsanteil( Reference: § 22 Nr. 1 Satz 3 Buchstabe a EStG """ return ( - besteuerungsanteil * einnahmen_mit_besteuerungsanteil_m + steuerpflichtiger_anteil_der_renteneinnahmen_m + ertragsanteil_sonstige_private_vorsorge * einnahmen__renten__sonstige_private_vorsorge_m + einnahmen__renten__betriebliche_altersvorsorge_m @@ -67,18 +66,30 @@ def steuerpflichtige_einnahmen_m_nach_besteuerungsanteil( ) +@policy_function(start_date="2005-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH) +def steuerpflichtiger_anteil_der_renteneinnahmen_m( + besteuerungsanteil: float, + renten_aus_basisversorgung_m: float, +) -> float: + """Taxable share of the pensions from the Basisversorgung. + + Reference: § 22 Nr. 1 Satz 3 Buchstabe a Doppelbuchstabe aa EStG + """ + return besteuerungsanteil * renten_aus_basisversorgung_m + + @policy_function( start_date="2005-01-01", end_date="2020-12-31", - leaf_name="einnahmen_mit_besteuerungsanteil_m", + leaf_name="renten_aus_basisversorgung_m", unit=TTSIMUnit.CURRENCY.PER_MONTH, ) -def einnahmen_mit_besteuerungsanteil_m_bis_2020( +def renten_aus_basisversorgung_m_bis_2020( einnahmen__renten__gesetzliche_m: float, einnahmen__renten__basisrente_m: float, einnahmen__renten__aus_berufsständischen_versicherungen_m: float, ) -> float: - """Pensions taxed at the Besteuerungsanteil. + """Pensions from the Basisversorgung, taxed at the Besteuerungsanteil. Reference: § 22 Nr. 1 Satz 3 Buchstabe a Doppelbuchstabe aa EStG """ @@ -91,17 +102,17 @@ def einnahmen_mit_besteuerungsanteil_m_bis_2020( @policy_function( start_date="2021-01-01", - leaf_name="einnahmen_mit_besteuerungsanteil_m", + leaf_name="renten_aus_basisversorgung_m", unit=TTSIMUnit.CURRENCY.PER_MONTH, ) -def einnahmen_mit_besteuerungsanteil_m_ohne_grundrentenzuschlag( +def renten_aus_basisversorgung_m_ohne_grundrentenzuschlag( einnahmen__renten__gesetzliche_m: float, einnahmen__renten__basisrente_m: float, einnahmen__renten__aus_berufsständischen_versicherungen_m: float, sozialversicherung__rente__grundrente__betrag_m: float, sozialversicherung__rente__bezieht_altersrente: bool, ) -> float: - """Pensions taxed at the Besteuerungsanteil, without the Grundrentenzuschlag. + """Pensions from the Basisversorgung, without the Grundrentenzuschlag. The pension share resting on the Grundrentenzuschlag is tax-free. The Zuschlag is part of the Altersrente only while the person receives it. diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py index 48c42569e..e6f4c013e 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import TYPE_CHECKING - from gettsim.tt import ( RoundingSpec, TTSIMUnit, @@ -10,9 +8,6 @@ policy_function, ) -if TYPE_CHECKING: - from types import ModuleType - @policy_function( rounding_spec=RoundingSpec( @@ -42,60 +37,106 @@ def betrag_m(basisbetrag_m: float, anzurechnendes_einkommen_m: float) -> float: ) def anzurechnendes_einkommen_m( einkommen_vorjahr_m_ehe: float, - familie__anzahl_personen_ehe: int, - rentenwert_für_einkommensgrenzen_m: float, - einkommensgrenzen_ohne_ehegatte: dict[str, float], - einkommensgrenzen_mit_ehegatte: dict[str, float], + untere_einkommensgrenze_m: float, + obere_einkommensgrenze_m: float, anrechnungssätze: dict[str, float], - xnp: ModuleType, ) -> float: """Income which is deducted from Grundrentenzuschlag. The income of the Berechtigter and their spouse is added up. Above the lower threshold, 60 % of the income up to the upper threshold is credited; above the - upper threshold, the full excess is credited as well. Married Berechtigte get the - higher thresholds for couples, also if the spouse has no income or lives apart. + upper threshold, the full excess is credited as well. - Each threshold is a multiple of the Rentenwert, rounded up to a full Euro. Changes - of the thresholds take effect on 1 January, so the Rentenwert of the previous - 1 July applies for the whole calendar year. - - Reference: § 97a Abs. 1, Abs. 4 S. 1-5 SGB VI + Reference: § 97a Abs. 1, Abs. 4 S. 1-4 SGB VI """ # The couple's income is compared with the thresholds, and the result is credited # in full against each spouse's Zuschlag, so the sum loses its group level here. einkommen_m = cast_ttsim_unit( einkommen_vorjahr_m_ehe, unit=TTSIMUnit.CURRENCY.PER_MONTH ) - ohne_ehegatte = familie__anzahl_personen_ehe == 1 - untere_grenze_m = xnp.ceil( - rentenwert_für_einkommensgrenzen_m - * ( - einkommensgrenzen_ohne_ehegatte["untere_grenze"] - if ohne_ehegatte - else einkommensgrenzen_mit_ehegatte["untere_grenze"] - ) - ) - obere_grenze_m = xnp.ceil( - rentenwert_für_einkommensgrenzen_m - * ( - einkommensgrenzen_ohne_ehegatte["obere_grenze"] - if ohne_ehegatte - else einkommensgrenzen_mit_ehegatte["obere_grenze"] - ) - ) - einkommen_zwischen_den_grenzen = min( - max(einkommen_m - untere_grenze_m, 0.0), - obere_grenze_m - untere_grenze_m, + max(einkommen_m - untere_einkommensgrenze_m, 0.0), + obere_einkommensgrenze_m - untere_einkommensgrenze_m, ) - einkommen_über_der_oberen_grenze = max(einkommen_m - obere_grenze_m, 0.0) + einkommen_über_der_oberen_grenze = max(einkommen_m - obere_einkommensgrenze_m, 0.0) return ( anrechnungssätze["zwischen_den_grenzen"] * einkommen_zwischen_den_grenzen + anrechnungssätze["über_der_oberen_grenze"] * einkommen_über_der_oberen_grenze ) +@policy_function( + rounding_spec=RoundingSpec( + unit=TTSIMUnit.EUR.PER_MONTH, + base=1, + direction="up", + reference="§ 97a Abs. 4 S. 1 SGB VI", + ), + start_date="2021-01-01", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def untere_einkommensgrenze_m( + familie__anzahl_personen_ehe: int, + rentenwert_für_einkommensgrenzen_m: float, + einkommensgrenzen_ohne_ehegatte: dict[str, float], + einkommensgrenzen_mit_ehegatte: dict[str, float], +) -> float: + """Income up to which nothing is credited against the Grundrentenzuschlag. + + Married Berechtigte get the threshold for couples, also if the spouse has no income + or lives apart. + + Reference: § 97a Abs. 4 S. 1, 4 SGB VI + """ + if familie__anzahl_personen_ehe > cast_ttsim_unit(1, unit=TTSIMUnit.COUNT.PER_EHE): + out = ( + einkommensgrenzen_mit_ehegatte["untere_grenze"] + * rentenwert_für_einkommensgrenzen_m + ) + else: + out = ( + einkommensgrenzen_ohne_ehegatte["untere_grenze"] + * rentenwert_für_einkommensgrenzen_m + ) + return out + + +@policy_function( + rounding_spec=RoundingSpec( + unit=TTSIMUnit.EUR.PER_MONTH, + base=1, + direction="up", + reference="§ 97a Abs. 4 S. 1 SGB VI", + ), + start_date="2021-01-01", + unit=TTSIMUnit.CURRENCY.PER_MONTH, +) +def obere_einkommensgrenze_m( + familie__anzahl_personen_ehe: int, + rentenwert_für_einkommensgrenzen_m: float, + einkommensgrenzen_ohne_ehegatte: dict[str, float], + einkommensgrenzen_mit_ehegatte: dict[str, float], +) -> float: + """Income above which all income is credited against the Grundrentenzuschlag. + + Married Berechtigte get the threshold for couples, also if the spouse has no income + or lives apart. + + Reference: § 97a Abs. 4 S. 2, 4 SGB VI + """ + if familie__anzahl_personen_ehe > cast_ttsim_unit(1, unit=TTSIMUnit.COUNT.PER_EHE): + out = ( + einkommensgrenzen_mit_ehegatte["obere_grenze"] + * rentenwert_für_einkommensgrenzen_m + ) + else: + out = ( + einkommensgrenzen_ohne_ehegatte["obere_grenze"] + * rentenwert_für_einkommensgrenzen_m + ) + return out + + @param_function( start_date="2021-01-01", end_date="2023-12-31", @@ -291,41 +332,25 @@ def grundsätzlich_anspruchsberechtigt( @policy_function(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def einkommen_für_einkommensberechnung_im_folgejahr_y( +def einkommen_im_folgejahr_y( einkommensteuer__zu_versteuerndes_einkommen_y_sn: float, einkommensteuer__einkünfte__aus_kapitalvermögen__betrag_y_sn: float, - einkommensteuer__einkünfte__sonstige__rente__besteuerungsanteil: float, - einkommensteuer__einkünfte__sonstige__rente__einnahmen_mit_besteuerungsanteil_y: float, + einkommensteuer__einkünfte__sonstige__rente__renten_aus_basisversorgung_y: float, + einkommensteuer__einkünfte__sonstige__rente__steuerpflichtiger_anteil_der_renteneinnahmen_y: float, familie__anzahl_personen_sn: int, ) -> float: """Income relevant for the Grundrentenzuschlag in the following calendar year. - This target can be used as the input `einkommen_vorjahr_m` in a GETTSIM call for - the following year. It is the sum of + Its sum over the spouses can be used as the input `einkommen_vorjahr_m_ehe` in a + GETTSIM call for the following year. It is the sum of - the zu versteuerndes Einkommen, - the steuerfreier Teil of pensions taxed at the Besteuerungsanteil, and - the capital income subject to the Abgeltungsteuer. - The zu versteuerndes Einkommen and the capital income of jointly assessed spouses - are split equally between them; only the couple's sum enters the crediting. - Negative income is not floored at zero. - - Some notes: - - - The zu versteuerndes Einkommen is the one used for the income tax, i.e., it - deducts the Kinderfreibeträge only if they are more favourable than the - Kindergeld (§ 2 Abs. 5 S. 2 EStG would deduct them in any case). - - The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG) and therefore not part - of the income; the deduction of § 97a Abs. 2 S. 7 SGB VI (until 2026) has - nothing to deduct. - - Not modelled: the tax-free part of Versorgungsbezüge (§ 97a Abs. 2 S. 1 Nr. 2 - SGB VI) and the 1/10 rule for capital income under § 20 Abs. 1 Nr. 6 EStG - (Nr. 3), because GETTSIM has no inputs for them; foreign income (Abs. 3 - S. 2-3); and the fallback to cut gross pensions if the tax office has no data - (Abs. 2 S. 4-5). - - The Deutsche Rentenversicherung uses the income of the year two (or three) - years before. Here, the income of the previous year is used. + The zu versteuerndes Einkommen and the capital income are split equally among the + members of the Steuernummer, so that the sum over the spouses is the couple's + income both under joint and under separate assessment. Reference: § 97a Abs. 2 S. 1 SGB VI """ @@ -337,8 +362,9 @@ def einkommen_für_einkommensberechnung_im_folgejahr_y( / familie__anzahl_personen_sn ) steuerfreier_teil_der_renten_y = ( - 1 - einkommensteuer__einkünfte__sonstige__rente__besteuerungsanteil - ) * einkommensteuer__einkünfte__sonstige__rente__einnahmen_mit_besteuerungsanteil_y + einkommensteuer__einkünfte__sonstige__rente__renten_aus_basisversorgung_y + - einkommensteuer__einkünfte__sonstige__rente__steuerpflichtiger_anteil_der_renteneinnahmen_y + ) return ( zu_versteuerndes_einkommen_y + steuerfreier_teil_der_renten_y diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py index 021740e4b..0a6aa9b2d 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py @@ -20,16 +20,15 @@ def mean_entgeltpunkte() -> float: """Mean Entgeltpunkte during Bewertungszeiten.""" -@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH) -def einkommen_vorjahr_m() -> float: - """Income relevant for the Grundrentenzuschlag (§ 97a Abs. 2 S. 1 SGB VI). +@policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH.PER_EHE) +def einkommen_vorjahr_m_ehe() -> float: + """Income of the couple relevant for the Grundrentenzuschlag (§ 97a SGB VI). - The sum of the person's zu versteuerndes Einkommen, the steuerfreier Teil of their - pensions, and their capital income subject to the Abgeltungsteuer in the previous - calendar year, as a monthly amount. For jointly assessed spouses, each holds half - of the joint zu versteuerndes Einkommen. + The sum of the zu versteuerndes Einkommen, the steuerfreier Teil of pensions, and + the capital income subject to the Abgeltungsteuer of the person and their spouse + in the previous calendar year, as a monthly amount. GETTSIM can calculate this input based on the data of the previous calendar year using the target `('sozialversicherung', 'rente', 'grundrente', - 'einkommen_für_einkommensberechnung_im_folgejahr_m')`. + 'einkommen_im_folgejahr_m_ehe')`. """ From 1f8015034acef8a81b86f21124d3788db918496f Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 15:01:24 +0200 Subject: [PATCH 08/18] Add the Grundrente threshold functions to the local-cast baseline Co-Authored-By: Claude Opus 5.5 --- src/gettsim/tests_germany/test_policy_cases.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gettsim/tests_germany/test_policy_cases.py b/src/gettsim/tests_germany/test_policy_cases.py index 4afeb2875..dfcfb8f06 100644 --- a/src/gettsim/tests_germany/test_policy_cases.py +++ b/src/gettsim/tests_germany/test_policy_cases.py @@ -82,6 +82,8 @@ "sozialversicherung__rente__grundrente__anzurechnendes_einkommen_m", "sozialversicherung__rente__grundrente__höchstbetrag_m", "sozialversicherung__rente__grundrente__mean_entgeltpunkte_zuschlag_m", + "sozialversicherung__rente__grundrente__obere_einkommensgrenze_m", + "sozialversicherung__rente__grundrente__untere_einkommensgrenze_m", "sozialversicherung__rente__neue_entgeltpunkte_y", "vorrangprüfungen__wohngeld_kinderzuschlag_vorrangig_oder_günstiger", "wohngeld__basisbetrag_m_wthh", From 7273e5510dc059666627b9976352178c80c9ef30 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 15:09:35 +0200 Subject: [PATCH 09/18] Review. --- CHANGES.md | 14 ++------ .../rentenwert_vor_anpassung_2024.yaml | 33 ------------------- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml diff --git a/CHANGES.md b/CHANGES.md index 8c1499490..8b7a3883f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,20 +17,10 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge - {gh}`1246` Base the income test of the Grundrentenzuschlag on the § 97a Abs. 2 SGB VI income (zu versteuerndes Einkommen, steuerfreier Teil of pensions, and capital income - under the Abgeltungsteuer) instead of gross receipts. The income thresholds are - rounded up to full Euro and use the Rentenwert of the previous 1 July for the whole - calendar year. The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG). The Rentenwert - of 39.32 EUR applies from 1 July 2024 instead of 7 January 2024. + under the Abgeltungsteuer) instead of gross receipts. New input `sozialversicherung__rente__grundrente__einkommen_vorjahr_m_ehe`, which - replaces - `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_vorjahr_m`, - `sozialversicherung__rente__grundrente__bruttolohn_vorjahr_y`, - `sozialversicherung__rente__grundrente__einnahmen_aus_selbstständiger_arbeit_vorvorjahr_y`, - `sozialversicherung__rente__grundrente__einnahmen_aus_vermietung_und_verpachtung_vorvorjahr_y`, - and - `sozialversicherung__rente__grundrente__einnahmen_aus_kapitalvermögen_vorvorjahr_y`. - The target + replaces the old Grundrente income inputs. The target `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m` is renamed to `sozialversicherung__rente__grundrente__einkommen_im_folgejahr_y`. ({ghuser}`MImmesberger`) diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml deleted file mode 100644 index bdb4768f4..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/betrag/2024-03-01/rentenwert_vor_anpassung_2024.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -info: - note: |- - The Rentenwert of 39.32 EUR set by the Rentenwertbestimmungsverordnung 2024 (V. - v. 17.06.2024, BGBl. 2024 I Nr. 194) applies from 01.07.2024. In March 2024 the - Rentenwert of 01.07.2023, 37.60 EUR (V. v. 21.06.2023, BGBl. 2023 I Nr. 164), - is in force. - Altersrente from 10 Entgeltpunkte, Zugangsfaktor 1: - 10 * 1.0 * 37.60 = 376.00. - precision_atol: 0.01 - source: V. v. 17.06.2024 BGBl. 2024 I Nr. 194; V. v. 21.06.2023 BGBl. 2023 I Nr. 164 -inputs: - assumed: {} - provided: - hh_id: - - 0 - p_id: - - 0 - sozialversicherung: - rente: - altersrente: - zugangsfaktor: - - 1.0 - bezieht_altersrente: - - true - entgeltpunkte: - - 10.0 -outputs: - sozialversicherung: - rente: - altersrente: - bruttorente_basisbetrag_m: - - 376.0 From 613b8acd154895dd1ca170ea83e8da00e233f681 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 15:47:12 +0200 Subject: [PATCH 10/18] Base the Grundrente policy cases on official calculations where available Cases that reproduce a published calculation cite its exact location; all others are marked as regression tests. Co-Authored-By: Claude Opus 5.5 --- .../grundrentenzuschlag_steuerfrei.yaml" | 11 +-- .../2021-01-01/einkommensgrenzen_2021.yaml | 36 ++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 45 ++++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 19 +--- ...tehend_einkommen_unter_unterer_grenze.yaml | 15 +--- ...ahr_gemeinsame_kapitalertr\303\244ge.yaml" | 18 ++-- ...alertr\303\244ge_sparer_pauschbetrag.yaml" | 17 ++-- ...sgrenzen_nach_rentenanpassung_im_juli.yaml | 36 ++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 52 +++++++++++ ..._einkommen_\303\274ber_oberer_grenze.yaml" | 15 +--- ...n_f\303\274r_folgejahr_negatives_zve.yaml" | 11 +-- ...n_f\303\274r_folgejahr_ohne_zuschlag.yaml" | 27 +----- ...nrechnung_\303\274bersteigt_zuschlag.yaml" | 15 +--- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 17 +--- .../alleinstehend_aufgerundete_grenzen.yaml | 62 ------------- .../beide_ehegatten_mit_zuschlag.yaml | 13 +-- .../ehegatte_mit_negativem_einkommen.yaml | 12 +-- .../2026-03-01/ehegatte_ohne_einkommen.yaml | 16 ++-- .../ehegatten_dauernd_getrennt_lebend.yaml | 16 +--- .../ehepaar_aufgerundete_grenzen.yaml | 90 ------------------- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 48 ---------- ...witwet_einkommen_zwischen_den_grenzen.yaml | 42 --------- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 40 +++++++++ ...witwet_einkommen_zwischen_den_grenzen.yaml | 33 +++++++ .../grenzen_nach_rentenanpassung_im_juli.yaml | 59 ------------ ...sgrenzen_nach_rentenanpassung_im_juli.yaml | 38 ++++++++ .../2027-02-01/grenzen_ab_2027.yaml | 18 +--- 27 files changed, 336 insertions(+), 485 deletions(-) create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-01-01/einkommensgrenzen_2021.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" (74%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" (67%) create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-09-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml delete mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml create mode 100644 "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml create mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-10-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml diff --git "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" index b6169fc9c..14b5e435a 100644 --- "a/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/einkommensteuer/eink\303\274nfte/2021-01-01/grundrentenzuschlag_steuerfrei.yaml" @@ -1,15 +1,8 @@ --- info: - note: |- - Hand-derived. The pension share resting on the Grundrentenzuschlag is tax-free - (§ 3 Nr. 14a EStG, inserted by the Jahressteuergesetz 2022 v. 16.12.2022, BGBl. - I S. 2294, Art. 3, first applicable for VZ 2021 under § 52 Abs. 4 EStG). - Altersrente without Zuschlag 1,000.00 EUR, Zuschlag 100.00 EUR; pension since - 2021, Besteuerungsanteil 81 % (§ 22 Nr. 1 S. 3 lit. a dbl. aa EStG). - Taxable pension: 0.81 * 1,000.00 = 810.00 (not 0.81 * 1,100.00 = 891.00). + note: '' precision_atol: 0.01 - source: |- - https://media.offenegesetze.de/bgbl1/2022/bgbl1_2022_51.pdf + source: Regression test. inputs: assumed: {} provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-01-01/einkommensgrenzen_2021.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-01-01/einkommensgrenzen_2021.yaml new file mode 100644 index 000000000..18b34ae9a --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-01-01/einkommensgrenzen_2021.yaml @@ -0,0 +1,36 @@ +--- +info: + note: '' + precision_atol: 0.01 + source: |- + BT-Drs. 19/18473 (Gesetzentwurf Grundrentengesetz, 21.04.2020), Begründung zu + § 97a Abs. 4 SGB VI, p. 42. + https://dserver.bundestag.de/btd/19/184/1918473.pdf +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - 2 + - 1 + hh_id: + - 0 + - 1 + - 1 + p_id: + - 0 + - 1 + - 2 +outputs: + sozialversicherung: + rente: + grundrente: + obere_einkommensgrenze_m: + - 1600.0 + - 2300.0 + - 2300.0 + untere_einkommensgrenze_m: + - 1250.0 + - 1950.0 + - 1950.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..aa0a23d31 --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,45 @@ +--- +info: + note: |- + The source's figures are those of the Berechtigte (row 0). Her husband (row 1) + has no Zuschlag of his own (assumed). + precision_atol: 0.01 + source: |- + BSG, Urteil v. 27.11.2025 - B 5 R 9/24 R, Tatbestand, + 2nd paragraph (Rentenbescheid v. 02.03.2022). + https://www.bsg.bund.de/SharedDocs/Entscheidungen/DE/2025/2025_11_27_B_05_R_09_24_R.html + Income: LSG NRW, Urteil v. 30.01.2024 - L 18 R 707/22, Rn. 19 ("unverändert + insgesamt 38.535,00 € und damit monatlich 3.211,25 €"). + https://nrwe.justiz.nrw.de/sgs/lsg_nrw/j2024/L_18_R_707_22_Urteil_20240130.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 35.86 + - 0.0 + einkommen_vorjahr_m_ehe: + - 3211.25 + - 3211.25 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 1121.25 + - 1121.25 + betrag_m: + - 0.0 + - 0.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index 13588218e..ff4db73c2 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -1,22 +1,11 @@ --- info: note: |- - SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Tatbestand Rn. 2-4: for the - payments from 05/2021 to 12/2022 the DRV credited the income of 2019, - 19,927 EUR, and paid no Zuschlag. - Assumed: single (marital status not stated); the 19,927 EUR are the full § 97a - Abs. 2 S. 1 income; Zuschlag before crediting 200.00 EUR (not stated; any value - up to the credited amount gives a nil Zuschlag). - Monthly income (§ 97a Abs. 3 S. 1): 19,927 / 12 = 1,660.58. - Thresholds 2022 use the Rentenwert of 01.07.2021 (West, unchanged 34.19), also - in September 2022 after the 01.07.2022 adjustment to 36.02 (Abs. 4 S. 5 with - Abs. 5 S. 2); uniform across Germany, so no Ost value: - 36.56 * 34.19 = 1,249.99 -> 1,250; 46.78 * 34.19 = 1,599.41 -> 1,600. - Credited: 0.6 * (1,600 - 1,250) + (1,660.58 - 1,600) = 210.00 + 60.58 = 270.58. - Zuschlag: max(200.00 - 270.58, 0) = 0.00. + Income from SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Rn. 2-4, which + reports only that no Zuschlag was paid. Single status and the Zuschlag of + 200.00 EUR are assumed; the source states neither. precision_atol: 0.01 - source: |- - https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2024-N-5412?all=False + source: Regression test. inputs: assumed: sozialversicherung: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml index ed83d46cb..807db32e8 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml @@ -1,18 +1,11 @@ --- info: note: |- - SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Tatbestand Rn. 4: from - 01.01.2023 the DRV credited the income of 2020, 8,453 EUR, and "kein - Anrechnungsbetrag mehr" resulted. - Assumed: single; the 8,453 EUR are the full § 97a Abs. 2 S. 1 income; Zuschlag - before crediting 200.00 EUR (not stated). - Monthly income: 8,453 / 12 = 704.42. - Lower threshold 2023 (Rentenwert of 01.07.2022, 36.02): - 36.56 * 36.02 = 1,316.89 -> 1,317. Income below it, so nothing is credited. - Zuschlag: 200.00 - 0.00 = 200.00. + Income from SG Nürnberg, Urteil v. 29.02.2024 - S 20 R 211/23, Rn. 4 ("kein + Anrechnungsbetrag mehr"). Single status and the Zuschlag of 200.00 EUR are + assumed; the source states neither. precision_atol: 0.01 - source: |- - https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2024-N-5412?all=False + source: Regression test. inputs: assumed: sozialversicherung: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" similarity index 74% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" index 612f3ef9e..7a9a4e13a 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_ehepaar.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" @@ -1,15 +1,13 @@ --- info: note: |- - GRA Beispiel 10, Fall A: jointly assessed spouses with joint capital income of - 5,000.00 EUR in 2023, less the joint Sparer-Pauschbetrag of 2,000.00 EUR; - 3,000.00 EUR are credited, "jedem Ehegatten zur Hälfte zuzurechnen" - (§ 97a Abs. 2 S. 1 Nr. 3 SGB VI). - Assumed: the capital income is held equally (2,500.00 each); zvE and pensions - are zero; the capital income is declared (§ 97a Abs. 6). - Per spouse: 3,000.00 / 2 / 12 = 125.00. + Only Fall A of the source. The joint capital income of 5,000.00 EUR is split + equally between the spouses, and the spouses have no other income (assumed). precision_atol: 0.01 source: |- + DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 008.00, Stand + 15.01.2026, Beispiel 10, Fall A (Kapitalerträge bei Nichtveranlagung, Beispiel zu + Abschnitt 3.6.1). https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html inputs: assumed: @@ -82,6 +80,6 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_m: - - 125.0 - - 125.0 + einkommen_im_folgejahr_y: + - 1500.0 + - 1500.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" similarity index 67% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" index cd96f4a30..a6b0d7adb 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_alleinstehend.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" @@ -1,17 +1,10 @@ --- info: - note: |- - GRA Beispiel 4: a single Berechtigter has Einkünfte aus Kapitalvermögen of - 1,580.00 EUR in 2023, less the Sparer-Pauschbetrag of 1,000.00 EUR; credited - capital income 580.00 EUR per year (§ 97a Abs. 2 S. 1 Nr. 3 SGB VI). - The target computes, in a run for the income year, the input - `einkommen_vorjahr_m_ehe` of the following year: (person's share of the zvE + - steuerfreier Teil of pensions + Abgeltungsteuer capital income) / 12. - Assumed: zvE and pensions are zero; the capital income is declared (§ 97a - Abs. 6). - 580.00 / 12 = 48.33. + note: The person has no income other than the capital income (assumed). precision_atol: 0.01 source: |- + DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 008.00, Stand + 15.01.2026, Beispiel 4 (Einkünfte aus Kapitalvermögen, Beispiel zu Abschnitt 3.6). https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html inputs: assumed: @@ -68,5 +61,5 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_m: - - 48.33 + einkommen_im_folgejahr_y: + - 580.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-09-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-09-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml new file mode 100644 index 000000000..1fdd041c6 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-09-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml @@ -0,0 +1,36 @@ +--- +info: + note: '' + precision_atol: 0.01 + source: |- + DRV Rheinland, Fachinfo 01/2024, section "„Grundrente“: Zuschlag an Entgeltpunkten + für langjährige Versicherung" (thresholds "im Jahr 2023"). + https://www.deutsche-rentenversicherung.de/DRV/DE/Experten/Traeger/Rheinland/Fachinformationen/Rundschreiben/2024/1_2024.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - 2 + - 1 + hh_id: + - 0 + - 1 + - 1 + p_id: + - 0 + - 1 + - 2 +outputs: + sozialversicherung: + rente: + grundrente: + obere_einkommensgrenze_m: + - 1686.0 + - 2424.0 + - 2424.0 + untere_einkommensgrenze_m: + - 1317.0 + - 2055.0 + - 2055.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..c6aa54eac --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,52 @@ +--- +info: + note: |- + The source's figures are those of the Berechtigter (row 0). The spouse (row 1) + has no Zuschlag of their own (assumed). + precision_atol: 0.01 + source: |- + DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 006.00, Stand + 11.09.2024, veröffentlicht 21.09.2024, Beispiel 7 (Freibetrag, Beispiel zu + Abschnitt 5). Archived copy: + https://web.archive.org/web/20250114132316/https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html?nn=1505808 +inputs: + assumed: + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_m_ehe: + - 2700.0 + - 2700.0 + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + basisbetrag_m: + - 100.0 + - 0.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 401.0 + - 401.0 + betrag_m: + - 0.0 + - 0.0 + obere_einkommensgrenze_m: + - 2530.0 + - 2530.0 + untere_einkommensgrenze_m: + - 2145.0 + - 2145.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index 37211b7af..57cb7b565 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -1,18 +1,11 @@ --- info: note: |- - Lohnsteuer kompakt, "Beispiel für eine alleinstehende Person 2024": Zuschlag - 320 EUR; zu versteuerndes Einkommen inklusive des steuerfreien Teils der Rente - 1,800 EUR im Monat. - Thresholds 2024 (Rentenwert of 01.07.2023, 37.60, § 97a Abs. 4 S. 5 SGB VI): - 36.56 * 37.60 = 1,374.66 -> 1,375; 46.78 * 37.60 = 1,758.93 -> 1,759. - Credited: 0.6 * (1,759 - 1,375) + (1,800 - 1,759) = 230.40 + 41.00 = 271.40. - Zuschlag: 320.00 - 271.40 = 48.60. - The source rounds 230.40 to 230 and reports 49 EUR; § 97a prescribes no such - rounding and the DRV examples keep cents, so the case expects 48.60. + Inputs from Lohnsteuer kompakt, "Beispiel für eine alleinstehende Person 2024" + (T. Rudolph, 20.05.2024). The source rounds the 60 % band 230.40 to 230 and + reports a Zuschlag of 49 EUR; § 97a SGB VI prescribes no such rounding. precision_atol: 0.01 - source: |- - https://www.lohnsteuer-kompakt.de/steuerwissen/grundrentenzuschlag-hoehere-einkommensfreibetraege-ab-2024/ + source: Regression test. inputs: assumed: {} provided: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" index 321a2880d..b92e4e046 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" @@ -1,15 +1,8 @@ --- info: - note: |- - Hand-derived. The § 97a Abs. 2 S. 1 SGB VI income is not floored at zero: a - negative zvE (losses) reduces the steuerfreier Teil of the pension. - Single, zvE -1,200.00 EUR per year; Altersrente 1,000.00 EUR since 2020 - (Besteuerungsanteil 80 %, steuerfreier Teil (1 - 0.80) * 1,000.00 = 200.00 per - month); no capital income. - Income: -1,200.00 / 12 + 200.00 = -100.00 + 200.00 = 100.00. - (Flooring the zvE at zero would give 200.00.) + note: '' precision_atol: 0.01 - source: § 97a Abs. 2 S. 1 SGB VI; § 2 Abs. 5 EStG + source: Regression test. inputs: assumed: {} provided: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" index a68cd80ee..2b3947590 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" @@ -1,31 +1,8 @@ --- info: - note: |- - Hand-derived. Jointly assessed spouses; the target computes each spouse's - § 97a Abs. 2 S. 1 SGB VI income for the following year: - - Nr. 1: the joint zvE (24,000.00 EUR per year) split equally, 12,000.00 each. - - Nr. 2: the steuerfreier Teil of pensions under § 22 Nr. 1 S. 3 lit. a dbl. aa - EStG (gesetzliche Rente, Basisrente, berufsständische Versorgung). GETTSIM - taxes these at the Besteuerungsanteil of the year the pension began, so the - steuerfreier Teil is (1 - Besteuerungsanteil) times the pension. Pensions taxed - at the Ertragsanteil (dbl. bb) are not part of Nr. 2. - - The Grundrentenzuschlag is tax-free (§ 3 Nr. 14a EStG) and part of neither - Nr. 1 nor Nr. 2. - - Nr. 3: no capital income. - Spouse 0: Altersrente 1,000.00 EUR plus Zuschlag 100.00 EUR, pension since 2020 - (Besteuerungsanteil 80 %); a private pension (sonstige private Vorsorge) of - 300.00 EUR, taxed at the Ertragsanteil. - Steuerfreier Teil: (1 - 0.80) * 1,000.00 = 200.00 (the Zuschlag and the private - pension are left out). - Income: (12,000.00 + 12 * 200.00) / 12 = 1,000.00 + 200.00 = 1,200.00. - Spouse 1: Altersrente 500.00 EUR and berufsständische Versorgung 200.00 EUR, - since 2015 (Besteuerungsanteil 70 %). - Steuerfreier Teil: (1 - 0.70) * (500.00 + 200.00) = 210.00. - Income: 1,000.00 + 210.00 = 1,210.00. - The zvE is given as input, so this case does not depend on the income tax - computation. + note: '' precision_atol: 0.01 - source: § 97a Abs. 2 S. 1, 7 SGB VI; § 3 Nr. 14a, § 22 Nr. 1 S. 3 lit. a EStG + source: Regression test. inputs: assumed: {} provided: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" index b5d6e5366..236788e2b 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" @@ -1,19 +1,12 @@ --- info: note: |- - SG Augsburg, Gerichtsbescheid v. 01.10.2025 - S 13 R 469/25, Tatbestand Rn. 2 - (DRV-Bescheid v. 30.04.2025): Rentenbeginn 01.05.2025; zu versteuerndes - Einkommen 2023 21,181 EUR (monatlich 1,765.08 EUR); anrechenbares Einkommen - 196.25 EUR "(60% des den Grenzbetrag von 1.438 EUR übersteigenden Einkommens)"; - Zuschlag 101.88 EUR, not paid. - Assumed: single (the 1,438 threshold is the single one); steuerfreier Teil and - capital income zero. - Thresholds 2025 (Rentenwert of 01.07.2024, 39.32): - 36.56 * 39.32 = 1,437.54 -> 1,438; 46.78 * 39.32 = 1,839.39 -> 1,840. - Credited: 0.6 * (1,765.08 - 1,438) = 196.248 -> 196.25. - Zuschlag: max(101.88 - 196.25, 0) = 0.00. + Single status is inferred from the single threshold of 1,438 EUR applied in the + source. precision_atol: 0.01 source: |- + SG Augsburg, Gerichtsbescheid v. 01.10.2025 - S 13 R 469/25, Tatbestand Rn. 2 + (DRV-Bescheid v. 30.04.2025). https://www.gesetze-bayern.de/Content/Rtf/Y-300-Z-BECKRS-B-2025-N-44738?all=False inputs: assumed: {} diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" index 4b190b944..93b9b021b 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -1,21 +1,12 @@ --- info: note: |- - GRA Beispiel 7 (Freibetrag, zu Abschnitt 5). Rentenbeginn 01.02.2026, Zuschlag - vor Einkommensanrechnung 100.00 EUR, gemeinsames zu versteuerndes Einkommen der - Ehegatten 2,900.00 EUR monatlich. - Assumed: the joint income is split equally between the spouses (1,450.00 each); - steuerfreier Teil and capital income are zero; the spouse has no Zuschlag of - their own. - Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, § 97a Abs. 4 S. 5 SGB VI), - rounded up to full Euro (Abs. 4 S. 1): - 57.03 * 40.79 = 2,326.25 -> 2,327; 67.27 * 40.79 = 2,743.94 -> 2,744. - Credited: 0.6 * (2,744 - 2,327) + (2,900 - 2,744) = 250.20 + 156.00 = 406.20. - Zuschlag: max(100.00 - 406.20, 0) = 0.00. + The source's figures are those of the Berechtigter (row 0). The spouse (row 1) + has no Zuschlag of their own (assumed). precision_atol: 0.01 source: |- - DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 008.00, - Beispiel 7. + DRV, Gemeinsame Rechtliche Anweisungen zu § 97a SGB VI, Version 008.00, Stand + 15.01.2026, Beispiel 7 (Freibetrag, Beispiel zu Abschnitt 5). https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html inputs: assumed: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml deleted file mode 100644 index 156609bd5..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/alleinstehend_aufgerundete_grenzen.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -info: - note: |- - Hand-derived. Four singles, each with a Zuschlag before crediting of 300.00 EUR, - with incomes on both sides of each threshold. § 97a Abs. 4 S. 1 SGB VI rounds - every threshold up to a full Euro. - Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, Abs. 4 S. 5): - 36.56 * 40.79 = 1,491.2824 -> 1,492; 46.78 * 40.79 = 1,908.1562 -> 1,909. - - 1,491.50 (above the unrounded, below the rounded lower threshold): 0.00; - Zuschlag 300.00. - - 1,492.50: 0.6 * 0.50 = 0.30; Zuschlag 299.70. - - 1,908.50 (above the unrounded, below the rounded upper threshold): - 0.6 * 416.50 = 249.90; Zuschlag 50.10. - - 1,910.00: 0.6 * 417 + 1.00 = 251.20; Zuschlag 48.80. - precision_atol: 0.01 - source: § 97a Abs. 4 S. 1-3, 5 SGB VI -inputs: - assumed: {} - provided: - familie: - p_id_ehepartner: - - -1 - - -1 - - -1 - - -1 - hh_id: - - 0 - - 1 - - 2 - - 3 - p_id: - - 0 - - 1 - - 2 - - 3 - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 300.0 - - 300.0 - - 300.0 - - 300.0 - einkommen_vorjahr_m_ehe: - - 1491.5 - - 1492.5 - - 1908.5 - - 1910.0 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 0.0 - - 0.3 - - 249.9 - - 251.2 - betrag_m: - - 300.0 - - 299.7 - - 50.1 - - 48.8 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml index c2754044d..52693f7eb 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml @@ -1,16 +1,11 @@ --- info: note: |- - Hand-derived. Both spouses receive a Zuschlag (400.00 and 200.00 EUR before - crediting); each has income 1,400.00 EUR. "Bei zwei grundrentenberechtigten - Ehegatten ist in beiden Renten das gemeldete gemeinsame Einkommen zu - berücksichtigen" (GRA Abschnitt 5). - Couple sum 2,800.00; couple thresholds 2026: 2,327 / 2,744. - Credited in each pension: 0.6 * 417 + 56 = 306.20. - Zuschlag: 400.00 - 306.20 = 93.80; max(200.00 - 306.20, 0) = 0.00. + The joint income is credited in full in both pensions (DRV, GRA zu § 97a SGB VI, + Version 008.00, Abschnitt 5: "Bei zwei grundrentenberechtigten Ehegatten ist in + beiden Renten das gemeldete gemeinsame Einkommen zu berücksichtigen"). precision_atol: 0.01 - source: |- - https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html + source: Regression test. inputs: assumed: {} provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml index ab6086582..fb199edcb 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml @@ -1,16 +1,8 @@ --- info: - note: |- - Hand-derived. The § 97a Abs. 2 S. 1 income is not floored at zero, so a spouse's - negative income (losses in the zvE) offsets the Berechtigter's income. - Berechtigter income 2,800.00 EUR, Zuschlag before crediting 300.00 EUR; spouse - income -300.00 EUR, no Zuschlag. Couple sum 2,500.00. - Couple thresholds 2026: 2,327 / 2,744 (57.03 / 67.27 * 40.79, rounded up). - Credited: 0.6 * (2,500 - 2,327) = 103.80 for both spouses. - Zuschlag: 300.00 - 103.80 = 196.20. - (Flooring the spouse at zero would credit 306.20 and pay no Zuschlag.) + note: '' precision_atol: 0.01 - source: § 97a Abs. 2 S. 1, Abs. 4 S. 4 SGB VI + source: Regression test. inputs: assumed: {} provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml index 3631ad7e2..78b2962f3 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml @@ -1,18 +1,12 @@ --- info: note: |- - Hand-derived. A married Berechtigter with income 2,000.00 EUR and Zuschlag before - crediting 300.00 EUR; the spouse has no income and no Zuschlag. The couple - thresholds of § 97a Abs. 4 S. 4 SGB VI apply whenever the Berechtigter is married, - also with a spouse without income (GRA Abschnitt 5: "Der für Ehegatten höhere - Freibetrag ist auch dann zu berücksichtigen, wenn der Ehegatte des Berechtigten - über kein eigenes Einkommen verfügt."). - Lower couple threshold 2026: 57.03 * 40.79 = 2,326.25 -> 2,327. - Income 2,000.00 < 2,327, so nothing is credited; Zuschlag 300.00. - (The single thresholds 1,492 / 1,909 would credit 0.6 * 417 + 91 = 341.20.) + Couple thresholds also without spouse income (DRV, GRA zu § 97a SGB VI, Version + 008.00, Abschnitt 5: "Der für Ehegatten höhere Freibetrag ist auch dann zu + berücksichtigen, wenn der Ehegatte des Berechtigten über kein eigenes Einkommen + verfügt."). precision_atol: 0.01 - source: |- - https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html + source: Regression test. inputs: assumed: {} provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml index a5318aef4..45840ae0a 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml @@ -1,19 +1,11 @@ --- info: note: |- - Hand-derived. Same couple as in `ehegatte_ohne_einkommen.yaml`, but the spouses - live permanently apart in separate households. § 97a SGB VI names the Ehegatte - without a separation qualifier, so the spouse's income and the couple thresholds - still apply (GRA Abschnitt 2: "Dies gilt auch für dauernd getrenntlebende - Ehegatten"). - Berechtigter income 2,000.00, spouse income 400.00; couple sum 2,400.00. - Couple thresholds 2026: 2,327 / 2,744 (57.03 / 67.27 * 40.79, rounded up). - Credited: 0.6 * (2,400 - 2,327) = 43.80 for both spouses. - Zuschlag: 300.00 - 43.80 = 256.20. - (Single thresholds on the own income would credit 0.6 * 417 + 91 = 341.20.) + Spouse's income and couple thresholds also for spouses living apart (DRV, GRA + zu § 97a SGB VI, Version 008.00, Abschnitt 2: "Dies gilt auch für dauernd + getrenntlebende Ehegatten"). precision_atol: 0.01 - source: |- - https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html + source: Regression test. inputs: assumed: {} provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml deleted file mode 100644 index 09ee518a0..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_aufgerundete_grenzen.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -info: - note: |- - Hand-derived. Four married couples; in each, one spouse has a Zuschlag before - crediting of 300.00 EUR and the other none. The couple's income sums lie on both - sides of each couple threshold (§ 97a Abs. 4 S. 4 SGB VI), split equally between - the spouses. Abs. 4 S. 1 rounds every threshold up to a full Euro. - Thresholds 2026 (Rentenwert of 01.07.2025, 40.79, Abs. 4 S. 5): - 57.03 * 40.79 = 2,326.2537 -> 2,327; 67.27 * 40.79 = 2,743.9433 -> 2,744. - - 2,326.50 (1,163.25 each): 0.00; Zuschlag 300.00. - - 2,328.00 (1,164.00 each): 0.6 * 1.00 = 0.60; Zuschlag 299.40. - - 2,743.50 (1,371.75 each): 0.6 * 416.50 = 249.90; Zuschlag 50.10. - - 2,745.00 (1,372.50 each): 0.6 * 417 + 1.00 = 251.20; Zuschlag 48.80. - Both spouses get the same credited income, computed from the couple's sum. - precision_atol: 0.01 - source: § 97a Abs. 4 S. 1-5 SGB VI -inputs: - assumed: {} - provided: - familie: - p_id_ehepartner: - - 1 - - 0 - - 3 - - 2 - - 5 - - 4 - - 7 - - 6 - hh_id: - - 0 - - 0 - - 1 - - 1 - - 2 - - 2 - - 3 - - 3 - p_id: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 300.0 - - 0.0 - - 300.0 - - 0.0 - - 300.0 - - 0.0 - - 300.0 - - 0.0 - einkommen_vorjahr_m_ehe: - - 2326.5 - - 2326.5 - - 2328.0 - - 2328.0 - - 2743.5 - - 2743.5 - - 2745.0 - - 2745.0 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 0.0 - - 0.0 - - 0.6 - - 0.6 - - 249.9 - - 249.9 - - 251.2 - - 251.2 - betrag_m: - - 300.0 - - 0.0 - - 299.4 - - 0.0 - - 50.1 - - 0.0 - - 48.8 - - 0.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" deleted file mode 100644 index 7253685e1..000000000 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" +++ /dev/null @@ -1,48 +0,0 @@ ---- -info: - note: |- - DRV-Broschüre "Grundrente: Zuschlag zur Rente", 5. Auflage (5/2026), p. 16 f., - "Monika L.": married, she and her husband have a joint monthly income of - 2,800 EUR; 2,327 EUR are not credited; 60 % of 417 EUR = 250.20 EUR; - 2,800 - 2,744 = 56 EUR; credited 306.20 EUR. - Assumed: the joint income is split equally (1,400.00 each); Zuschlag before - crediting 400.00 EUR (not stated); the husband has no Zuschlag. - Thresholds 2026 (Rentenwert of 01.07.2025, 40.79): - 57.03 * 40.79 = 2,326.25 -> 2,327; 67.27 * 40.79 = 2,743.94 -> 2,744. - Credited: 0.6 * 417 + 56 = 306.20 for both spouses (computed from the joint - income). Zuschlag: 400.00 - 306.20 = 93.80. - precision_atol: 0.01 - source: |- - https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 -inputs: - assumed: - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 400.0 - - 0.0 - einkommen_vorjahr_m_ehe: - - 2800.0 - - 2800.0 - provided: - familie: - p_id_ehepartner: - - 1 - - 0 - hh_id: - - 0 - - 0 - p_id: - - 0 - - 1 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 306.2 - - 306.2 - betrag_m: - - 93.8 - - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml deleted file mode 100644 index cbaa2d08d..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/verwitwet_einkommen_zwischen_den_grenzen.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -info: - note: |- - DRV-Broschüre "Grundrente: Zuschlag zur Rente", 5. Auflage (5/2026), p. 15 f., - "Dieter P.": widower, monthly income 1,550 EUR; 1,492 EUR are not credited; - 60 % of 58 EUR = 34.80 EUR. - Assumed: Zuschlag before crediting 100.00 EUR (not stated). A widower has no - spouse, so the single thresholds apply. - Thresholds 2026 (Rentenwert of 01.07.2025, 40.79): - 36.56 * 40.79 = 1,491.28 -> 1,492; 46.78 * 40.79 = 1,908.16 -> 1,909. - Credited: 0.6 * (1,550 - 1,492) = 34.80. Zuschlag: 100.00 - 34.80 = 65.20. - precision_atol: 0.01 - source: |- - https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 -inputs: - assumed: - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 100.0 - provided: - familie: - p_id_ehepartner: - - -1 - hh_id: - - 0 - p_id: - - 0 - sozialversicherung: - rente: - grundrente: - einkommen_vorjahr_m_ehe: - - 1550.0 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 34.8 - betrag_m: - - 65.2 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" new file mode 100644 index 000000000..485d9839b --- /dev/null +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -0,0 +1,40 @@ +--- +info: + note: '' + precision_atol: 0.01 + source: |- + DRV, Broschüre "Grundrente: Zuschlag zur Rente", Nr. 210, 5. Auflage (5/2026), + p. 17 (thresholds for Ehepartner and Beispiel "Monika L."). + https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - 1 + - 0 + hh_id: + - 0 + - 0 + p_id: + - 0 + - 1 + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_m_ehe: + - 2800.0 + - 2800.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 306.2 + - 306.2 + obere_einkommensgrenze_m: + - 2744.0 + - 2744.0 + untere_einkommensgrenze_m: + - 2327.0 + - 2327.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml new file mode 100644 index 000000000..1e8e08bf8 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml @@ -0,0 +1,33 @@ +--- +info: + note: '' + precision_atol: 0.01 + source: |- + DRV, Broschüre "Grundrente: Zuschlag zur Rente", Nr. 210, 5. Auflage (5/2026), + p. 15 (thresholds for Unverheiratete) and p. 16 (Beispiel "Dieter P."). + https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Broschueren/national/grundrente_zuschlag_zur_rente.pdf?__blob=publicationFile&v=10 +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + hh_id: + - 0 + p_id: + - 0 + sozialversicherung: + rente: + grundrente: + einkommen_vorjahr_m_ehe: + - 1550.0 +outputs: + sozialversicherung: + rente: + grundrente: + anzurechnendes_einkommen_m: + - 34.8 + obere_einkommensgrenze_m: + - 1909.0 + untere_einkommensgrenze_m: + - 1492.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml deleted file mode 100644 index 60d681181..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-09-01/grenzen_nach_rentenanpassung_im_juli.yaml +++ /dev/null @@ -1,59 +0,0 @@ ---- -info: - note: |- - Hand-derived. Changes of the thresholds take effect only from the 1 January - after a Rentenwert adjustment (§ 97a Abs. 4 S. 5 with Abs. 5 S. 2 SGB VI; GRA - Abschnitt 5: "Die Änderungen werden allerdings erst zum darauffolgenden 01.01. - wirksam"). So in September 2026 the thresholds still rest on the Rentenwert of - 01.07.2025 (40.79), not on the 42.52 in force since 01.07.2026. - The two households repeat the DRV-Broschüre 5/2026 examples (thresholds stated - "seit Januar 2026"): - - Single, income 1,550.00, Zuschlag before crediting 100.00: - 36.56 * 40.79 = 1,491.28 -> 1,492; credited 0.6 * 58 = 34.80; - Zuschlag 65.20. - - Married, income 1,400.00 each, Zuschlag 400.00 for one spouse: - 57.03 * 40.79 -> 2,327, 67.27 * 40.79 -> 2,744; - credited 0.6 * 417 + 56 = 306.20; Zuschlag 93.80. - (With 42.52 the thresholds would be 1,555 and 2,425 / 2,861.) - precision_atol: 0.01 - source: |- - https://rvrecht.deutsche-rentenversicherung.de/SharedDocs/rvRecht/01_GRA_SGB/06_SGB_VI/pp_0076_100/gra_sgb006_p_0097a.html -inputs: - assumed: {} - provided: - familie: - p_id_ehepartner: - - -1 - - 2 - - 1 - hh_id: - - 0 - - 1 - - 1 - p_id: - - 0 - - 1 - - 2 - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 100.0 - - 400.0 - - 0.0 - einkommen_vorjahr_m_ehe: - - 1550.0 - - 2800.0 - - 2800.0 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 34.8 - - 306.2 - - 306.2 - betrag_m: - - 65.2 - - 93.8 - - 0.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-10-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-10-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml new file mode 100644 index 000000000..a2c8aaec5 --- /dev/null +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-10-01/einkommensgrenzen_nach_rentenanpassung_im_juli.yaml @@ -0,0 +1,38 @@ +--- +info: + note: '' + precision_atol: 0.01 + source: |- + DRV, "Fragen und Antworten zum Grundrentenzuschlag", questions "Wird Einkommen + auf den Grundrentenzuschlag angerechnet?" (thresholds "ab Januar 2026") and + "Bleiben die Einkommensgrenzen für den Grundrentenzuschlag unverändert?" (changes + on 1 January), page as read on 18.10.2026. + https://www.deutsche-rentenversicherung.de/SharedDocs/FAQ/grundrente/grundrente_faq_liste.html +inputs: + assumed: {} + provided: + familie: + p_id_ehepartner: + - -1 + - 2 + - 1 + hh_id: + - 0 + - 1 + - 1 + p_id: + - 0 + - 1 + - 2 +outputs: + sozialversicherung: + rente: + grundrente: + obere_einkommensgrenze_m: + - 1909.0 + - 2744.0 + - 2744.0 + untere_einkommensgrenze_m: + - 1492.0 + - 2327.0 + - 2327.0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml index 62670aa6a..9d97ca94e 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml @@ -1,22 +1,8 @@ --- info: - note: |- - Hand-derived. From 01.01.2027 § 97a Abs. 2 S. 7 SGB VI is struck (SGB - VI-Anpassungsgesetz v. 22.12.2025, BGBl. 2025 I Nr. 355, Art. 1 Nr. 11 Buchst. - a); the crediting rule of Abs. 4 is unchanged. The thresholds for 2027 rest on - the Rentenwert of 01.07.2026 (42.52, Abs. 4 S. 5), rounded up (Abs. 4 S. 1): - 36.56 * 42.52 = 1,554.53 -> 1,555; 46.78 * 42.52 = 1,989.09 -> 1,990; - 57.03 * 42.52 = 2,424.92 -> 2,425; 67.27 * 42.52 = 2,860.32 -> 2,861. - Zuschlag before crediting 300.00 EUR in every household: - - Single, income 1,554.80 (between the unrounded and the rounded lower - threshold): 0.00; Zuschlag 300.00. - - Single, income 2,000.00: 0.6 * (1,990 - 1,555) + 10 = 261.00 + 10.00 = - 271.00; Zuschlag 29.00. - - Married, 1,435.00 each (sum 2,870.00), Zuschlag for one spouse: - 0.6 * (2,861 - 2,425) + 9 = 261.60 + 9.00 = 270.60; Zuschlag 29.40. + note: '' precision_atol: 0.01 - source: |- - https://www.recht.bund.de/bgbl/1/2025/355/VO.html + source: Regression test. inputs: assumed: {} provided: From 1771413b89aae2118f23d54d66b7135eed97992a Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 16:22:45 +0200 Subject: [PATCH 11/18] Delte 2027 test case. --- .../2027-02-01/grenzen_ab_2027.yaml | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml deleted file mode 100644 index 9d97ca94e..000000000 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2027-02-01/grenzen_ab_2027.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -info: - note: '' - precision_atol: 0.01 - source: Regression test. -inputs: - assumed: {} - provided: - familie: - p_id_ehepartner: - - -1 - - -1 - - 3 - - 2 - hh_id: - - 0 - - 1 - - 2 - - 2 - p_id: - - 0 - - 1 - - 2 - - 3 - sozialversicherung: - rente: - grundrente: - basisbetrag_m: - - 300.0 - - 300.0 - - 300.0 - - 0.0 - einkommen_vorjahr_m_ehe: - - 1554.8 - - 2000.0 - - 2870.0 - - 2870.0 -outputs: - sozialversicherung: - rente: - grundrente: - anzurechnendes_einkommen_m: - - 0.0 - - 271.0 - - 270.6 - - 270.6 - betrag_m: - - 300.0 - - 29.0 - - 29.4 - - 0.0 From 90f298c85384a6562775e0f867ada95ed8feb976 Mon Sep 17 00:00:00 2001 From: Marvin Immesberger Date: Sun, 18 Oct 2026 16:52:57 +0200 Subject: [PATCH 12/18] Set the Grundrentenzuschlag in the simple example Income tax subtracts the tax-free Zuschlag from the pension, so the example needs bezieht_altersrente and grundrente__betrag_m. Co-Authored-By: Claude Opus 5.5 --- docs/tutorials/simple_example.ipynb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tutorials/simple_example.ipynb b/docs/tutorials/simple_example.ipynb index 50ac68490..76079e492 100644 --- a/docs/tutorials/simple_example.ipynb +++ b/docs/tutorials/simple_example.ipynb @@ -240,12 +240,16 @@ " \"sozialversicherung\": {\n", " \"rente\": {\n", " \"jahr_renteneintritt\": 2080,\n", + " \"bezieht_altersrente\": False,\n", " \"altersrente\": {\n", " \"betrag_m\": 0.0,\n", " },\n", " \"erwerbsminderung\": {\n", " \"betrag_m\": 0.0,\n", " },\n", + " \"grundrente\": {\n", + " \"betrag_m\": 0.0,\n", + " },\n", " \"verzichtet_auf_versicherungsfreiheit_wegen_alters\": False,\n", " \"verzichtet_auf_versicherungsfreiheit_wegen_geringfügiger_beschäftigung\": False,\n", " },\n", From 6bc82e588421a47078bac236592f5071e7509716 Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 14:00:09 +0000 Subject: [PATCH 13/18] Use the income of the vorvergangenes Kalenderjahr for the Grundrente MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit § 97a Abs. 2 S. 2 SGB VI reduces the Zuschlag by the income of the year before the previous one (S. 3: the year before that if there is no tax assessment). - Rename the input to einkommen_vorvorjahr_m_ehe and the target to einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y; run the notebook's first step on 2024 data for a January 2026 Zuschlag. - List the t−3 fallback, the approximated steuerfreier Teil of pensions and the 1/10 rule for § 20 Abs. 1 Nr. 6 EStG among the notebook's simplifications. - Document that a negative zvE offsets the other components (no source either way) and that a pension supplied as data must include the Zuschlag. - Cite § 97a Abs. 4 S. 1-4 precisely, quote BT-Drs. 19/18473 and the GRA for the uniform and couple thresholds, and fix the § 76g Abs. 4 S. 4 reference. - Add CHANGES.md entries for the thresholds, the tax exemption and the Rentenwert date key. --- CHANGES.md | 20 +++++- .../calculating_grundrente.ipynb | 67 ++++++++++++------- .../inputs_from_prior_periods.md | 9 +-- .../eink\303\274nfte/sonstige/rente/rente.py" | 8 +++ .../rente/grundrente/grundrente.py | 45 +++++++++---- .../rente/grundrente/inputs.py | 14 ++-- .../rente/grundrente/2021-07-01/hh_id_1.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_10.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_11.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_12.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_2.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_3.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_4.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_5.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_6.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_7.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_8.yaml | 2 +- .../rente/grundrente/2021-07-01/hh_id_9.yaml | 2 +- .../grundrente/2021-07-01/married_couple.yaml | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ...tehend_einkommen_unter_unterer_grenze.yaml | 2 +- ...ung_gemeinsame_kapitalertr\303\244ge.yaml" | 2 +- ...alertr\303\244ge_sparer_pauschbetrag.yaml" | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ...r_einkommensanrechnung_negatives_zve.yaml" | 7 +- ...r_einkommensanrechnung_ohne_zuschlag.yaml" | 2 +- ...nrechnung_\303\274bersteigt_zuschlag.yaml" | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- .../beide_ehegatten_mit_zuschlag.yaml | 2 +- .../2026-03-01/ehegatte_ohne_einkommen.yaml | 2 +- .../ehegatten_dauernd_getrennt_lebend.yaml | 2 +- ...epaar_einkommen_zwischen_den_grenzen.yaml} | 2 +- ..._einkommen_\303\274ber_oberer_grenze.yaml" | 2 +- ...witwet_einkommen_zwischen_den_grenzen.yaml | 2 +- 36 files changed, 147 insertions(+), 81 deletions(-) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" (96%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" (95%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" (78%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" (95%) rename src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/{ehegatte_mit_negativem_einkommen.yaml => ehepaar_einkommen_zwischen_den_grenzen.yaml} (93%) diff --git a/CHANGES.md b/CHANGES.md index 4d70357e3..fb664b3dd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,10 +19,26 @@ All releases are available on [Anaconda.org](https://anaconda.org/conda-forge/ge income (zu versteuerndes Einkommen, steuerfreier Teil of pensions, and capital income under the Abgeltungsteuer) instead of gross receipts. - New input `sozialversicherung__rente__grundrente__einkommen_vorjahr_m_ehe`, which + New input `sozialversicherung__rente__grundrente__einkommen_vorvorjahr_m_ehe` (the + couple's income of the vorvergangenes Kalenderjahr, § 97a Abs. 2 S. 2 SGB VI), which replaces the old Grundrente income inputs. The target `sozialversicherung__rente__grundrente__gesamteinnahmen_aus_renten_für_einkommensberechnung_im_folgejahr_m` - is renamed to `sozialversicherung__rente__grundrente__einkommen_im_folgejahr_y`. + is replaced by + `sozialversicherung__rente__grundrente__einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y`. + ({ghuser}`MImmesberger`) + +- {gh}`1246` Round the Grundrente income thresholds up to full euros and keep them fixed + for the calendar year, using the Rentenwert in force on 1 January (§ 97a Abs. 4 S. 1, + 5 SGB VI). ({ghuser}`MImmesberger`) + +- {gh}`1246` Exempt the Grundrentenzuschlag from income tax from 2021 (§ 3 Nr. 14a + EStG). Anyone who supplies `einnahmen__renten__gesetzliche_m` as data now also needs + `sozialversicherung__rente__grundrente__betrag_m` and + `sozialversicherung__rente__bezieht_altersrente`. ({ghuser}`MImmesberger`) + +- {gh}`1246` Fix the date key of the 39.32 € Rentenwert from `2024-01-07` to + `2024-07-01` (see {gh}`1202`). This changes results that use the Rentenwert for policy + dates from 7 January to 30 June 2024 (37.60 € instead of 39.32 €). ({ghuser}`MImmesberger`) - {gh}`1232` Show how to add input elements to a persona in the personas tutorial. diff --git a/docs/how_to_guides/calculating_grundrente.ipynb b/docs/how_to_guides/calculating_grundrente.ipynb index d726b1f54..d66fbca23 100644 --- a/docs/how_to_guides/calculating_grundrente.ipynb +++ b/docs/how_to_guides/calculating_grundrente.ipynb @@ -16,38 +16,51 @@ "\n", "taken as one twelfth per month.\n", "\n", - "The Grundrentenzuschlag does not use current income but the income of an earlier year.\n", - "This income can be calculated via a separate GETTSIM run as illustrated in the example\n", - "below.\n", + "The Grundrentenzuschlag does not use current income but the income of the calendar year\n", + "before the previous one (vorvergangenes Kalenderjahr, § 97a Abs. 2 S. 2 SGB VI). For the\n", + "Zuschlag paid in 2026, this is the income of 2024. This income can be calculated via a\n", + "separate GETTSIM run as illustrated in the example below.\n", "\n", "### Overview\n", "\n", "The calculation involves two steps:\n", "\n", - "1. Calculate the income relevant for the Grundrentenzuschlag in the **previous** year.\n", - " Use the target \n", - " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_im_folgejahr_m_ehe\")` \n", - " with the policy environment of the previous year.\n", + "1. Calculate the income relevant for the Grundrentenzuschlag in the year **before the\n", + " previous** year. Use the target \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m_ehe\")` \n", + " with the policy environment of that year.\n", "\n", "2. Use the result as the input \n", - " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_vorjahr_m_ehe\")` \n", + " `(\"sozialversicherung\", \"rente\", \"grundrente\", \"einkommen_vorvorjahr_m_ehe\")` \n", " and calculate the Grundrentenzuschlag `(\"sozialversicherung\", \"rente\", \"grundrente\", \"betrag_m\")`\n", " with the policy environment of the current year.\n", "\n", - "> **Note**: GETTSIM simplifies the statute in two ways:\n", + "> **Note**: GETTSIM simplifies the statute in several ways:\n", ">\n", + "> - If the tax office has no assessment for the year before the previous one, the\n", + "> statute uses the income of the year before that (§ 97a Abs. 2 S. 3 SGB VI). It is up\n", + "> to the user to pass the income of the right year.\n", "> - If the tax office has no data on a person, the statute cuts gross pensions by fixed\n", - "> percentages instead. GETTSIM does not model this fallback.\n", - "> - The tax-free part of Versorgungsbezüge (civil servant pensions) is not modelled.\n", + "> percentages instead (§ 97a Abs. 2 S. 4 SGB VI). GETTSIM does not model this\n", + "> fallback.\n", + "> - The tax-free part of Versorgungsbezüge (civil servant pensions) is not modelled\n", + "> ([#1247](https://github.com/ttsim-dev/gettsim/issues/1247)).\n", + "> - The steuerfreier Teil of pensions is the fixed euro amount set when the pension\n", + "> started (§ 22 Nr. 1 S. 3 Buchst. a Doppelbuchst. aa S. 4 EStG). GETTSIM approximates\n", + "> it as one minus the Besteuerungsanteil times the current pension, which overstates\n", + "> it for pensions that have been adjusted since they started.\n", + "> - For capital income under § 20 Abs. 1 Nr. 6 EStG, the statute counts one tenth of\n", + "> the yield for at most ten years. GETTSIM counts it in full\n", + "> ([#1248](https://github.com/ttsim-dev/gettsim/issues/1248)).\n", "\n", "## Example\n", "\n", "Consider a single pensioner, born in 1953, who has drawn her statutory pension since\n", - "2018. In 2025, she received a statutory pension of €1,250 and an occupational pension\n", + "2018. In 2024, she received a statutory pension of €1,250 and an occupational pension\n", "(Betriebsrente) of €500 per month, plus €3,000 of capital income. She received no\n", - "Grundrentenzuschlag in 2025. We want her Grundrentenzuschlag in January 2026.\n", + "Grundrentenzuschlag in 2024. We want her Grundrentenzuschlag in January 2026.\n", "\n", - "### Step 1: Income in the previous year" + "### Step 1: Income in the year before the previous year" ] }, { @@ -65,7 +78,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "First, we compile the data needed to calculate her income tax for 2025." + "First, we compile the data needed to calculate her income tax for 2024." ] }, { @@ -74,9 +87,9 @@ "metadata": {}, "outputs": [], "source": [ - "input_data_2025 = {\n", - " \"alter\": np.array([72]),\n", - " \"alter_monate\": np.array([864]),\n", + "input_data_2024 = {\n", + " \"alter\": np.array([71]),\n", + " \"alter_monate\": np.array([852]),\n", " \"arbeitsstunden_w\": np.array([0]),\n", " \"behinderungsgrad\": np.array([0]),\n", " \"einkommensteuer\": {\n", @@ -151,7 +164,7 @@ "metadata": {}, "source": [ "Now, we calculate the income relevant for the Grundrentenzuschlag in 2026, using the\n", - "policy environment of 2025." + "policy environment of 2024." ] }, { @@ -160,24 +173,26 @@ "metadata": {}, "outputs": [], "source": [ - "einkommen_2025 = main(\n", + "einkommen_2024 = main(\n", " main_target=MainTarget.results.tree,\n", - " policy_date_str=\"2025-01-01\",\n", + " policy_date_str=\"2024-01-01\",\n", " tt_targets=TTTargets.tree(\n", " {\n", " \"sozialversicherung\": {\n", " \"rente\": {\n", " \"grundrente\": {\n", - " \"einkommen_im_folgejahr_m_ehe\": None,\n", + " \"einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m_ehe\": None,\n", " }\n", " }\n", " }\n", " }\n", " ),\n", - " input_data=InputData.tree(input_data_2025),\n", + " input_data=InputData.tree(input_data_2024),\n", " include_warn_nodes=False,\n", - ")[\"sozialversicherung\"][\"rente\"][\"grundrente\"][\"einkommen_im_folgejahr_m_ehe\"]\n", - "einkommen_2025" + ")[\"sozialversicherung\"][\"rente\"][\"grundrente\"][\n", + " \"einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m_ehe\"\n", + "]\n", + "einkommen_2024" ] }, { @@ -207,7 +222,7 @@ " \"altersrente\": {\"zugangsfaktor\": np.array([1.0])},\n", " \"grundrente\": {\n", " \"bewertungszeiten_monate\": np.array([420]),\n", - " \"einkommen_vorjahr_m_ehe\": einkommen_2025,\n", + " \"einkommen_vorvorjahr_m_ehe\": einkommen_2024,\n", " \"grundrentenzeiten_monate\": np.array([420]),\n", " \"mean_entgeltpunkte\": np.array([17.5]),\n", " },\n", diff --git a/docs/how_to_guides/inputs_from_prior_periods.md b/docs/how_to_guides/inputs_from_prior_periods.md index d88bd7006..d65ad6fda 100644 --- a/docs/how_to_guides/inputs_from_prior_periods.md +++ b/docs/how_to_guides/inputs_from_prior_periods.md @@ -62,13 +62,14 @@ lifetime earnings: **Grundrente (Grundrentenzuschlag)** -The Grundrentenzuschlag is reduced by the income of an earlier year: +The Grundrentenzuschlag is reduced by the income of the calendar year before the +previous one (§ 97a Abs. 2 S. 2 SGB VI): - **Past input**: - `("sozialversicherung", "rente", "grundrente", "einkommen_vorjahr_m_ehe")` + `("sozialversicherung", "rente", "grundrente", "einkommen_vorvorjahr_m_ehe")` - **Calculation target**: - `("sozialversicherung", "rente", "grundrente", "einkommen_im_folgejahr_m_ehe")`, - calculated with the policy environment of the previous year + `("sozialversicherung", "rente", "grundrente", "einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m_ehe")`, + calculated with the policy environment of the year before the previous one For a worked example, see the [Grundrente tutorial](calculating_grundrente.ipynb). diff --git "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" index 1dee360d9..5fc2a31b8 100644 --- "a/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" +++ "b/src/gettsim/germany/einkommensteuer/eink\303\274nfte/sonstige/rente/rente.py" @@ -117,6 +117,14 @@ def renten_aus_basisversorgung_m_ohne_grundrentenzuschlag( The pension share resting on the Grundrentenzuschlag is tax-free. The Zuschlag is part of the Altersrente only while the person receives it. + If `einnahmen__renten__gesetzliche_m` is supplied as data, it must include the + Grundrentenzuschlag that is subtracted here (`grundrente__betrag_m`, supplied or + computed). Otherwise the difference is too small and may become negative. + + § 3 Nr. 14a EStG covers the Zuschlag in every pension from the gesetzliche + Rentenversicherung, including Erwerbsminderungsrenten. GETTSIM models the Zuschlag + for Altersrenten only. + Reference: § 22 Nr. 1 Satz 3 Buchstabe a Doppelbuchstabe aa EStG; § 3 Nr. 14a EStG (Art. 3 G. v. 16.12.2022 BGBl. I S. 2294, applicable from VZ 2021) """ diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py index e6f4c013e..962c2cc7c 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/grundrente.py @@ -36,7 +36,7 @@ def betrag_m(basisbetrag_m: float, anzurechnendes_einkommen_m: float) -> float: unit=TTSIMUnit.CURRENCY.PER_MONTH, ) def anzurechnendes_einkommen_m( - einkommen_vorjahr_m_ehe: float, + einkommen_vorvorjahr_m_ehe: float, untere_einkommensgrenze_m: float, obere_einkommensgrenze_m: float, anrechnungssätze: dict[str, float], @@ -52,7 +52,7 @@ def anzurechnendes_einkommen_m( # The couple's income is compared with the thresholds, and the result is credited # in full against each spouse's Zuschlag, so the sum loses its group level here. einkommen_m = cast_ttsim_unit( - einkommen_vorjahr_m_ehe, unit=TTSIMUnit.CURRENCY.PER_MONTH + einkommen_vorvorjahr_m_ehe, unit=TTSIMUnit.CURRENCY.PER_MONTH ) einkommen_zwischen_den_grenzen = min( max(einkommen_m - untere_einkommensgrenze_m, 0.0), @@ -84,9 +84,13 @@ def untere_einkommensgrenze_m( """Income up to which nothing is credited against the Grundrentenzuschlag. Married Berechtigte get the threshold for couples, also if the spouse has no income - or lives apart. + or lives apart. The statute does not settle this case; GETTSIM follows DRV, GRA zu + § 97a SGB VI, Version 008.00, Abschnitt 5 ("Der für Ehegatten höhere Freibetrag ist + auch dann zu berücksichtigen, wenn der Ehegatte des Berechtigten über kein eigenes + Einkommen verfügt.") and Abschnitt 2 ("Dies gilt auch für dauernd getrenntlebende + Ehegatten"). - Reference: § 97a Abs. 4 S. 1, 4 SGB VI + Reference: § 97a Abs. 4 S. 1, 2, 4 SGB VI """ if familie__anzahl_personen_ehe > cast_ttsim_unit(1, unit=TTSIMUnit.COUNT.PER_EHE): out = ( @@ -120,9 +124,10 @@ def obere_einkommensgrenze_m( """Income above which all income is credited against the Grundrentenzuschlag. Married Berechtigte get the threshold for couples, also if the spouse has no income - or lives apart. + or lives apart. The statute does not settle this case; GETTSIM follows DRV, GRA zu + § 97a SGB VI, Version 008.00, Abschnitte 2 and 5 (see `untere_einkommensgrenze_m`). - Reference: § 97a Abs. 4 S. 2, 4 SGB VI + Reference: § 97a Abs. 4 S. 1, 3, 4 SGB VI """ if familie__anzahl_personen_ehe > cast_ttsim_unit(1, unit=TTSIMUnit.COUNT.PER_EHE): out = ( @@ -157,8 +162,10 @@ def rentenwert_für_einkommensgrenzen_nach_wohnort_m( are nevertheless uniform across Germany and use the West value, also for Berechtigte living in the Beitrittsgebiet (DRV, GRA zu § 97a SGB VI: "Durch die Anknüpfung an den aktuellen Rentenwert gelten die Freibeträge einheitlich im - gesamten Bundesgebiet"; BT-Drs. 19/18473, which states the 2021 thresholds as - multiples of the West value). + gesamten Bundesgebiet"; BT-Drs. 19/18473, p. 42: "Die jeweils maßgebenden Beträge + gelten einheitlich für Berechtigte im gesamten Bundesgebiet."). The 2021 thresholds + stated there (1 250, 1 600, 1 950 and 2 300 euros) equal the factors times the West + value of 34.19 euros, rounded up. Reference: § 97a Abs. 4 S. 5 i.V.m. Abs. 5 S. 2 SGB VI """ @@ -245,7 +252,7 @@ def mean_entgeltpunkte_pro_bewertungsmonat_m( rounding_spec=RoundingSpec( base=0.0001, direction="nearest", - reference="§76g SGB VI Abs. 4 Nr. 4", + reference="§ 76g Abs. 4 S. 4 SGB VI", ), start_date="2021-01-01", unit=TTSIMUnit.DIMENSIONLESS.PER_MONTH, @@ -332,17 +339,20 @@ def grundsätzlich_anspruchsberechtigt( @policy_function(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_YEAR) -def einkommen_im_folgejahr_y( +def einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y( einkommensteuer__zu_versteuerndes_einkommen_y_sn: float, einkommensteuer__einkünfte__aus_kapitalvermögen__betrag_y_sn: float, einkommensteuer__einkünfte__sonstige__rente__renten_aus_basisversorgung_y: float, einkommensteuer__einkünfte__sonstige__rente__steuerpflichtiger_anteil_der_renteneinnahmen_y: float, familie__anzahl_personen_sn: int, ) -> float: - """Income relevant for the Grundrentenzuschlag in the following calendar year. + """Income of this calendar year relevant for the Grundrentenzuschlag. - Its sum over the spouses can be used as the input `einkommen_vorjahr_m_ehe` in a - GETTSIM call for the following year. It is the sum of + The Grundrentenzuschlag of a calendar year is reduced by the income of the year + before the previous one (vorvergangenes Kalenderjahr, § 97a Abs. 2 S. 2 SGB VI), or + of the year before that if no tax assessment exists (S. 3). Its sum over the + spouses can be used as the input `einkommen_vorvorjahr_m_ehe` in a GETTSIM call for + the year after next. It is the sum of - the zu versteuerndes Einkommen, - the steuerfreier Teil of pensions taxed at the Besteuerungsanteil, and @@ -352,6 +362,15 @@ def einkommen_im_folgejahr_y( members of the Steuernummer, so that the sum over the spouses is the couple's income both under joint and under separate assessment. + The share of the pension resting on the Grundrentenzuschlag is tax-free (§ 3 Nr. 14a + EStG), so it is contained in neither the zu versteuerndes Einkommen nor the + steuerfreier Teil of pensions computed here (cf. § 97a Abs. 2 S. 7 SGB VI). + + A negative zu versteuerndes Einkommen (possible only if supplied as data) is added + as is and offsets the other components. Neither the statute nor the GRA addresses + negative amounts; this follows the wording of § 97a Abs. 2 S. 1 SGB VI, which sums + the components. + Reference: § 97a Abs. 2 S. 1 SGB VI """ zu_versteuerndes_einkommen_y = ( diff --git a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py index 0a6aa9b2d..1d2409998 100644 --- a/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py +++ b/src/gettsim/germany/sozialversicherung/rente/grundrente/inputs.py @@ -21,14 +21,18 @@ def mean_entgeltpunkte() -> float: @policy_input(start_date="2021-01-01", unit=TTSIMUnit.CURRENCY.PER_MONTH.PER_EHE) -def einkommen_vorjahr_m_ehe() -> float: +def einkommen_vorvorjahr_m_ehe() -> float: """Income of the couple relevant for the Grundrentenzuschlag (§ 97a SGB VI). The sum of the zu versteuerndes Einkommen, the steuerfreier Teil of pensions, and the capital income subject to the Abgeltungsteuer of the person and their spouse - in the previous calendar year, as a monthly amount. + in the calendar year before the previous one (vorvergangenes Kalenderjahr), as a + monthly amount. If no tax assessment exists for that year, the statute uses the + year before it instead (§ 97a Abs. 2 S. 3 SGB VI). - GETTSIM can calculate this input based on the data of the previous calendar year - using the target `('sozialversicherung', 'rente', 'grundrente', - 'einkommen_im_folgejahr_m_ehe')`. + GETTSIM can calculate this input based on the data of that calendar year using the + target `('sozialversicherung', 'rente', 'grundrente', + 'einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m_ehe')`. + + Reference: § 97a Abs. 2 S. 1-3 SGB VI """ diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml index 910b45439..f27a036a2 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_1.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml index a514aaed8..40b8a9a07 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_10.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 492 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 492 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml index 63947d87c..a661016ea 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_11.yaml @@ -42,7 +42,7 @@ inputs: grundrente: bewertungszeiten_monate: - 372 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 516 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml index 9550f3016..b4b4b7a42 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_12.yaml @@ -38,7 +38,7 @@ inputs: grundrente: bewertungszeiten_monate: - 0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 0 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml index 7334a9ba5..ccfbce768 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_2.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml index 03238c1b9..9e852a0b8 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_3.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 420 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 420 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml index 682cd78f1..3de440af9 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_4.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 480 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml index b74e8e8ac..e46a7a7f7 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_5.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 408 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 408 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml index d42f1895a..a13151f3e 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_6.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml index c66a2418d..a7b64e257 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_7.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 1400.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml index 0485276cf..e0b52e893 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_8.yaml @@ -40,7 +40,7 @@ inputs: grundrente: bewertungszeiten_monate: - 300 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2400.0 grundrentenzeiten_monate: - 480 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml index a12d7ca26..0c76e3d4c 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/hh_id_9.yaml @@ -41,7 +41,7 @@ inputs: grundrente: bewertungszeiten_monate: - 552 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 1380.0 grundrentenzeiten_monate: - 552 diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml index 39c9bf854..26842a627 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2021-07-01/married_couple.yaml @@ -51,7 +51,7 @@ inputs: bewertungszeiten_monate: - 300 - 300 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 0.0 - 0.0 grundrentenzeiten_monate: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" index aa0a23d31..c6fbeeac0 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -30,7 +30,7 @@ inputs: basisbetrag_m: - 35.86 - 0.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 3211.25 - 3211.25 outputs: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index ff4db73c2..11e260800 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2022-09-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -24,7 +24,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_y_ehe: + einkommen_vorvorjahr_y_ehe: - 19927.0 wohnort_ost_hh: - false diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml index 807db32e8..74c0e1ee9 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-03-01/alleinstehend_einkommen_unter_unterer_grenze.yaml @@ -24,7 +24,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_y_ehe: + einkommen_vorvorjahr_y_ehe: - 8453.0 wohnort_ost_hh: - false diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" similarity index 96% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" index 7a9a4e13a..51ac9cd1a 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_gemeinsame_kapitalertr\303\244ge.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" @@ -80,6 +80,6 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_y: + einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y: - 1500.0 - 1500.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" similarity index 95% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" index a6b0d7adb..f89de4fe5 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_folgejahr_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" @@ -61,5 +61,5 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_y: + einkommen_für_einkommensanrechnung_im_übernächsten_jahr_y: - 580.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" index c6aa54eac..8a02af096 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -14,7 +14,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2700.0 - 2700.0 provided: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" index 57cb7b565..6954eb14c 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-03-01/alleinstehend_einkommen_\303\274ber_oberer_grenze.yaml" @@ -21,7 +21,7 @@ inputs: grundrente: basisbetrag_m: - 320.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 1800.0 outputs: sozialversicherung: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" similarity index 78% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" index b92e4e046..8e4486068 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_negatives_zve.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" @@ -1,6 +1,9 @@ --- info: - note: '' + note: |- + A negative zu versteuerndes Einkommen offsets the steuerfreier Teil of the pension. + Neither § 97a SGB VI nor the GRA addresses negative amounts; GETTSIM follows the + wording of § 97a Abs. 2 S. 1 SGB VI, which sums the components. precision_atol: 0.01 source: Regression test. inputs: @@ -56,5 +59,5 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_m: + einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m: - 100.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" similarity index 95% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" index 2b3947590..47f598335 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_folgejahr_ohne_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" @@ -73,6 +73,6 @@ outputs: sozialversicherung: rente: grundrente: - einkommen_im_folgejahr_m: + einkommen_für_einkommensanrechnung_im_übernächsten_jahr_m: - 1200.0 - 1210.0 diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" index 236788e2b..295a0c20f 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2025-05-01/alleinstehend_anrechnung_\303\274bersteigt_zuschlag.yaml" @@ -23,7 +23,7 @@ inputs: grundrente: basisbetrag_m: - 101.88 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 1765.08 outputs: sozialversicherung: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" index 93b9b021b..70da86548 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-02-01/ehepaar_gemeinsames_einkommen_\303\274ber_oberer_grenze.yaml" @@ -13,7 +13,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2900.0 - 2900.0 provided: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml index 52693f7eb..b8b464161 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/beide_ehegatten_mit_zuschlag.yaml @@ -25,7 +25,7 @@ inputs: basisbetrag_m: - 400.0 - 200.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2800.0 - 2800.0 outputs: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml index 78b2962f3..980eb5243 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_ohne_einkommen.yaml @@ -26,7 +26,7 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2000.0 - 2000.0 outputs: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml index 45840ae0a..26a2ebdd5 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatten_dauernd_getrennt_lebend.yaml @@ -25,7 +25,7 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2400.0 - 2400.0 outputs: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_zwischen_den_grenzen.yaml similarity index 93% rename from src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml rename to src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_zwischen_den_grenzen.yaml index fb199edcb..758207a99 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehegatte_mit_negativem_einkommen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-03-01/ehepaar_einkommen_zwischen_den_grenzen.yaml @@ -22,7 +22,7 @@ inputs: basisbetrag_m: - 300.0 - 0.0 - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2500.0 - 2500.0 outputs: diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" index 485d9839b..843a2ec14 100644 --- "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" +++ "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/ehepaar_einkommen_\303\274ber_oberer_grenze.yaml" @@ -22,7 +22,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 2800.0 - 2800.0 outputs: diff --git a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml index 1e8e08bf8..82c9a5ac2 100644 --- a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml +++ b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2026-05-01/verwitwet_einkommen_zwischen_den_grenzen.yaml @@ -19,7 +19,7 @@ inputs: sozialversicherung: rente: grundrente: - einkommen_vorjahr_m_ehe: + einkommen_vorvorjahr_m_ehe: - 1550.0 outputs: sozialversicherung: From bd3f129164d9f55079bafc1bdb07647ce599d05b Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 14:32:52 +0000 Subject: [PATCH 14/18] Supply the Progressionsvorbehalt inputs in the Grundrente notebook Since #1237 the income tax needs the Lohn- und Einkommensersatzleistungen, Arbeitslosengeld and Elterngeld; the 2024 run also needs wohnort_ost_hh. --- docs/how_to_guides/calculating_grundrente.ipynb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/how_to_guides/calculating_grundrente.ipynb b/docs/how_to_guides/calculating_grundrente.ipynb index d66fbca23..3c5cef60b 100644 --- a/docs/how_to_guides/calculating_grundrente.ipynb +++ b/docs/how_to_guides/calculating_grundrente.ipynb @@ -129,7 +129,9 @@ " \"gesetzliche_m\": np.array([1250]),\n", " \"sonstige_private_vorsorge_m\": np.array([0]),\n", " },\n", + " \"zurückgezahlte_lohn_und_einkommensersatzleistungen_m\": np.array([0]),\n", " },\n", + " \"elterngeld\": {\"betrag_m\": np.array([0.0])},\n", " \"familie\": {\n", " \"alleinerziehend\": np.array([False]),\n", " \"p_id_ehepartner\": np.array([-1]),\n", @@ -143,7 +145,16 @@ " },\n", " \"p_id\": np.array([0]),\n", " \"sozialversicherung\": {\n", - " \"kranken\": {\"beitrag\": {\"privat_versichert\": np.array([False])}},\n", + " \"arbeitslosen\": {\n", + " \"betrag_m\": np.array([0.0]),\n", + " \"insolvenzgeld_m\": np.array([0]),\n", + " \"kurzarbeitergeld_m\": np.array([0]),\n", + " },\n", + " \"kranken\": {\n", + " \"beitrag\": {\"privat_versichert\": np.array([False])},\n", + " \"krankengeld_m\": np.array([0]),\n", + " \"mutterschaftsgeld_m\": np.array([0]),\n", + " },\n", " \"pflege\": {\"beitrag\": {\"hat_kinder\": np.array([True])}},\n", " \"rente\": {\n", " \"altersrente\": {\"betrag_m\": np.array([1250.0])},\n", @@ -155,7 +166,9 @@ " [False]\n", " ),\n", " },\n", + " \"unfall\": {\"verletztengeld_m\": np.array([0])},\n", " },\n", + " \"wohnort_ost_hh\": np.array([False]),\n", "}" ] }, From c34732b8cc3c4f014fb932df7531bd3203496256 Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 14:36:46 +0000 Subject: [PATCH 15/18] Shorten the Grundrente test file names The paths exceeded the Windows path limit when gettsim is cloned into the pixi cache (gettsim-personas CI on Windows). --- ...n_f\303\274r_anrechnung_gemeinsame_kapitalertr\303\244ge.yaml" | 0 .../einkommen_f\303\274r_anrechnung_sparer_pauschbetrag.yaml" | 0 .../einkommen_f\303\274r_anrechnung_negatives_zve.yaml" | 0 .../einkommen_f\303\274r_anrechnung_ohne_zuschlag.yaml" | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_gemeinsame_kapitalertr\303\244ge.yaml" (100%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_sparer_pauschbetrag.yaml" (100%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_negatives_zve.yaml" (100%) rename "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" => "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_ohne_zuschlag.yaml" (100%) diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_gemeinsame_kapitalertr\303\244ge.yaml" similarity index 100% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_gemeinsame_kapitalertr\303\244ge.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_gemeinsame_kapitalertr\303\244ge.yaml" diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_sparer_pauschbetrag.yaml" similarity index 100% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_einkommensanrechnung_kapitalertr\303\244ge_sparer_pauschbetrag.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2023-07-01/einkommen_f\303\274r_anrechnung_sparer_pauschbetrag.yaml" diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_negatives_zve.yaml" similarity index 100% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_negatives_zve.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_negatives_zve.yaml" diff --git "a/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" "b/src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_ohne_zuschlag.yaml" similarity index 100% rename from "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_einkommensanrechnung_ohne_zuschlag.yaml" rename to "src/gettsim/tests_germany/policy_cases/sozialversicherung/rente/grundrente/2024-07-01/einkommen_f\303\274r_anrechnung_ohne_zuschlag.yaml" From 970178999965a4c20f0267f5616bb3b9b9e826c5 Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:05:15 +0000 Subject: [PATCH 16/18] Supply the birth date in the Grundrente notebook Since #1238 the Altersentlastungsbetrag needs geburtsmonat and geburtstag. --- docs/how_to_guides/calculating_grundrente.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/how_to_guides/calculating_grundrente.ipynb b/docs/how_to_guides/calculating_grundrente.ipynb index 3c5cef60b..1ec74b6d8 100644 --- a/docs/how_to_guides/calculating_grundrente.ipynb +++ b/docs/how_to_guides/calculating_grundrente.ipynb @@ -139,6 +139,8 @@ " \"p_id_elternteil_2\": np.array([-1]),\n", " },\n", " \"geburtsjahr\": np.array([1953]),\n", + " \"geburtsmonat\": np.array([3]),\n", + " \"geburtstag\": np.array([15]),\n", " \"kindergeld\": {\n", " \"in_ausbildung\": np.array([False]),\n", " \"p_id_empfänger\": np.array([-1]),\n", From 1e1df568385473f0e44439507b4b4e3517257518 Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:09:31 +0000 Subject: [PATCH 17/18] Relock gettsim-personas at the head of gettsim-personas#63 --- pixi.lock | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/pixi.lock b/pixi.lock index 16b3d2814..d611c5f2d 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1586,7 +1586,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -1876,7 +1876,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2130,7 +2130,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2384,7 +2384,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2639,7 +2639,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -2925,7 +2925,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3210,7 +3210,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3457,7 +3457,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1a/f7/7cd4c9f2a3b7574414222ec425d5eee21cc690d867a013315e3be8ba185c/coverage-7.16.1-cp312-cp312-macosx_10_13_x86_64.whl @@ -3704,7 +3704,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3952,7 +3952,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4243,7 +4243,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4527,7 +4527,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4775,7 +4775,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5023,7 +5023,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5272,7 +5272,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/0e/30/df2f6114f6a17cffe94721bd1d298f77f86aad493717fa5bc03cb291a1a6/coverage-7.16.1-cp313-cp313-win_amd64.whl @@ -5563,7 +5563,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5847,7 +5847,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6095,7 +6095,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/05/ac/a9f131ae07efa8fd7b17961bdcdd5b6a00b0b49480cf66e379fe06459614/simplejson-4.1.2-cp314-cp314-macosx_10_15_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -6343,7 +6343,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -6592,7 +6592,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6883,7 +6883,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/14/fb/94933e00bb3dcfdf66ea3456739c6a51d322353f7cc64fa1f5f660e695ac/nvidia_nccl_cu13-2.31.2-py3-none-manylinux_2_18_x86_64.whl @@ -7195,7 +7195,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1c/b1/1831dd8c9b06c013085d31a2ac4f03392d43bd36bfc6ff591a08bcedc1cf/ml_dtypes-0.6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl @@ -7448,7 +7448,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -7702,7 +7702,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/23/cd/066e86230ae37ed0be70aae89aabf03ca8d9f39c8aea0dec8029455b5540/opt_einsum-3.4.0-py3-none-any.whl @@ -18927,9 +18927,9 @@ packages: - pint<0.27 - ttsim-backend>=1.3.1 requires_python: '>=3.12' -- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#ce6b8a7bcae4a062f0febd405817a3c3a6329e19 +- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 name: gettsim-personas - version: 0.1.dev45+gce6b8a7bc + version: 0.1.dev47+gdd5be89c3 requires_dist: - dags>=0.6 - gettsim>=1.3.1 From 2d052a25b9026903be05b4a6424d912b2e628809 Mon Sep 17 00:00:00 2001 From: MImmesberger <74215010+MImmesberger@users.noreply.github.com> Date: Wed, 18 Nov 2026 21:02:56 +0000 Subject: [PATCH 18/18] Pin gettsim-personas to main again --- pixi.lock | 52 +++++++++++++++++++++++++------------------------- pyproject.toml | 4 ++-- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pixi.lock b/pixi.lock index d611c5f2d..51b360913 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1586,7 +1586,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -1876,7 +1876,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2130,7 +2130,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2384,7 +2384,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -2639,7 +2639,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -2925,7 +2925,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3210,7 +3210,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3457,7 +3457,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1a/f7/7cd4c9f2a3b7574414222ec425d5eee21cc690d867a013315e3be8ba185c/coverage-7.16.1-cp312-cp312-macosx_10_13_x86_64.whl @@ -3704,7 +3704,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -3952,7 +3952,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4243,7 +4243,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4527,7 +4527,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -4775,7 +4775,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5023,7 +5023,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5272,7 +5272,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/0d/9e/3edd04a587b77874802dc8607691aad313f0f6458a5fde1bc3eed0e0eed8/optree-0.20.0-cp313-cp313-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/0e/30/df2f6114f6a17cffe94721bd1d298f77f86aad493717fa5bc03cb291a1a6/coverage-7.16.1-cp313-cp313-win_amd64.whl @@ -5563,7 +5563,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -5847,7 +5847,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6095,7 +6095,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.5-h5dbc3f3_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/05/ac/a9f131ae07efa8fd7b17961bdcdd5b6a00b0b49480cf66e379fe06459614/simplejson-4.1.2-cp314-cp314-macosx_10_15_x86_64.whl - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl @@ -6343,7 +6343,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -6592,7 +6592,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl @@ -6883,7 +6883,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/14/fb/94933e00bb3dcfdf66ea3456739c6a51d322353f7cc64fa1f5f660e695ac/nvidia_nccl_cu13-2.31.2-py3-none-manylinux_2_18_x86_64.whl @@ -7195,7 +7195,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/widgetsnbextension-4.0.16-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/zipp-4.1.0-pyhcf101f3_0.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/1c/b1/1831dd8c9b06c013085d31a2ac4f03392d43bd36bfc6ff591a08bcedc1cf/ml_dtypes-0.6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl @@ -7448,7 +7448,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zeromq-4.3.5-h6eb0046_12.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/zstd-1.5.7-hf451053_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/12/9d/3931253e6f3148abf2cbe14830367042a4806b362ea520df2303db188fb9/orjson-3.12.0-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl @@ -7702,7 +7702,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/zeromq-4.3.5-h3a581c9_12.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - pypi: ./ - - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 + - pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 - pypi: git+https://github.com/ttsim-dev/ttsim.git?branch=main#b05a305a525d2e54a7a1f7bfa34b3489e9a400dc - pypi: https://files.pythonhosted.org/packages/12/24/96b041b800d1de465758106353bedc1e682c5671b3a18142e71e67613996/choreographer-1.4.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/23/cd/066e86230ae37ed0be70aae89aabf03ca8d9f39c8aea0dec8029455b5540/opt_einsum-3.4.0-py3-none-any.whl @@ -18927,9 +18927,9 @@ packages: - pint<0.27 - ttsim-backend>=1.3.1 requires_python: '>=3.12' -- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=grundrente-einkommen#dd5be89c3622fc915ca12a2c6f133682f141bea1 +- pypi: git+https://github.com/ttsim-dev/gettsim-personas.git?branch=main#e03e77d9fa278139cc78ad21eea80f7301a113f9 name: gettsim-personas - version: 0.1.dev47+gdd5be89c3 + version: 0.1.dev44+ge03e77d9f requires_dist: - dags>=0.6 - gettsim>=1.3.1 diff --git a/pyproject.toml b/pyproject.toml index cab215de7..a5f184c60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,7 @@ sphinx-automodapi = "*" sphinx-copybutton = "*" [tool.pixi.feature.docs.pypi-dependencies] gettsim = { path = ".", editable = true } -gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "grundrente-einkommen" } +gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "main" } [tool.pixi.feature.docs.target.linux-64.tasks] docs = "sphinx-build -T -b html docs docs/_build/html" [tool.pixi.feature.docs.target.osx-64.tasks] @@ -151,7 +151,7 @@ pytest = "*" pytest-cov = "*" pytest-profiling = "*" pytest-xdist = "*" -gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "grundrente-einkommen" } +gettsim-personas = { git = "https://github.com/ttsim-dev/gettsim-personas.git", branch = "main" } [tool.pixi.feature.tests.target.linux-64.tasks] tests = "pytest" unit-exception-baseline = """\