Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #/home/cpcmonster/bin/assessmentofloss.py
- # Released under a GPLv3 Licence by Clockwork PC 2011
- # www.clockworkpc.com.au
- # You are entitled to the following four freedoms:
- # Freedom 0: To run this program for any purpose
- # Freedom 1: To study how this program works and change it to make it do what you wish
- # Freedom 2: To redistribute copies so you can help your neighbour
- # Freedom 3: To distribute copies of your modified version to others
- preLossNetEarnings = input("What were the pre-loss net earnings? ")
- print ""
- postLossNetEarnings = input("What was the earning capacity reduced to? ")
- print ""
- lostYears = input("How many years of work have been lost? ")
- print "It is agreed that",lostYears,"years of paid work have been lost."
- lossClaim = preLossNetEarnings - postLossNetEarnings
- print "The loss of net earnings is $",lossClaim
- print ""
- positiveContingenciesPercentage = input("What was the percentage increase for positive contingencies? ") * 0.01
- print positiveContingenciesPercentage
- print ""
- positiveContingencies = lossClaim * positiveContingenciesPercentage
- print "The percentage increase in positive contingencies is ", (positiveContingenciesPercentage * 100), "percent, which comes to $", positiveContingencies
- print ""
- negativeContingenciesPercentage = input("What was the percentage decrease for negative contingencies? ") * 0.01
- print negativeContingenciesPercentage
- print ""
- negativeContingencies = lossClaim * negativeContingenciesPercentage
- print "The percentage decrease in negative contingencies is ", (negativeContingenciesPercentage * 100), "percent, which comes to $", negativeContingencies
- print ""
- lossClaimAfterContingencies = lossClaim + positiveContingencies - negativeContingencies
- print "The loss of net earnings after contingencies is $", lossClaimAfterContingencies
- print ""
- s28IReduction = 0.05
- lossClaimAfters28IReduction = lossClaimAfterContingencies - (lossClaimAfterContingencies * s28IReduction)
- print "The reduction stipulated by Section 28I is ",(s28IReduction * 100), "percent, which reduces the loss claim to $", lossClaimAfters28IReduction
- avgWeeklyEarnings = input("What are the average weekly earnings for employees in Victoria? ")
- print ""
- s28FMaxEarnings = avgWeeklyEarnings * 3
- print "The average weekly earnings in Victoria were at the time of the claim $",avgWeeklyEarnings, "which means the ceiling claimable loss of income is $", s28FMaxEarnings
- print ""
- if lossClaimAfters28IReduction >= s28FMaxEarnings:
- lossClaimafters28FMaxEarnings = s28FMaxEarnings
- print "This salary exceeds the ceiling, it will have to be reduced to $", s28FMaxEarnings
- print ""
- elif lossClaimAfters28IReduction < s28FMaxEarnings:
- lossClaimafters28FMaxEarnings = lossClaimAfters28IReduction
- print "This claimable loss of income does not exceed the ceiling stipulated by s28F, so the claimable amount is $",lossClaimAfters28IReduction
- print ""
- print "Just to be clear, the claimable loss of weekly net income at this point is $",lossClaimafters28FMaxEarnings
- disregardAmount = input("How much has been instructed to disregard? ")
- lossClaimAfterdisregardAmount = lossClaimafters28FMaxEarnings - disregardAmount
- print ""
- print "The amount to be disregarded is $",disregardAmount,"which further reduces the claimable loss of income to $",lossClaimAfterdisregardAmount
- annualIncomeLoss = lossClaimAfterdisregardAmount * 52
- print "The annual loss of income is $", annualIncomeLoss
- careerIncomeLoss = annualIncomeLoss * lostYears
- print "The claimable loss of income over the plaintiff's career comes to $",careerIncomeLoss
- print ""
- print "Therefore, the total amount to be awarded is $",careerIncomeLoss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement