Follow up on unmanaged US runtime certification and edge cases

Abierto
#762 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend, testing

Línea de trabajo

Start by reviewing the second full review of #761 at commit 5f51b00 and the follow-up commit 21bf0a3, then inspect the managed US entrypoints and country constructor paths discussed in F3 and F6. Check the existing runtime tests and CI on #761, and review the native_input_period handling and changelog for F7. Done when the follow-ups are addressed while preserving the stated certification, provenance, and schema-v1 constraints.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The second full review of #761 at 5f51b00 left these follow-ups after resolving the two P1 findings. Commit 21bf0a3 addresses the receipt and development-runbook wording findings and clarifies that the empty-file error applies to an empty HDF5 root.

  • F3 (P2): managed US entrypoints can request the remote data-release manifest repeatedly during one call chain when an offline request fails. The fetch cache retains successful responses, not exceptions. A network recovery can also change the recorded compatibility basis between calls. The review demonstrated latency and basis-consistency concerns, with no wrong result or certificate. Any improvement must preserve fresh installed/loaded-version and data-build checks; consider reuse within a call chain rather than weakening certification.
  • F6 (P3): with allow_unmanaged=True, a local directory reaches the country constructor before the later certification check. Consider refusing non-file local paths earlier. The existing path still requires certification before emitting certified provenance.
  • F7 (P3): clarify the accepted string representation of native_input_period, the meaning of managed_by alongside data_selection="explicit_local_unmanaged", and the changelog classification of the new native-period feature. The integer 2017 currently differs from the declared string "2017".

Preserve explicit local US provenance with certified_by=None, UK certification behavior, and the schema-v1 restriction to UK execution receipts. Keep verification of #761's current installed-runtime tests and CI on the PR; this issue does not establish their completion.

Lenguaje dominante
Python
Estrellas
8
Forks
10
Merge medio
1 d 22 h
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/policyengine.py

Todos los issues de PolicyEngine/policyengine.py

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.