Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Fix Stage 12 comparison tolerance and UK geography metadata

Đã đóng
#701 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
59

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-sim-api

Tất cả issue của PolicyEngine/policyengine-sim-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.