Skip to content

Conversation

@MImmesberger
Copy link
Collaborator

@MImmesberger MImmesberger commented Apr 9, 2025

Closes #842 and #837

@MImmesberger MImmesberger changed the title Fix #856 and #837 Fix #842 and #837 Apr 9, 2025
@MImmesberger MImmesberger requested a review from hmgaudecker April 9, 2025 09:17
Copy link
Collaborator

@hmgaudecker hmgaudecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one tiny renaming suggestion!

@MImmesberger MImmesberger merged commit b81b5bd into fix-833 Apr 9, 2025
1 of 7 checks passed
@MImmesberger MImmesberger deleted the einnahmen-einkuenfte branch April 9, 2025 12:28
@hmgaudecker hmgaudecker changed the title Fix #842 and #837 Einnahmen / Einkünfte: Fix #842 and #837 Apr 12, 2025
hmgaudecker added a commit that referenced this pull request Apr 12, 2025
This is a huge PR, which started innocently as a fix to #833.

In the end, it turned out to be very difficult to change things locally,
so in the process of the intense sprint during the week 7-12 April 2025, 
this ended up including the following:
- Updated type hierarchy (`TTSIMObject` as basic building block,
`PolicyInput` and `TTSIMFunction` inheriting from that, `TTSIMFunction`
has further subclasses for policy, aggregation, ...).
- Further separation of tests in ttsim / _gettsim. Including Middle
Earth Taxes an Transfers SIMulator METTSIM as tiny example for the
ttsim-side of tests (#856) and sensible structure for `_gettsim_tests`
(#858)
- Sensible treatment of Einnahmen / Einkünfte (#862)
- Specify rounding in a dataclass to be provided in the decorators
rather than referencing the yaml files from there (#859)
- Improve structure for AggregationSpecs, including an Enum for the type
of Aggregations (#860)

---------

Co-authored-by: Hans-Martin von Gaudecker <[email protected]>
Co-authored-by: Marvin Immesberger <[email protected]>
Co-authored-by: Marvin Immesberger <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants