Expose the certified dataset SHA-256 and gate production on the served identity
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
PolicyEngine/policyengine-sim-api#314 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.2.7Posiblemente ocupada @policyengine la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
PolicyEngine/policyengine-sim-api#745 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.2.6Posiblemente ocupada @policyengine la tomó hace 2 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 12/100
PolicyEngine/policyengine-sim-api#738 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.2.4Posiblemente ocupada @policyengine la tomó hace 3 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 15/100
PolicyEngine/policyengine-sim-api#736 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.2.3Posiblemente ocupada @policyengine la tomó hace 3 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 15/100
PolicyEngine/policyengine-sim-api#734 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/policyengine-sim-api
Issues similares
-
Consolidate the now-identical CLI-native and composed tasks_packages guards (#5945 follow-up)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
spec-kitty/spec-kitty#6112 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter servedPosiblemente ocupada @Mrun25 la tomó hoy. Abiertobug llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BerriAI/litellm#46095 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
uberdeveloper/fastbt#29 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
andrew-blake/melcloudhome#368 ·
Los mantenedores suelen responder en 1 día
-
lane:discover
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SPARDiffData/differential-data-collection#33 ·
Los mantenedores suelen responder en 1 día