Skip to content

Finish explicit local US dataset support - #773

Closed
MaxGhenis wants to merge 6 commits into
codex/us-local-unmanaged-runtimefrom
codex/2427-policyengine-py-pr761-draft-allow-explicit-local-us-data
Closed

MaxGhenis wants to merge 6 commits into
codex/us-local-unmanaged-runtimefrom
codex/2427-policyengine-py-pr761-draft-allow-explicit-local-us-data

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Fixes #760

This follow-up to #761 was written by a Codex cloud task for Max. No session owns this follow-up yet.
It merges current main, preserves the US country identifier in local provenance, rejects directories before construction, and verifies mixed-period HDF5 input with the installed US and Core packages. It also repairs the Hugging Face transport tests and clarifies the API and changelog.

  • Ruff 0.17.6 formatting and lint, the changelog check, and the agent-notes check passed. All 55 focused tests passed.
  • The three-worker Linux suite recorded 4,930 passes. All 25 release-lock cases passed on a rerun with public PyPI access. The interrupted US scoping case passed on its own. The JSON-LD and file-permission checks passed in a supplemental run.
  • Four UK qualification cases also failed on main while attempting to reach a private release index. Credentialed release verification, population-data checks, and the other Python and platform combinations remain unverified.

Opened by a Codex cloud task (queue file 2427-policyengine-py-pr761-draft-allow-explicit-local-us-data).

juaristi22 and others added 6 commits November 23, 2026 14:48
The national build uk-frs-calibration-attempt-20261122T100732Z-b891aa69 and
the local-area build uk-local-candidate-f100-s42-20261123T075147Z-7081d968,
both from PolicyEngine/microcosm#1687 and each pinned in its build folder at
the hub commit that published it, certified by one certify-data run with
--model-version 2.179.2. The lock moves policyengine-uk alone; the TROs, the
certified test constants and the changelog fragment move with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only the UK model surface's count buckets move: parameters 50 to 51
hundreds, variables 14 to 15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2179c

Certify the Microcosm UK pair built on policyengine-uk 2.179.2
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Closing: #761 carries this change as commit da6a4cb. The round 2 review of #761 at 968af61 compared this PR's commit (0b92a591d..ce66e4235) with the branch: all six files are there, and none of this commit's behaviour was lost. Further work continues on #761.

@MaxGhenis MaxGhenis closed this Dec 1, 2026
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.

2 participants