You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The policyengine.py certification tool can't certify a UK build published into its own folder #1762
tools/certify_uk_cut_in_policyengine_py.py reads a UK national build's manifest only at a Hugging Face tag (--national-tag), builds hf://dataset/<repo>@<tag>/releases/<release>/release_manifest.json, and checks build.cut_tag. Since #1537 (2026-11-09), UK builds are published into releases/<release>/<build>/ folders listed in releases.json, with no tag and no cut_tag. The tool reached main through #1405, whose branch never contained #1537, and it has not been run since.
policyengine/populace-uk-private now has releases.json at main, and policyengine.py (PolicyEngine/policyengine.py#683) refuses any tagged manifest from a repository that has one. So the tool can't certify any UK build today. policyengine.py's current UK pair was certified by hand from build folders (PolicyEngine/policyengine.py#766).
Other parts of the tool that assume tags:
the regional route --dense-tag, and --keep-regional-release, which finds no dense tag in a build-folder URI and so skips the regional build's model check and the accepted-mismatch audit;
the regional microdata download, which requires each artifact's revision (build-folder manifests have none);
the certified-constant rewrite, which must also move the local-area build's commit;
the changelog fragment name, the branch's writer check and the resume check.
Change
Take the national build by name (--national-build), and the local-area build (--dense-build) the same way. For each, check that releases.json at main lists it and has not withdrawn it, pin it at the commit that published its folder (or one the operator names with --national-data-commit / --dense-data-commit), and hand policyengine.py's certify-data the build-folder manifest URI that PolicyEngine/policyengine.py#683 accepts. Tags are no longer accepted.
Activity