policyengine-uk
policyengine-uk copied to clipboard
Keep only adds or formula in household_benefits
As required by new policyengine-core, this has a formula and adds
https://github.com/PolicyEngine/policyengine-uk/blob/b9f48c16e4d0ef76f175314a3a19aac56fd9fbfb/policyengine_uk/variables/household/income/benefit.py#L52
Also
https://github.com/PolicyEngine/policyengine-uk/blob/b9f48c16e4d0ef76f175314a3a19aac56fd9fbfb/policyengine_uk/variables/gov/hmrc/tax.py#L14
Let's use adds and reforms as needed. Switching to a formula would result in it not decomposing in the app. See https://github.com/PolicyEngine/policyengine-us/issues/3851
See https://github.com/PolicyEngine/policyengine-us/pull/3972 for an example of a PR that applies reforms for these conditional lists