Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Fix Stage 12 comparison tolerance and UK geography metadata

Cerrado
#701 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
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

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

Descripción

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.
Lenguaje dominante
Python
Estrellas
1
Forks
1
Merge medio
1 d 18 h
PR fusionados (30 d)
59

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-sim-api

Todos los issues de PolicyEngine/policyengine-sim-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.