iza-institute-of-labor-economics / gettsim

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

Combined decorator for policy information #720

Closed lars-reimann closed 5 months ago

lars-reimann commented 5 months ago

What problem do you want to solve?

Combine the decorators add_rounding_spec and dates_active into a single decorator policy_info.

Todo

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 99.57983% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 89.46%. Comparing base (df0b4b4) to head (d05c2bc).

Files Patch % Lines
src/_gettsim/shared.py 90.90% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #720 +/- ## ========================================== - Coverage 89.49% 89.46% -0.04% ========================================== Files 51 51 Lines 3637 3615 -22 ========================================== - Hits 3255 3234 -21 + Misses 382 381 -1 ```

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

lars-reimann commented 5 months ago

I've deliberately kept test_dates_active unchanged, since it's more about the mechanism than the name of the decorator.