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

UK replay gate: a data-limited inert measure blocks certification of every pe-uk release after #2241

Đang mở
#653 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

@MaxGhenis đang làm issue này rồi.

Từ ngày 17/10/2026.

  • #654 của @MaxGhenis — đang mở

Đá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
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Start with qualification.py and the scorecard replay path for autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp, using the cited replay-state receipts as the initial reproduction. Trace how integrity failures and budget_inputs evidence are recorded, then locate the policy configuration for d1344-replay-regressions-v2. Done means the specified reviewed, code/event/measure/year-matched exceptions are narrowly applied only while every required input is missing, with matched regressions remaining review items rather than passes.

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

Mô tả

No policyengine-uk release after policyengine-uk#2241 can be certified, even by a named reviewer.

What happens. #2241 (merged 15 October) correctly stops charging property stocks as purchases. SDLT higher rates now apply to additional_residential_property_purchased, which no uk-data release provides yet (the imputation is policyengine-uk-data#573). So on candidates 2.134.6 and 2.134.7 (with uk-data 1.58.2), the scorecard replay of autumn_budget_2024__sdlt_additional_dwelling_surcharge_2pp is inert for 2025–2029: base £2.50bn in 2029 under the old bug, head £0. Those 5 construction_inert rows are the receipts' only integrity failures (replay-state receipts b989d471…, 71e40ada…). The same attempts' budget_inputs gate reports the input as newly missing.

Why nothing can qualify. qualification.py fails every receipt whose integrity failed. Under the d1344 rule, a failure can't be accepted on review, and a known gap never excuses a £0 total against a material base value.

Proposed change. Add narrow, receipt-recorded data-limited exceptions:

  • a reviewed registry entry matched by code, event, measure key and year;
  • it applies only while the same attempt's budget_inputs evidence reports every required input missing, so it expires once the data provides them;
  • matched regressions become review items, never a pass;
  • the policy moves to d1344-replay-regressions-v2.
Ngôn ngữ chính
Python
Star
8
Fork
10
Merge trung bình
21 giờ 34 phút
Pull request đã merge (30 ngày)
45

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.py

Tất cả issue của PolicyEngine/policyengine.py

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.