iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
56 stars 33 forks source link

Apply dates_active decorator to midijob and ges_pflegev #623

Closed hmgaudecker closed 1 year ago

hmgaudecker commented 1 year ago

What problem do you want to solve?

Midijobs were introduced in 2004. There used to be a hacky solution setting the gleitzone to have length zero. With the dates_active machinery, we can make this nicer.

Similar comments apply to ges_pflegev, which was introduced in 1995 and changed its rules in 2005.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.12% :tada:

Comparison is base (2272878) 94.46% compared to head (2b2ebc4) 94.58%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #623 +/- ## ========================================== + Coverage 94.46% 94.58% +0.12% ========================================== Files 49 49 Lines 3037 3123 +86 ========================================== + Hits 2869 2954 +85 - Misses 168 169 +1 ``` | [Files Changed](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics) | Coverage Δ | | |---|---|---| | [...ttsim/social\_insurance\_contributions/arbeitsl\_v.py](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics#diff-c3JjL19nZXR0c2ltL3NvY2lhbF9pbnN1cmFuY2VfY29udHJpYnV0aW9ucy9hcmJlaXRzbF92LnB5) | `100.00% <100.00%> (ø)` | | | [...sim/social\_insurance\_contributions/eink\_grenzen.py](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics#diff-c3JjL19nZXR0c2ltL3NvY2lhbF9pbnN1cmFuY2VfY29udHJpYnV0aW9ucy9laW5rX2dyZW56ZW4ucHk=) | `100.00% <100.00%> (ø)` | | | [...sim/social\_insurance\_contributions/ges\_krankenv.py](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics#diff-c3JjL19nZXR0c2ltL3NvY2lhbF9pbnN1cmFuY2VfY29udHJpYnV0aW9ucy9nZXNfa3JhbmtlbnYucHk=) | `99.26% <100.00%> (-0.74%)` | :arrow_down: | | [...tsim/social\_insurance\_contributions/ges\_pflegev.py](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics#diff-c3JjL19nZXR0c2ltL3NvY2lhbF9pbnN1cmFuY2VfY29udHJpYnV0aW9ucy9nZXNfcGZsZWdldi5weQ==) | `100.00% <100.00%> (ø)` | | | [...tsim/social\_insurance\_contributions/ges\_rentenv.py](https://app.codecov.io/gh/iza-institute-of-labor-economics/gettsim/pull/623?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iza-institute-of-labor-economics#diff-c3JjL19nZXR0c2ltL3NvY2lhbF9pbnN1cmFuY2VfY29udHJpYnV0aW9ucy9nZXNfcmVudGVudi5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

hmgaudecker commented 1 year ago

Implements a bunch of things from #558.