policyengine-uk 2.41.2__py3-none-any.whl → 2.41.4__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.
- policyengine_uk/parameters/gov/dwp/LHA/shared_accommodation_age_threshold.yaml +12 -0
- policyengine_uk/variables/gov/dwp/BRMA_LHA_rate.py +2 -2
- policyengine_uk/variables/gov/dwp/LHA_category.py +4 -2
- {policyengine_uk-2.41.2.data → policyengine_uk-2.41.4.data}/data/share/openfisca/openfisca-country-template/CHANGELOG.md +14 -0
- {policyengine_uk-2.41.2.dist-info → policyengine_uk-2.41.4.dist-info}/METADATA +1 -1
- {policyengine_uk-2.41.2.dist-info → policyengine_uk-2.41.4.dist-info}/RECORD +10 -9
- {policyengine_uk-2.41.2.data → policyengine_uk-2.41.4.data}/data/share/openfisca/openfisca-country-template/LICENSE +0 -0
- {policyengine_uk-2.41.2.data → policyengine_uk-2.41.4.data}/data/share/openfisca/openfisca-country-template/README.md +0 -0
- {policyengine_uk-2.41.2.dist-info → policyengine_uk-2.41.4.dist-info}/WHEEL +0 -0
- {policyengine_uk-2.41.2.dist-info → policyengine_uk-2.41.4.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
description: Age threshold below which single adults without children can only claim shared accommodation rates under LHA
|
2
|
+
values:
|
3
|
+
2013-04-01: 35
|
4
|
+
metadata:
|
5
|
+
period: year
|
6
|
+
unit: year
|
7
|
+
label: LHA shared accommodation age threshold
|
8
|
+
reference:
|
9
|
+
- title: The Housing Benefit Regulations 2006 - Schedule 4 - Paragraph 28
|
10
|
+
href: https://www.legislation.gov.uk/uksi/2013/376/schedule/4/paragraph/28
|
11
|
+
- title: LHA shared accommodation rate guidance
|
12
|
+
href: https://www.gov.uk/government/publications/local-housing-allowance-rates-applicable-from-april-2013
|
@@ -24,10 +24,10 @@ class BRMA_LHA_rate(Variable):
|
|
24
24
|
)
|
25
25
|
category = benunit("LHA_category", period).decode_to_str()
|
26
26
|
|
27
|
-
from policyengine_uk.parameters.gov.dwp.
|
27
|
+
from policyengine_uk.parameters.gov.dwp.LHA import lha_list_of_rents
|
28
28
|
|
29
29
|
parameters = benunit.simulation.tax_benefit_system.parameters
|
30
|
-
lha = parameters.gov.dwp.
|
30
|
+
lha = parameters.gov.dwp.LHA
|
31
31
|
|
32
32
|
# We first need to know what time period to collect rents from. If LHA is frozen, we need to look earlier
|
33
33
|
# than the current time period.
|
@@ -36,11 +36,13 @@ class LHA_category(Variable):
|
|
36
36
|
household.max(person("age", period))
|
37
37
|
)
|
38
38
|
has_children = benunit.any(person("is_child", period))
|
39
|
-
# Households with only one adult, if under
|
39
|
+
# Households with only one adult, if under age threshold, can only
|
40
|
+
# claim shared if without children:
|
40
41
|
# https://www.legislation.gov.uk/uksi/2013/376/schedule/4/paragraph/28
|
42
|
+
p = parameters(period).gov.dwp.LHA
|
41
43
|
can_only_claim_shared = (
|
42
44
|
(num_adults_in_hh == 1)
|
43
|
-
& (eldest_adult_age_in_hh <
|
45
|
+
& (eldest_adult_age_in_hh < p.shared_accommodation_age_threshold)
|
44
46
|
& ~has_children
|
45
47
|
)
|
46
48
|
return select(
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [2.41.4] - 2025-07-24 14:41:02
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Parameterize age 35 threshold in LHA shared accommodation rules
|
13
|
+
|
14
|
+
## [2.41.3] - 2025-07-24 13:53:51
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- change LHA param name
|
19
|
+
|
8
20
|
## [2.41.2] - 2025-07-24 10:30:43
|
9
21
|
|
10
22
|
### Fixed
|
@@ -2004,6 +2016,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
2004
2016
|
|
2005
2017
|
|
2006
2018
|
|
2019
|
+
[2.41.4]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.3...2.41.4
|
2020
|
+
[2.41.3]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.2...2.41.3
|
2007
2021
|
[2.41.2]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.1...2.41.2
|
2008
2022
|
[2.41.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.0...2.41.1
|
2009
2023
|
[2.41.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.40.2...2.41.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: policyengine-uk
|
3
|
-
Version: 2.41.
|
3
|
+
Version: 2.41.4
|
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
|
@@ -137,6 +137,7 @@ policyengine_uk/parameters/gov/dwp/LHA/__init__.py,sha256=YMNgG4e3yHHtoJ6hpx5Zuz
|
|
137
137
|
policyengine_uk/parameters/gov/dwp/LHA/freeze.yaml,sha256=WtWomrgei1cmzRMX6PS71L_8GpXAF4wG5VNUmXV1agY,207
|
138
138
|
policyengine_uk/parameters/gov/dwp/LHA/lha_list_of_rents.csv.gz,sha256=SVaiCl5aBL5aAKvWuEHSm5baJ8pTnlIt1XBTcDESCgI,853159
|
139
139
|
policyengine_uk/parameters/gov/dwp/LHA/percentile.yaml,sha256=TtPLtgck3uJxlrk9PX2R9Ytk9lVkSU4GkCYEKCPE7Ds,247
|
140
|
+
policyengine_uk/parameters/gov/dwp/LHA/shared_accommodation_age_threshold.yaml,sha256=-j8Nz-vTFpTclX-l-oGGsAkad4cQmIvYqUFHbFLqDjw,568
|
140
141
|
policyengine_uk/parameters/gov/dwp/LHA/means_test/earn_disregard.yaml,sha256=qOLXvpxZT0fvI1WV_NKinNJHqeGQ5tQ_Fa07v_ly-kA,319
|
141
142
|
policyengine_uk/parameters/gov/dwp/LHA/means_test/income_disregard_couple.yaml,sha256=obyu1DC6rNUptV8jP-RFcQwYM87X88fwSM36X50YURU,350
|
142
143
|
policyengine_uk/parameters/gov/dwp/LHA/means_test/income_disregard_lone.yaml,sha256=SLUyYWo5NNnJEbREMRJcGqE6WF9L1hkkrdtqLRcKRzw,360
|
@@ -761,7 +762,7 @@ policyengine_uk/variables/gov/dhsc/admitted_patient/admitted_patient_visits.py,s
|
|
761
762
|
policyengine_uk/variables/gov/dhsc/admitted_patient/nhs_admitted_patient_spending.py,sha256=imlt4k8AdKwH8EiyIild3E6NdUaI8TJ5U57qbHwDyIQ,338
|
762
763
|
policyengine_uk/variables/gov/dhsc/outpatient/nhs_outpatient_spending.py,sha256=q1FL7JPTAGIb0uJbNcCp9nJTPPpta8LJ5wuzcAK09wg,320
|
763
764
|
policyengine_uk/variables/gov/dhsc/outpatient/outpatient_visits.py,sha256=KdTZwq8JumDHoxq9oK-VAibexxEjXQ6KxfLC6BPxmqM,262
|
764
|
-
policyengine_uk/variables/gov/dwp/BRMA_LHA_rate.py,sha256=
|
765
|
+
policyengine_uk/variables/gov/dwp/BRMA_LHA_rate.py,sha256=korWE8r3J_tiYyGc7nbWarqO_jy8W1L22zMLnXhl09U,2069
|
765
766
|
policyengine_uk/variables/gov/dwp/CTC_child_element.py,sha256=6m9Mpql9FDSWQndgB0IPS2TVbXF8aLxdrMQ7Dr6cLrY,1000
|
766
767
|
policyengine_uk/variables/gov/dwp/CTC_disabled_child_element.py,sha256=st4fgA-0fwLxhFxd3xgkxDCvUSfSfNMO8ihCh-5W31c,825
|
767
768
|
policyengine_uk/variables/gov/dwp/CTC_family_element.py,sha256=p0hpeOSXftML95tfKGLWRUgYEuCfqDqt705tuO_kab8,462
|
@@ -769,7 +770,7 @@ policyengine_uk/variables/gov/dwp/CTC_maximum_rate.py,sha256=ocg678wah0U8MwhNLbc
|
|
769
770
|
policyengine_uk/variables/gov/dwp/CTC_severely_disabled_child_element.py,sha256=nbqsoi7GJLH6lXT8iAEqp_Q9JxldefpyItmH-wgDdTc,958
|
770
771
|
policyengine_uk/variables/gov/dwp/LHA_allowed_bedrooms.py,sha256=ZebexoeCZRCDHl7pRbcqojCUfszxYhWlkeA9zzVMS1s,2333
|
771
772
|
policyengine_uk/variables/gov/dwp/LHA_cap.py,sha256=hDRReKCaRwiXwsjM7hvQsSqiO9qzNaENf3WQNPjcla8,548
|
772
|
-
policyengine_uk/variables/gov/dwp/LHA_category.py,sha256=
|
773
|
+
policyengine_uk/variables/gov/dwp/LHA_category.py,sha256=Wi8UPJkcfCIBNLFF1_B2PJwtUiNNwOLKkM4dsQSxJzg,3839
|
773
774
|
policyengine_uk/variables/gov/dwp/LHA_eligible.py,sha256=bjBmNtzrCbf6RjbnkjM4ulpJ7wyw_gNSJ5yuV5-ZK5c,679
|
774
775
|
policyengine_uk/variables/gov/dwp/WTC_basic_element.py,sha256=6NGKcTK8-t269DgDJ57U2xsmME_t-TAC9GkvJ1BOqSQ,450
|
775
776
|
policyengine_uk/variables/gov/dwp/WTC_childcare_element.py,sha256=5pmPVtnrMgmJfSFA6XZoQgwalI4ZXna8ZHmqkJbSLys,883
|
@@ -1368,10 +1369,10 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
|
|
1368
1369
|
policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
|
1369
1370
|
policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
|
1370
1371
|
policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
|
1371
|
-
policyengine_uk-2.41.
|
1372
|
-
policyengine_uk-2.41.
|
1373
|
-
policyengine_uk-2.41.
|
1374
|
-
policyengine_uk-2.41.
|
1375
|
-
policyengine_uk-2.41.
|
1376
|
-
policyengine_uk-2.41.
|
1377
|
-
policyengine_uk-2.41.
|
1372
|
+
policyengine_uk-2.41.4.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=vTt8gN2BJL3QHkt0Z2U1oyxzb9JjXZGTbGofm7wFfQA,58231
|
1373
|
+
policyengine_uk-2.41.4.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
1374
|
+
policyengine_uk-2.41.4.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
|
1375
|
+
policyengine_uk-2.41.4.dist-info/METADATA,sha256=Q3jX47KdRTZPPf-fEIC6oaLZW6Cnq4AJhOSWsOAJWKE,3502
|
1376
|
+
policyengine_uk-2.41.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
1377
|
+
policyengine_uk-2.41.4.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
1378
|
+
policyengine_uk-2.41.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|