Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- bump: patch
changes:
fixed:
- Dataset uprating bug where region values weren't converted to strings for rent indexing
- Salary sacrifice default behavior to be static (0) instead of fully optimized (1.0)

2 changes: 1 addition & 1 deletion policyengine_uk/data/economic_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def uprate_rent(
elif year < 2025:
# We have regional growth rates for private rent.
regional_growth_rate = growth.ons.private_rental_prices(year)[
region.values
region.values.astype(str)
]
current_year.household["rent"] = np.where(
is_private_rented,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Most employees would optimize their salary sacrifice to avoid NI charges by reducing it to the cap level.
description: The percentage by which employees reduce their salary sacrifice pension contributions in response to the salary sacrifice pension cap.
values:
2010-01-01: 1.0 # Default: full optimization (employees reduce to cap level)
2010-01-01: 0 # Default: full optimization (employees reduce to cap level)
metadata:
unit: /1
label: Employee salary sacrifice reduction rate in response to cap
Expand Down