Follow up on unmanaged US runtime certification and edge cases

Đang mở
#762 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
42/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
Lĩnh vực
backend, testing

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
Python
Star
8
Fork
10
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
17

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.py

Tất cả issue của PolicyEngine/policyengine.py

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.