Defined Benefits pension system not handling parameters object sizes correctly

Đang mở
#1,014 1 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
40/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start with the defined benefits functions in pensions.py, which compute pension amounts and do not yet handle the time-varying earnings ability and retirement age dimensions added in PRs #895 and #433. Read those two PRs to see how the new parameter arrays are shaped, then check how the SS and TPI solvers call the pension functions. Done means the pension functions accept the new dimensions, and SS and TPI tests run a model with each pension system.

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

Mô tả

bug

The defined benefits system functions have not been updated for at least two time varying parameters: earnings ability and retirement age. Time varying earnings ability was added in PR #895. Time varying retirement age was added in PR #433.

The pensions.py functions used for computing defined benefits pension amounts should be updated and tested to work with these new dimensions.

The bug here also suggests new tests: SS and TPI tests should include model runs with each pension system.

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.