{"push_id":1470279982,"size":1,"distinct_size":1,"ref":"refs/heads/estimate-self-assessment-penalties/change-interest-rate","head":"fc2f2c967b83652694d73e565b4b649321615c76","before":"7da4a387d29bb3a9dc042aee6e2c1b126fd47b34","commits":[{"sha":"fc2f2c967b83652694d73e565b4b649321615c76","author":{"name":"Kelvin Gan","email":"80cd025df02680755871ffc10a22624c746ed388@kelvingan.co.uk"},"message":"Test values with different interest rates\n\nHaving determined values by calculating some values manually, we\nnow have tests to check that our calculator matches these calculations.\n\nThe tests check values before and after the rate change. They also\ncheck the value where the rate is calculated for a period spanning\nacross the moment when the rate changes.\n\nRather than bifurcating based on dates, we map\nthrough a date range and calculate the interest\non each day. We also abstract the condition\non which rate to use into a single place. We only\nneed to do this once, and we also isoate it from\nthe rest of the code. This also means we can\naccommodate for further rate changes in the future\nmore easily.","distinct":true,"url":"https://api.github.com/repos/alphagov/smart-answers/commits/fc2f2c967b83652694d73e565b4b649321615c76"}]}
{"actor":{"display_login":"chao-xian"}}