-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEP 6 #471
base: main
Are you sure you want to change the base?
GEP 6 #471
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #471 +/- ##
==========================================
- Coverage 91.31% 91.19% -0.13%
==========================================
Files 48 49 +1
Lines 3225 3315 +90
==========================================
+ Hits 2945 3023 +78
- Misses 280 292 +12 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very promising! A few remarks:
- I like the
dates_active
decorators a lot. I assume they won't be able to handle the renaming of functions (e.g. Arbeitslosengeld II -> Bürgergeld)? - I don't fully understand yet how the input data would look like. Do the columns need to be assigned to name spaces? Do the column names have to be something like
arbeitsl_geld___anwartschaftszeit
and doesn't this break the possibility to call GETTSIM within Stata? - For me it is not yet clear how the new structure would handle the pre-processing of derived parameters (e.g. Soli 1.upper_threshold value is not a parameter #444)
- A disadvantage of the use of namespaces would be that functions would break when moved to a different module. Isn't this very unusal?
Co-authored-by: Christian Zimpelmann <[email protected]>
Co-authored-by: Christian Zimpelmann <[email protected]>
Excellent points, thank you!
Not directly. We should think about whether on top of the Note that this would be for functions within a namespace, Arbeitslosengeld II -> Bürgergeld would actually be at the namespace level. In that case, I can't see a better way than copying the parameter files and explicitly importing functions that can be re-used from the former namespace.
See c1a48f4
See 5c36698
Yes and no. Note the way I wrote it up, namespaces are not at the module, but at the directory level. So if you move a function from, say, |
Thanks for the clarifications and adjustments. I deleted one of your two comments (which were duplicated). |
Co-authored-by: Christian Zimpelmann <[email protected]>
Co-authored-by: Christian Zimpelmann <[email protected]>
for more information, see https://pre-commit.ci
What problem do you want to solve?
This GEP outlines a unified architecture for GETTSIM based on a DAG that encompasses:
in time.
Implementing this structure will make GETTSIM much more flexible and more natural to use
/ extend.