Bump UK bundle to policyengine-uk 2.89.2 / data 1.56.5 (bus variables)#428
Open
vahid-ahmadi wants to merge 1 commit into
Open
Bump UK bundle to policyengine-uk 2.89.2 / data 1.56.5 (bus variables)#428vahid-ahmadi wants to merge 1 commit into
vahid-ahmadi wants to merge 1 commit into
Conversation
Refreshes the certified UK release bundle from policyengine-uk 2.88.20 / policyengine-uk-data 1.55.10 (enhanced_frs_2023_24) to policyengine-uk 2.89.2 / policyengine-uk-data 1.56.5 (enhanced_frs_2024_25). The 2.89.x line adds the `bus_fare_spending` and `bus_subsidy_spending` variables; on 2.88.20 they raise `Variable ... does not exist`, so downstream analyses can't resolve them through the policyengine.py bundle. Data release 1.56.5 was built with model 2.89.2 and carries the calibrated bus columns, so the certification stays a true `exact_build_model_version` and managed simulations return real bus figures (2027: fares ~£4.2bn, subsidy ~£3.6bn). Generated with scripts/refresh_release_bundle.py (manifest, TRO and pyproject pin); uv.lock regenerated. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Why
Latest
policyengine.pybundlespolicyengine-uk==2.88.20, which does not contain thebus_fare_spending/bus_subsidy_spendingvariables (added in the 2.89.x line). Resolving them through the bundle raisesValueError: Variable bus_fare_spending does not exist, blocking any analysis of UK bus fares/subsidy viamanaged_microsimulation.What
Refreshes the certified UK release bundle:
policyengine-ukpolicyengine-uk-dataenhanced_frs_2023_24enhanced_frs_2024_25Data release 1.56.5 was built with model 2.89.2 and carries the calibrated bus columns, so the certification remains a true
exact_build_model_version(built-with == certified-for == 2.89.2), not a compatibility override. Managed simulations now resolve the bus variables and return real figures (2027: fares ~£4.2bn, subsidy ~£3.6bn).How
Generated with the repo's own tool — no hand-edited content-addressed pins:
which rewrote
uk.json, regenerated the TRACE TRO sidecar, and bumped thepyproject.tomlpins;uv.lockregenerated separately.Verification
managed_microsimulation()certifies cleanly andbus_fare_spending/bus_subsidy_spendingresolve onenhanced_frs_2024_25(verified end-to-end).tests/test_bundle_refresh.py+tests/test_certify_data_release.pypass (44 tests).🤖 Generated with Claude Code