Skip to content
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

Update maternity paternity rates for 2017/18 and onwards #2872

Merged

Conversation

ikennaokpala
Copy link
Contributor

@ikennaokpala ikennaokpala commented Jan 8, 2017

Trello card

Motivation

The maternity paternity calculator are going to change on 6th April 2017 as follows:

STATUTORY ADOPTION PAY OLD NEW
Earnings threshold 112.00 113.00
Standard rate 139.58 140.98
STATUTORY MATERNITY PAY OLD NEW
Earnings threshold 112.00 113.00
Standard rate 139.58 140.98
STATUTORY PATERNITY PAY OLD NEW
Earnings threshold 112.00 113.00
Standard rate 139.58 140.98
STATUTORY SHARED PARENTAL PAY OLD NEW
Earnings threshold 112.00 113.00
Standard rate 139.58 140.98

To prepare the public for the coming changes, the maternity paternity calculator smart answer needs to be updated to allow the public get access to new rates.

NB:
Used environment variable from this PR #2412, setting RATES_QUERY_DATE to 2018-04-05

Factcheck

Preview link

Expected changes

URL on GOV.UK

  • Change statutory adoption, maternity, paternity and shared parental pay, earnings threshold from 112.00 to 113.00 and standard rate from 139.58 to 140.98.

Before

screen shot 2017-01-09 at 12 25 29

After

screen shot 2017-01-09 at 12 25 02

@ikennaokpala ikennaokpala force-pushed the maternity-paternity-calculator/april-2016-rate-changes branch from e9726b2 to f0430d7 Compare January 8, 2017 19:02
@ikennaokpala ikennaokpala added needs content review Waiting for a content designer to approve Ready for code review labels Jan 8, 2017
Copy link
Contributor

@chao-xian chao-xian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more of a content issue that I spotted and nothing to do with your code changes, but we can (and probably should) fix this minor inconsistency while we're here: we refer to Statutory Adoption Pay and Statutory Paternity Pay in title case but we refer to statutory maternity pay in lower case. Do you mind clarifying with Content Team please whether these should all be Title Case or lower case please?

@chao-xian
Copy link
Contributor

Just the really minor inconsistency commented above but otherwise code changes LGTM 👍

@ikennaokpala ikennaokpala force-pushed the maternity-paternity-calculator/april-2016-rate-changes branch from f0430d7 to 4f0ffba Compare January 12, 2017 10:31
@ikennaokpala ikennaokpala added Passed code review and removed needs content review Waiting for a content designer to approve Ready for code review labels Jan 12, 2017

Verified

This commit was signed with the committer’s verified signature.
rochacbruno Bruno Rocha
In preparation for the 6th April rates update, this commit replaces
2014/2015 dates with 2017/2018 dates. This is a straight swap &
triggers this generation of new regression test artefacts for
2017/2018 and removal of 2014/2015.

Before this I tried using both sets of dates but the tests took
ages to run. I have decided to make this swap based on test run performance.

I recognised that it appears somewhat confusing, the intent is to
make clear the rate changes that will come after this. These sets
the basis for evaluating the content changes in the commits to
come, as the configuration.yml entry for
maternity-paternity-calculator has been updated to a future date..

Based on the above, I have reviewed the changes to the regression
test artefacts and they appear as expected.

Already existing unit, regression and integration tests passed,
giving assurance that the aforementioned commit/changes have had
no (interfering) effect to other smart answers.
This commit updates the maternity paternity adoption rates for
2017/18 and for the foreseeable future.

I have included the regression test artefacts within to show areas
affected by these changes

Based on the above, I have reviewed the changes to the regression
test artefacts and they appear as expected.

Already existing unit, regression and integration tests passed,
giving assurance that the aforementioned commit/changes have had
no (interfering) effect to other smart answers.
This commit updates the maternity paternity birth rates for
2017/18 and for the foreseeable future.

I have included the regression test artefacts within to show areas
affected by these changes

Based on the above, I have reviewed the changes to the regression
test artefacts and they appear as expected.

Already existing unit, regression and integration tests passed,
giving assurance that the aforementioned commit/changes have had
no (interfering) effect to other smart answers.
This commit updates the maternity paternity standard rate for
2017/18 and for the foreseeable future.

I have included the regression test artefacts within to show areas
affected by these changes

Based on the above, I have reviewed the changes to the regression
test artefacts and they appear as expected.

Already existing unit, regression and integration tests passed,
giving assurance that the aforementioned commit/changes have had
no (interfering) effect to other smart answers.
@ikennaokpala ikennaokpala force-pushed the maternity-paternity-calculator/april-2016-rate-changes branch from 4f0ffba to 39515ee Compare February 17, 2017 14:57
@ikennaokpala ikennaokpala merged commit b157839 into master Feb 17, 2017
@ikennaokpala ikennaokpala deleted the maternity-paternity-calculator/april-2016-rate-changes branch February 17, 2017 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants