Skip to content

Refresh UK release bundle to policyengine-uk 2.88.40#387

Draft
anth-volk wants to merge 1 commit into
mainfrom
codex/uk-bundle-2-88-40
Draft

Refresh UK release bundle to policyengine-uk 2.88.40#387
anth-volk wants to merge 1 commit into
mainfrom
codex/uk-bundle-2-88-40

Conversation

@anth-volk
Copy link
Copy Markdown
Contributor

Fixes #386

Summary

  • Refresh the bundled UK release manifest to policyengine-uk==2.88.40 while preserving the certified policyengine-uk-data==1.55.10 dataset artifact.
  • Mark the UK bundle certification as legacy_compatible_model_package because the data artifact was built with policyengine-uk==2.88.20 but is now certified for 2.88.40.
  • Add scripts/validate_release_bundle.py for targeted bundle-refresh validation and update AI-facing release-bundle guidance to require it before broad pytest.
  • Update manifest/model metadata tests and add a Towncrier fragment.

Validation

  • uv run --extra dev ruff check scripts/validate_release_bundle.py
  • env POLICYENGINE_SKIP_COUNTRY_IMPORTS=1 uv run --extra dev python scripts/validate_release_bundle.py --country uk --expected-model-version 2.88.40 --expected-data-version 1.55.10 --expected-built-with-model-version 2.88.20 --expected-compatibility-basis legacy_compatible_model_package

Note: I also attempted the US validator path, but stopped it after the US wrapper import stayed slow locally. The new script supports US, but the end-to-end local validation completed for the updated UK bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refresh UK release bundle and require targeted bundle validation

1 participant