policyengine-uk 2.41.3__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.
@@ -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
@@ -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 35, can only claim shared if without children:
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 < 35)
45
+ & (eldest_adult_age_in_hh < p.shared_accommodation_age_threshold)
44
46
  & ~has_children
45
47
  )
46
48
  return select(
@@ -5,6 +5,12 @@ 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
+
8
14
  ## [2.41.3] - 2025-07-24 13:53:51
9
15
 
10
16
  ### Fixed
@@ -2010,6 +2016,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2010
2016
 
2011
2017
 
2012
2018
 
2019
+ [2.41.4]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.3...2.41.4
2013
2020
  [2.41.3]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.2...2.41.3
2014
2021
  [2.41.2]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.1...2.41.2
2015
2022
  [2.41.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.41.0...2.41.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-uk
3
- Version: 2.41.3
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
@@ -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=RQtKZapNcHmJgRMDZvUeN1WPO3qs9jFmpaNoA2t52Xs,3741
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.3.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=WUPxoboZaT8uQ8KNRlu20cdu1sMPjxkZKiON2Ki0chs,58039
1372
- policyengine_uk-2.41.3.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1373
- policyengine_uk-2.41.3.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
1374
- policyengine_uk-2.41.3.dist-info/METADATA,sha256=1sHSTWMHikxKfzxzYenbsJe3HVxJv1qfZxd1ZmA4SBk,3502
1375
- policyengine_uk-2.41.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1376
- policyengine_uk-2.41.3.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1377
- policyengine_uk-2.41.3.dist-info/RECORD,,
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,,