Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

UK economy runs fail for every constituency, local authority and Northern Ireland

オープン
#858 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
api, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
Python
スター
1
フォーク
1
平均マージ
1日 21時間
マージ済み PR(30日)
57

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine-sim-api のほかの issue

PolicyEngine/policyengine-sim-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。