PolicyEngine / policyengine-uk

The UK's only open-source static tax-benefit microsimulation model.
https://policyengine.github.io/policyengine-uk/
GNU Affero General Public License v3.0
29 stars 27 forks source link

Create policy parameter for share of pension contributions subtracted from JSA applicable income #140

Open MaxGhenis opened 3 years ago

MaxGhenis commented 3 years ago

This is currently hard-coded to 0.5:

https://github.com/PSLmodels/openfisca-uk/blob/7426a3b3434a8d2204d19af40e21df49729bebda/openfisca_uk/variables/finance/benefit/family/JSA_income.py#L111-L114

MaxGhenis commented 3 years ago

This also shows up in housing benefit:

https://github.com/PSLmodels/openfisca-uk/blob/7426a3b3434a8d2204d19af40e21df49729bebda/openfisca_uk/variables/finance/benefit/family/housing_benefit.py#L129-L132

Perhaps the deductible pension contributions could be its own variable, based on the policy parameter.

nikhilwoodruff commented 3 years ago

Yep I agree. There's also a lot of places where variable formulas could do with a bit more abstraction (applicable income for benefits, many other places).