Fix private rent target and add social rent calibration target#318
Merged
vahid-ahmadi merged 2 commits intomainfrom Mar 31, 2026
Merged
Fix private rent target and add social rent calibration target#318vahid-ahmadi merged 2 commits intomainfrom
vahid-ahmadi merged 2 commits intomainfrom
Conversation
- Private rent: update from 4.7m England-only renters to 5.4m UK-wide, and from £1,400/mo to ONS PRHI £1,374/mo (~£89bn total) - Social rent: new target from EHS 2023-24 mean £118/wk × 5.0m UK social renters (~£30.7bn total) - Wire up housing/rent_social in compute and loss matrix dispatch - Add unit tests for all housing targets Fixes #317 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #317
Problem
The model produces inflated renter populations and social rent levels (see #317):
The private rent target also used England-only renter counts (4.7m) instead of UK-wide (5.4m).
Changes
Private rent target — corrected
Social rent target — new
RENT_FROM_COUNCILorRENT_FROM_HAtenure typesFiles changed
targets/sources/housing.py: corrected private rent, added social rent targettargets/compute/other.py: handlehousing/rent_socialby filtering to social tenuretargets/build_loss_matrix.py: addhousing/rent_socialto dispatchtests/test_housing_targets.py: unit tests for all housing targetschangelog.d/fixed/317.mdData sources
Test plan