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
medicare_levy appears to be giving wrong result in 2015-16 #50
Comments
Well, somethings awry. But I get $67.16. https://www.ato.gov.au/Calculators-and-tools/Medicare-levy/ |
Ah yeah just redid the medicare calculator and I get $67.16 too - don't know where I got $219.75 from. |
So currently With |
I'll apply a fix to that which I know is wrong, but I stand by the current calculation method. It's possible the ATO calculator is wrong, but I've written to ask why. The discrepancy lies in the reduction due to dependants. The spouse income calculation agrees with the calculator. |
|
Thanks. I don't have a copy of the Guide. I'd be super grateful if you discover why my formula is wrong. |
|
The 2015-16 Budget Paper No. 2 (p. 26 print, p. 42 PDF) says the family threshold for 2015-16 should be 35,261 and the child should be 3238, but the ATO says the threshold is 36,000 (try incomes of $18,000 and $18,000, no children). So it seems the ATO calculator is wrong and not all the unit tests I wrote (using this calculator) can be relied upon. |
Great. That's annoying. I might ask the PBO whether they have a canonical source of inputs and outputs to write unit tests against. |
That'd be swell. You might get more joy.
…On Mon, 20 Feb 2017 at 10:09 am, Thomas McMahon ***@***.***> wrote:
Great. That's annoying. I might ask the PBO whether they have a canonical
source of inputs and outputs to write unit tests against.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHvGDDzE_bELBsrDITGbEyiXcnoZxmlsks5reMvDgaJpZM4MBHkr>
.
|
So
grattan::medicare_levy(24000, fy.year = '2015-16', Spouse_income = 28000, n_dependants = 3, family_status = 'family')
returns 0, but according to the ATO calculator it should be $219.75.The text was updated successfully, but these errors were encountered: