-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
'NewbornTransShk: Option if Newborns get transitory shock' #1126
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1126 +/- ##
=======================================
Coverage 73.95% 73.96%
=======================================
Files 70 70
Lines 10759 10761 +2
=======================================
+ Hits 7957 7959 +2
Misses 2802 2802
Continue to review full report at Codecov.
|
This is neat and passes tests. A minor comment: |
I agree with Mateo - true means they get a shock. Mateo, could you merge this when Adrian revises? |
I'd be happy to, but I don't have merge permissions. |
Just pushed the changes. |
Yes, you just add one short line to the changelog, a bullet point below "minor changes" saying what you did and linking to the PR. These changes would be made in a commit to this same pr. |
This now looks good. Thanks a lot @AMonninger . @llorracc, I do not have the permissions to either approve the remaining tests (workflows?) or merge. |
@AMonninger, for the documentation, you should also add something to the docstring listing the variable as an input and briefly explaining what it does. Once you have done that and it passes all tests, I will merge. |
I added it in the 'get_shocks' function as it is the only function affected by the change. Is this what you meant? |
Yes, I now see you've added a docstring at the right place. However, see the syntax for optional boolean variables used elsewhere (I think you need it to say something like ": Boolean, Optional" to mark it in the documentation as optional. Also, having done that, please rewrite the description accordingly. (See other examples of optional variables for templates). |
Pull request for issue:
Newborns' transitory shocks to income #1125
I added an aditional variable: NewbornTransShk which is by default true. If so, Newborn consumers do NOT get a transitory shock in the first period, only a permanent one.
By setting it 'False' Newborn consumers Do get a transitory shock as well.