Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#858 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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 天 16 小时
30 天内合并 PR
60

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PolicyEngine/policyengine-sim-api 的其他 Issue

查看 PolicyEngine/policyengine-sim-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。