Accept the withheld-area code lists on UK local-area breakdown results before any executor sends them
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 67/100
調査の方向性
Issueで参照されている契約とgatewayのgolden OpenAPIを読み、その後、ローカルエリア別内訳の結果のシリアライズを調べてください。契約とOpenAPIに、保留されたコード用の2つの任意フィールドを追加してください。リストがない結果では両方のキーが省略され、空のリストは引き続き存在することを確認してください。Issueにはテスト名もファイルパスも記載されていないため、契約定義をもとに該当するシリアライズテストを見つけてください。
索引モデルが issue の本文から書いたものです。
説明
Part of #968.
Problem
#968 adds two optional fields to a UK local-area breakdown result (kind: local_areas): constituency_withheld_codes and local_authority_withheld_codes.
A push to main deploys the versioned executor before the stable gateway: in simulation-deploy.reusable.yml, deploy_gateway needs deploy_executor. The deployed gateway's contract rejects unknown keys. If one deploy both added the fields to the contract and had the executor fill them, the gateway would report every breakdown that finished between those two steps as failed.
What should happen
Deploy the change in two steps:
- The contract and the gateway accept the two fields, and no executor sends them. The executor redeployed in this step carries the new contract while the old gateway still serves, so a result that doesn't report the lists must leave both keys out of its JSON rather than write
null. - The executor fills them, in #975, once step 1 is deployed.
Done when
- The contract has both optional fields, and the gateway's golden OpenAPI lists them.
- A breakdown result without the lists dumps with the same keys as before.
- An empty list (
[]) is kept in the dump.
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 78
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-sim-api のほかの issue
-
Update policyengine to 6.7.3再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 半日 初心者へのやさしさ 70/100
PolicyEngine/policyengine-sim-api#823 ·
メンテナーはふだん 1 日以内に返信
-
Integration tests fail due to missing UV virtual environment setup対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
PolicyEngine/policyengine-sim-api#314 ·
メンテナーはふだん 1 日以内に返信
-
Calculate budget windows on the v2 economy path対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PolicyEngine/policyengine-sim-api#981 ·
メンテナーはふだん 1 日以内に返信
-
Run whole economy reports on v2 in the Simulation Entrypoint対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PolicyEngine/policyengine-sim-api#973 ·
メンテナーはふだん 1 日以内に返信
-
Return a client error for simulation years the model cannot project its dataset to対応中かも @anth-volk が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
PolicyEngine/policyengine-sim-api#969 ·
メンテナーはふだん 1 日以内に返信
PolicyEngine/policyengine-sim-api の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#147104 ·
メンテナーはふだん 1 日以内に返信
-
premises-missing
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
WingedGuardian/GENesis-AGI#3801 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Document new required `shared-org-key` input for `obs-aw-dependency-review`対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: inductor oncall: pt2 topic: fuzzer triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 4 日以内に返信