-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add more parameter types to Parameters
#1387
Conversation
@alanlujan91 should this change be reflected in other parts of the code like, say, Line 95 in 6a73c4f
|
Not sure this needs a test? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1387 +/- ##
==========================================
+ Coverage 71.53% 71.69% +0.15%
==========================================
Files 83 84 +1
Lines 13938 13939 +1
==========================================
+ Hits 9971 9993 +22
+ Misses 3967 3946 -21 ☔ View full report in Codecov by Sentry. |
@MridulS is there a way for |
There is pre-commit.ci but it makes changes to the PR branch and you need to make sure the contributors are pulling in all changes before making any new changes locally. I would just strongly suggest to new contributors to use pre-commit locally :) |
well, somehow my pre-commit is different than the one in github actions?? @MridulS |
MAC hates me. And I hate it too. Will come back to this when that's merged |
This PR was blocked by some unrelated logistical thing. Can this be fixed and merged now? |
I'll try to look at this in the morning. I thought it still had a
(non-trivial) outstanding issue.
…On Tue, Jun 25, 2024, 7:38 PM Sebastian Benthall ***@***.***> wrote:
This PR was blocked by some unrelated logistical thing.
Now its only conflict is the CHANGELOG.
Can this be fixed and merged now?
—
Reply to this email directly, view it on GitHub
<#1387 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKRAFPECECNYOSMUO6NPCLZJH5QVAVCNFSM6AAAAABDV3AKYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQGIYDOMZUHE>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
GitHub is hanging on its automatic merge check. I'm trying to get this in now. |
I have been playing with the
core.Parameters
class and really like it. One limitation is that it restricts the class of parameters that can be time-varying. This PR adds support for a few more classes: booleans, distributions, and functions.You can imagine passing time-varying parameters of this class if, for instance you want:
retired = True | False
for some meaningful change in its income process.I have used this class in my ongoing work and have been very happy with it.