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

v2 Modal household functions for every country in the PolicyEngine.py bundle

Đã đóng
#840 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.

  • #842 của @anth-volk — đã đóng, không merge

Đá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
20/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Read the API v2 migration plan for Step 1, group 1C and inspect the executor, versioned v2 Modal application, deployment validation, and version manifest. Implement the household calculation and one Modal function per country in the PolicyEngine.py bundle, then validate each function and record it in the schema version 2 manifest. The linked pull request #842 is already open, so this work appears to be underway.

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

Mô tả

Part of the API v2 migration, Step 1, group 1C (household functions), item 1C-1. This issue tracks the second of two stacked pull requests.

Scope

  • A household calculation in the executor that reproduces the Public API's in-process household calculation (input preparation, simulation construction, requested values and their serialization, warnings, SPM selection and receipt, error codes and messages), so v2 results can be compared with the Public API's.
  • One Modal household function per country in the PolicyEngine.py bundle, calculate_household_{country}, in the versioned v2 Modal application, sized for large households and axes requests. Each invocation calculates one household under one or more policies.
  • Deployment validation that calls each household function, and the v2 version manifest (schema version 2) recording each validated household function.

Nothing calls the new functions yet; the entrypoint household submit and poll routes come later (group 2B).

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

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.