Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Preserve household weight fuel uprating#407

Merged
MaxGhenis merged 1 commit into
mainfrom
fix-fuel-uprating-household-weight
May 20, 2026
Merged

Preserve household weight fuel uprating#407
MaxGhenis merged 1 commit into
mainfrom
fix-fuel-uprating-household-weight

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • restore the pre-fuel-change household_weight uprating row; the row currently on main came from the failed fuel release build and inflated population calibration
  • compute petrol/diesel proxy indices against the household-weight row actually used by the dataset build
  • add a storage regression test pinning the restored household-weight row

Tests

  • uv run ruff format policyengine_uk_data/tests/test_road_fuel_volume_uprating.py
  • uv run ruff check policyengine_uk_data/utils/uprating.py policyengine_uk_data/tests/test_road_fuel_volume_uprating.py
  • uv run --frozen pytest policyengine_uk_data/tests/test_road_fuel_volume_uprating.py policyengine_uk_data/tests/test_population_fidelity.py policyengine_uk_data/tests/test_child_limit.py -q

@MaxGhenis MaxGhenis force-pushed the fix-fuel-uprating-household-weight branch from ac2a8a8 to 09c9807 Compare May 20, 2026 18:22
@MaxGhenis MaxGhenis force-pushed the fix-fuel-uprating-household-weight branch from 09c9807 to b8e3560 Compare May 20, 2026 18:26
@MaxGhenis MaxGhenis merged commit b4d6011 into main May 20, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the fix-fuel-uprating-household-weight branch May 20, 2026 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant