Expose the certified dataset SHA-256 and gate production on the served identity
Maintainer antworten meist innerhalb von 2 Tagen
Ein zugehöriger Pull Request wurde bereits gemerged.
- #743 von @MaxGhenis — gemerged
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
Start with gateway_models.py, the executor bundle and routing state to trace how the certified default dataset SHA-256 can reach PolicyEngineBundle. Then inspect /versions, cloud-run-simulation-entry-smoke.sh, and the policyengine-release updater. Done means deployed bundle identities are exposed and checked on candidate and promotion, and the updater verifies the dispatch identity against the installed wheel and records the digests in its PR.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
For the UK Autumn Budget (28 October 2026), every number the simulation API serves must be traceable to the exact certified policyengine.py bundle and dataset bytes. Production must also be confirmed to serve that bundle before it counts as ready. Today:
- The public
PolicyEngineBundleschema (gateway_models.py) carries model and data versions but no dataset SHA-256. /versionsreturns route maps only, with no per-bundle identity.- The deploy smoke (
cloud-run-simulation-entry-smoke.sh) checks only that/versionsresponds. - The
policyengine-releaseupdater reads onlyclient_payload.version, so it cannot confirm that the wheel it installs carries the bundle the release certified.
This issue covers the identity half of production readiness:
- Carry the certified default dataset SHA-256 from the installed policyengine.py bundle through the executor bundle, the routing state and
PolicyEngineBundle.dataset_sha256. - Expose each deployed wrapper version's bundle identity on
/versions(bundles). - Have the deploy smoke assert the expected identity:
latestroutes to the deployed policyengine version, with its UK model and dataset SHA-256, on the candidate and after promotion. - Have the updater verify the release dispatch's bundle identity against the installed wheel and record the digests in the PR.
A numerical release sentinel and a tested rollback follow in a separate PR.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 83
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 70/100
PolicyEngine/policyengine-sim-api#823 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Integration tests fail due to missing UV virtual environment setupEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Update policyengine to 6.14.0Evtl. vergeben @policyengine hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 58/100
PolicyEngine/policyengine-sim-api#1010 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Enforce sim.microdata.weight-stripping-confined and delete its empty baselineEvtl. vergeben @anth-volk hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
PolicyEngine/policyengine-sim-api#1008 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Move the rollback workflow's steps into tested scripts and enforce the one-line run: ruleEvtl. vergeben @anth-volk hat das vor 1 Tag übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
PolicyEngine/policyengine-sim-api#1005 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in PolicyEngine/policyengine-sim-api
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
FinanceFlash/unvibecode#509 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
FAIRmat-NFDI/nomad-distro-dev#161 ·
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
modelcontextprotocol/python-sdk#3821 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug severity:low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Log-odds calibration uses upper middle score instead of median for even candidate setsEvtl. vergeben @flysheep-ai hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag