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 economy runs fail for every constituency, local authority and Northern Ireland

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

Hướng nghiên cứu

Start with the simulation worker logs around 2026-10-20 18:35 UTC, using the listed correlation IDs to trace the failing runs; the issue says the API logs the failure under policyengine-api but the cause is in the worker. Compare failing local authority, constituency and Northern Ireland runs with successful UK and other country runs. Done means all listed regions complete successfully; the national poverty and decile anomalies are noted as possibly related.

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

Mô tả

Problem

UK economy runs fail for every constituency, every local authority and Northern Ireland. UK-wide, England, Scotland and Wales work.

GET https://api.policyengine.org/uk/economy/85546/over/1?region=<region>&time_period=2026 (reform 85546 = personal allowance £15,000; baseline 1 = current law) goes from computing to:

status: error
Simulation entrypoint execution failed: Simulation failed (correlation_id=…)
Region Result correlation_id
constituency/Aldershot error df65c1f709ba4940a331e879287da0aa
constituency/Sheffield Central error 1eb1afc87df7…
local_authority/Manchester error 36479a66c0d04d8dbf905511bca173b3
local_authority/Hartlepool error 60902c792bdd…
country/ni error 4515124b93a44395869ac05d6737df2e
uk, country/england, country/scotland, country/wales ok

Times: around 2026-10-20 18:35 UTC (the API logs the failure under policyengine-api; the cause is in the simulation worker).

Impact

Every local-level UK report and every Northern Ireland report fails, in app v2 (production, UK) and app v3.

Possibly related

The UK national result (policyengine-simulation-py6-5-0, model 2.130.1, data policyengine-uk-data 1.58.1) also has values that look wrong:

  • deep_poverty.all ≥ poverty.all (UK 14.9% vs 16.4%; Scotland 17.0% vs 16.1%; Wales 20.2% vs 19.3%), so the deep poverty measure looks wrong.
  • Wales: income decile 1 is empty (all intra_decile shares and the average are 0).
  • decile.relative and wealth_decile.relative are ×100 (#827).
Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
60

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.