Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fix Stage 12 comparison tolerance and UK geography metadata

Chiusa
#701 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start with the Stage 12 result-comparison and UK geography handlers, then trace resolution of the canonical PolicyEngine UK lookup files and the Stage 12 service credentials. Add unit tests for tolerance and missing-data failures, and deployment-infrastructure validation for access to both lookup objects. Done means valid metadata for both child simulations, explicit failures for missing data, exact artifact digests, and restricted lookup access.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

Stage 12 result comparison currently reports immaterial floating-point differences, while UK report artifacts can omit constituency and local-authority names and coordinates when the canonical lookup files are not resolved.

Scope

  • Compare numeric result values using an absolute tolerance of 0.01 while retaining exact artifact digests.
  • Resolve UK constituency and local-authority names and coordinates from the canonical PolicyEngine UK lookup files.
  • Fail explicitly when required lookup data or output values are missing.
  • Verify that the Stage 12 service credentials can read the two required lookup objects without granting access to unrelated private dataset objects.
  • Add unit tests and deployment-infrastructure validation for these behaviors.

Acceptance criteria

  • Numeric values whose absolute difference is no greater than 0.01 compare as equal.
  • Both Stage 12 child simulations receive valid UK geography output metadata.
  • Missing geography lookup data causes an explicit failure.
  • Automated tests cover the comparison and geography handlers.
  • Deployment validation checks access to both canonical lookup objects.
Lingua principale
Python
Stelle
1
Fork
1
Merge medio
1g 18h
PR unite (30g)
59

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-sim-api

Tutte le issue di PolicyEngine/policyengine-sim-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.