Enhanced disability premium property test never draws a Kingston claimant with highest-rate DLA care below the top amount
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Bắt đầu với test_enhanced_disability_premium_properties.py và enhanced_disability_premium.yaml, mà theo issue cũng có trên main. Đọc cách property test tạo các nguyên đơn và kiểm tra họ với oracle, rồi thêm một ví dụ Kingston cố định sử dụng dla_care_highest_part_amount. Hoàn thành khi ví dụ được kiểm tra với oracle trong mọi năm và phát hiện được việc hoán đổi điều kiện đã mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In Kingston upon Thames, meets_council_tax_reduction_enhanced_disability_premium_condition reads is_enhanced_disabled_for_benefits. Unless the inputs supply that flag, its formula needs DLA care of at least 52 times the highest weekly rate. has_highest_dla_sc_award also holds for any positive amount in the HIGHER category, and for an amount no more than £1 a week below the top rate.
With has_highest_dla_sc_award in place of the flag in Kingston's condition, all four tests in test_enhanced_disability_premium_properties.py passed at #2808's head b99e8c594 (K4 in the mutation check). The generator can draw a Kingston claimant with dla_care_highest_part_amount, the HIGHER category at £1,000 a year, who holds the award without the amount, but none of the eight derandomized examples does. Case 25 of enhanced_disability_premium.yaml failed under the swap, because it enters the flag for a claimant with enhanced PIP daily living and no DLA. main at 8a8354fb6 carries the same test file, YAML and variables.
A fixed Kingston example with dla_care_highest_part_amount, which the test checks against its oracle in every year, would catch the swap.
- Ngôn ngữ chính
- Python
- Star
- 53
- Fork
- 34
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 269
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/policyengine-uk
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's PensionCó thể đã có người làm @juaristi22 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine-uk#2792 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
PolicyEngine/policyengine-uk#2896 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-uk#2894 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Scottish Budget 2027-28: Scottish property income rates, council tax growth and a freeze switch, Bands I and J, and missing Scottish paymentsCó thể đã có người làm @vahid-ahmadi đã nhận 5 ngày trước. Đang mở
PolicyEngine/policyengine-uk#2891 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
January 2027 price cap: kWh, a mains gas flag and tariff parameters, the cap's consumption basis, and Northern IrelandCó thể đã có người làm @vahid-ahmadi đã nhận 5 ngày trước. Đang mở
PolicyEngine/policyengine-uk#2890 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-uk
Issue tương tự
-
question
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
vllm-project/vime#524 ·
Maintainer thường phản hồi trong vòng 7 ngày
-
WOPI editor page is scrollable by a few pixels, which breaks scrolling in the document (Firefox)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
suitenumerique/drive#969 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
no retries on HTTP 5xx errorsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
theupdateframework/python-tuf#3044 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
FAIRmat-NFDI/pynxtools#861 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NVIDIA/nsight-python#88 ·
Maintainer thường phản hồi trong vòng 1 ngày