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
The CI workflow uploads data to policyengine/policyengine-uk-data-private (Hugging Face), but policyengine-uk downloads from the public repo policyengine/policyengine-uk-data.
This means that when new data is built and uploaded via CI (e.g., PR #220 adding salary sacrifice imputation), it goes to the private repo but isn't accessible to users of policyengine-uk.
Problem
The CI workflow uploads data to
policyengine/policyengine-uk-data-private(Hugging Face), butpolicyengine-ukdownloads from the public repopolicyengine/policyengine-uk-data.This means that when new data is built and uploaded via CI (e.g., PR #220 adding salary sacrifice imputation), it goes to the private repo but isn't accessible to users of
policyengine-uk.Details
Upload script (
upload_completed_datasets.py:16-18):Download source in policyengine-uk (
policyengine-uk/simulation.py:109):Impact
Microsimulation()downloads from the public repoVerification
After clearing the HF cache and re-downloading, the data is unchanged:
This confirms the public repo wasn't updated.
Suggested Fix
Either:
upload_completed_datasets.pyto upload topolicyengine/policyengine-uk-data(the public repo that policyengine-uk downloads from)policyengine-ukto download frompolicyengine/policyengine-uk-data-private(would require HF token authentication)