Goal
Add runtime metadata to policyengine-uk so bundle tooling can identify the country package, its data-build fingerprint, and the exact installed policyengine-core runtime used with it.
This is part of the broader PolicyEngine bundle system, where a bundle release should be able to validate the exact package set used for reproducible simulations.
Context
policyengine-core now exposes dependency-free runtime metadata. policyengine-uk should include that core identity in its own metadata so the bundle generator can verify that the selected UK model package and selected core package agree.
Acceptance criteria
- Expose
get_runtime_metadata() from policyengine_uk.build_metadata.
- Include
name, version, git_sha, data_build_fingerprint, and core.
- Keep
get_data_build_metadata() working for existing callers.
- Keep
policyengine-bundles out of runtime dependencies.
- Add a test-only bundle contract validation job.
- Raise the
policyengine-core floor to a version containing get_runtime_metadata().
Goal
Add runtime metadata to
policyengine-ukso bundle tooling can identify the country package, its data-build fingerprint, and the exact installedpolicyengine-coreruntime used with it.This is part of the broader PolicyEngine bundle system, where a bundle release should be able to validate the exact package set used for reproducible simulations.
Context
policyengine-corenow exposes dependency-free runtime metadata.policyengine-ukshould include that core identity in its own metadata so the bundle generator can verify that the selected UK model package and selected core package agree.Acceptance criteria
get_runtime_metadata()frompolicyengine_uk.build_metadata.name,version,git_sha,data_build_fingerprint, andcore.get_data_build_metadata()working for existing callers.policyengine-bundlesout of runtime dependencies.policyengine-corefloor to a version containingget_runtime_metadata().