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

Replace rich SPM provenance with compact typed receipts

Đã đóng
#3,862 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 2 ngày

@anth-volk đang làm issue này rồi.

Từ ngày 1/10/2026.

  • #3863 của @anth-volk — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
42/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api, backend-api-design

Hướng nghiên cứu

Start by tracing the current rich SPM diagnostic payloads and household and society-wide cache identities. Review the existing API contracts, OpenAPI definitions, documentation, changelog, and tests named in the scope; done means compact typed receipts meet the size limits, old receipts are rejected or recalculated, numeric results remain unchanged, and removed fields are absent.

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

Mô tả

Summary

Replace large country-package SPM diagnostic payloads with strict compact, versioned provenance receipts across household and society-wide API results.

Scope

  • publish typed individual and comparison provenance contracts
  • reduce country-owned rich receipts through typed builders
  • validate adjacent resolved SPM configuration and receipt agreement
  • persist and cache only compact receipts
  • invalidate older household and economy cache identities instead of translating them
  • update OpenAPI, documentation, changelog, and tests

Acceptance criteria

  • compact individual receipts remain under 1 KiB
  • compact 20-segment comparisons remain under 2 KiB
  • old rich receipts are rejected or recalculated
  • household and society-wide numeric results remain unchanged
  • OpenAPI excludes removed diagnostic and mapping fields
Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
22

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

Tất cả issue của PolicyEngine/policyengine-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.