Skip to content

Conversation

@hmgaudecker
Copy link
Collaborator

Improve the handling of rounding.

@hmgaudecker hmgaudecker linked an issue Apr 8, 2025 that may be closed by this pull request
@hmgaudecker hmgaudecker requested a review from MImmesberger April 8, 2025 12:03
@MImmesberger
Copy link
Collaborator

I rewrote GEP 5 to a large degree, you should have a look at that. Also, I deleted an entire section from GEP 3 which didn't make sense their (IMHO). Feel free to disagree there.

The implementation works great.

@hmgaudecker hmgaudecker merged commit e09da6d into test-ttsim Apr 9, 2025
1 of 7 checks passed
@hmgaudecker hmgaudecker deleted the rounding-spec-dataclass branch April 9, 2025 08:35
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.

ENH: Move rounding specs to decorator

5 participants