-
Notifications
You must be signed in to change notification settings - Fork 1
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
Namespaces #15
Namespaces #15
Conversation
Two somewhat related questions about the CI setup:
|
While the PR is not quite ready for review (missing docstrings, linter issues), I'd appreciate some feedback about the current implementation since it slightly differs from the proposal:
Other than that, the current implementation seems to offer the requested functionality. To get the build working here, I also need some input to #15 (comment). |
Janoś is travelling today, so let me quickly reply that this simply has been neglected with 99.9% probability. The best thing would be to just copy the estimagic setup (nearly identical to GETTSIM), adding 3.11 to the matrix. |
Excellent, great work as always! I only had a quick glance, but that whetted my appetite to take a deeper look 😄 Not possible right now, unfortunately.
I am afraid we'll need that. Take GETTSIM as an example. There are perfectly sensible applications where you need only a couple of targets instead of the dozens (hundreds?) it can potentially produce. In that case, your number of required inputs typically also decreases by the same order of magnitude. For a convenience function returning the required inputs, not much is gained from sifting through dozens of lines vis a vis potentially using flat names with typos / a nested dict with a wrong structure.
Great idea.
Makes sense. Thanks again! |
The |
Codecov Report
@@ Coverage Diff @@
## main #15 +/- ##
==========================================
+ Coverage 96.46% 97.71% +1.24%
==========================================
Files 8 10 +2
Lines 453 699 +246
==========================================
+ Hits 437 683 +246
Misses 16 16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
The whole CI setup in dags is a bit outdated. Back then we used tox to set up environments with multiple python versions, now we do that directly in GitHub actions. We usually follow these guidelines for supported Python version. Thus currently we would need 3.9 to 3.11. I think we should separate the CI update from this PR. So I suggest you now just remove 3.7 and 3.8 (and maybe add 3.11). The rest can be done later. |
Regarding the pre-commits: I exclude |
for more information, see https://pre-commit.ci
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.
Did not make it all the way through, but what I saw looked great!
Just a couple of clarifications/misunderstandings at this point.
Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
The changes you've requested so far should be integrated now. |
|
Summary of Changes
Implement namespaces as described in #14.
Tasks
concatenate_functions_tree
create_input_structure_tree
target
parameter toconcatenate_functions_tree