Repository navigation
GEP 11: Legal references - #1264
Draft
MImmesberger wants to merge 21 commits into
Draft
MImmesberger wants to merge 21 commits into
MImmesberger wants to merge 21 commits into
Conversation
Proposes a required, machine-readable reference format for policy functions and parameters shipped with GETTSIM and amends GEP 3's reference key accordingly.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem do you want to solve?
Adds a draft of GEP 11, which makes references to the law a required and machine-readable part of the policy functions and parameters shipped with GETTSIM.
§ 66 Abs. 1 EStG idF Art. 6 G. v. 08.12.2022 BGBl. I S. 2230.Reference:section of the docstring. Parameters carry them in thereferencekey of each date entry. Thereferenceof aRoundingSpecfollows the same rules.find_node_by_legal_referenceprovides a lenient reverse lookup by provision and policy date.GEP 3's section on the
referencekey now points to GEP 11, and its examples are updated. Other examples in GEP 3 still use the old reference style and would be updated together with the parameter files. GEP 5 now requires a reference for rounding rules.Replaces #1263 (moved to the
gep-11branch).Todo
Closes #XXXXin the first PR comment to auto-close the relevant issue oncethe PR is accepted. This is not applicable if there is no corresponding issue.