-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: update disability max weekly benefit #70
Conversation
@verbman I updated the existing rate. I'm not sure if that's right way. I thought about adding a new period with value as well. |
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.
There's a few things going on here, firstly the rate is wrongly applied as it does need to be date based like the others, the file itself isn't in the correct location (along with some others that predate the structure as it's been adopted). I'd be happy to tidy this up over the next few days as a new PR as it's somewhat convoluted.
If you're wanting to take it further I'd recommend checking the https://github.com/digitalaotearoa/openfisca-aotearoa/blob/main/openfisca_aotearoa/parameters/social_security/child_disability_allowance/base.yaml file as a starter to see where to get the dates and amounts. Note that this does require more than just a copy and replace as sometimes rates aren't all changed at the same time. |
309eba2
to
6e500bf
Compare
@verbman It would be great if you tide this up. I will wait your PR.
I think that social_security/disability_allowance/base.yaml and social_security/child_disability_allowance/base.yaml are part of the same legislation. Their content is correct. I updated the disability allowance benefit formula in social_security/disability_allowance/disability_allowance.py and deleted disability_allowance/max_weekly_benefit.yaml. Let me know what you think. If this is wrong then I will wait you PR. |
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.
Nice work, good to get this inconsistency tidied up
openfisca_aotearoa/parameters/disability_allowance/max_weekly_benefit.yaml
These changes (remove lines which are not relevant to your contribution):