Follow up on unmanaged US runtime certification and edge cases

Offen
#762 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
backend, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
8
Forks
10
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
17

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus PolicyEngine/policyengine.py

Alle Issues in PolicyEngine/policyengine.py

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.