Household size for UBI calculations needs to be parameterized

Đang mở
#758 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

The three household-size parameters (ubi_num_017_mat, ubi_num_1864_mat, ubi_num_65p_mat) are hardcoded in parameters.py. Start by reading how that file loads its values, then check how default_parameters.json is read, and move the three keys into the JSON. Done when the values come from the JSON, the model still runs with the same defaults, and the country-specific estimation step is either implemented or clearly scoped as a follow-up. Ask a maintainer first, since the issue has had no response in about five years.

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

Mô tả

Currently, the following parameters needed to compute household UBI amounts are hardcoded into parameters.py:

  • ubi_num_017_mat
  • ubi_num_1864_mat
  • ubi_num_65p_mat

These parameters should be specified in default_parameters.json. Country-specific models should contain code to estimate these parameter values given country demographic data.

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

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 PSLmodels/OG-Core

Tất cả issue của PSLmodels/OG-Core

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.