policyengine-uk 2.52.1__py3-none-any.whl → 2.53.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of policyengine-uk might be problematic. Click here for more details.
- policyengine_uk/variables/household/demographic/is_disabled_for_benefits.py +13 -1
- {policyengine_uk-2.52.1.dist-info → policyengine_uk-2.53.0.dist-info}/METADATA +1 -1
- {policyengine_uk-2.52.1.dist-info → policyengine_uk-2.53.0.dist-info}/RECORD +5 -5
- {policyengine_uk-2.52.1.dist-info → policyengine_uk-2.53.0.dist-info}/WHEEL +0 -0
- {policyengine_uk-2.52.1.dist-info → policyengine_uk-2.53.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,4 +14,16 @@ class is_disabled_for_benefits(Variable):
|
|
|
14
14
|
"dla",
|
|
15
15
|
"pip",
|
|
16
16
|
]
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
p_claims_lcwra_if_on_pip_dla = 0.8
|
|
19
|
+
p_claims_lcwra_if_not_on_pip_dla = 0.13
|
|
20
|
+
|
|
21
|
+
random_seed = random(person)
|
|
22
|
+
|
|
23
|
+
on_qual_benefits = add(person, period, QUALIFYING_BENEFITS) > 0
|
|
24
|
+
|
|
25
|
+
return np.where(
|
|
26
|
+
on_qual_benefits,
|
|
27
|
+
random_seed < p_claims_lcwra_if_on_pip_dla,
|
|
28
|
+
random_seed < p_claims_lcwra_if_not_on_pip_dla,
|
|
29
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: policyengine-uk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.53.0
|
|
4
4
|
Summary: PolicyEngine tax and benefit system for the UK.
|
|
5
5
|
Project-URL: Homepage, https://github.com/PolicyEngine/policyengine-uk
|
|
6
6
|
Project-URL: Repository, https://github.com/PolicyEngine/policyengine-uk
|
|
@@ -1203,7 +1203,7 @@ policyengine_uk/variables/household/demographic/is_benunit_head.py,sha256=71ZUlt
|
|
|
1203
1203
|
policyengine_uk/variables/household/demographic/is_blind.py,sha256=AWadKUcP_UYc_ZACpYMOKwRcGBCR1V1_RXYS4UgPrW4,259
|
|
1204
1204
|
policyengine_uk/variables/household/demographic/is_carer_for_benefits.py,sha256=kDs-rGII5n2KQesgSCNrhfsG2dWlFyZcciyGVq6fkPI,324
|
|
1205
1205
|
policyengine_uk/variables/household/demographic/is_child.py,sha256=O34xV7eIFnobt-1RH0Z1noi9Z3tm8nD-7Fe7-MUD-CQ,272
|
|
1206
|
-
policyengine_uk/variables/household/demographic/is_disabled_for_benefits.py,sha256=
|
|
1206
|
+
policyengine_uk/variables/household/demographic/is_disabled_for_benefits.py,sha256=hJmlm9Zy0D4Ie-aUdxtwgltpp8OpYmOvn_QF3yplmF0,830
|
|
1207
1207
|
policyengine_uk/variables/household/demographic/is_eldest_child.py,sha256=2jUNxUQkR_bBApfVquZw-HaG6fy5lwKxc9Y81plXCVI,521
|
|
1208
1208
|
policyengine_uk/variables/household/demographic/is_enhanced_disabled_for_benefits.py,sha256=bIaBuJyEd4PNhWFnBGnX5cbGlkS3gM6SKDuj4s7xT40,453
|
|
1209
1209
|
policyengine_uk/variables/household/demographic/is_female.py,sha256=4r6_9iL01TrbAMVHoBdzM4JxYHa9v9ZvOVyZe5aW_3k,346
|
|
@@ -1387,7 +1387,7 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
|
|
|
1387
1387
|
policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
|
|
1388
1388
|
policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
|
|
1389
1389
|
policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
|
|
1390
|
-
policyengine_uk-2.
|
|
1391
|
-
policyengine_uk-2.
|
|
1392
|
-
policyengine_uk-2.
|
|
1393
|
-
policyengine_uk-2.
|
|
1390
|
+
policyengine_uk-2.53.0.dist-info/METADATA,sha256=-kXsAiFqG1qpcQFlhI7kakfoHjCZNNZA-9zENg0zoUY,3995
|
|
1391
|
+
policyengine_uk-2.53.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
1392
|
+
policyengine_uk-2.53.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
1393
|
+
policyengine_uk-2.53.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|