Enhanced disability premium property test never draws a Kingston claimant with highest-rate DLA care below the top amount
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
調査の方向性
test_enhanced_disability_premium_properties.py と enhanced_disability_premium.yaml から始めます。issue によると、これらは main にも存在します。プロパティテストがどのように請求者を生成し、oracle と照合するかを読み、その後 dla_care_highest_part_amount を使った固定の Kingston の例を追加します。すべての年についてその例が oracle と照合され、説明されている条件の入れ替えを検出できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In Kingston upon Thames, meets_council_tax_reduction_enhanced_disability_premium_condition reads is_enhanced_disabled_for_benefits. Unless the inputs supply that flag, its formula needs DLA care of at least 52 times the highest weekly rate. has_highest_dla_sc_award also holds for any positive amount in the HIGHER category, and for an amount no more than £1 a week below the top rate.
With has_highest_dla_sc_award in place of the flag in Kingston's condition, all four tests in test_enhanced_disability_premium_properties.py passed at #2808's head b99e8c594 (K4 in the mutation check). The generator can draw a Kingston claimant with dla_care_highest_part_amount, the HIGHER category at £1,000 a year, who holds the award without the amount, but none of the eight derandomized examples does. Case 25 of enhanced_disability_premium.yaml failed under the swap, because it enters the flag for a claimant with enhanced PIP daily living and no DLA. main at 8a8354fb6 carries the same test file, YAML and variables.
A fixed Kingston example with dla_care_highest_part_amount, which the test checks against its oracle in every year, would catch the swap.
- 主要言語
- Python
- スター
- 53
- フォーク
- 34
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 269
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-uk のほかの issue
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's Pension対応中かも @juaristi22 が 8 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine-uk#2792 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
PolicyEngine/policyengine-uk#2896 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PolicyEngine/policyengine-uk#2894 ·
メンテナーはふだん 2 日以内に返信
-
Scottish Budget 2027-28: Scottish property income rates, council tax growth and a freeze switch, Bands I and J, and missing Scottish payments対応中かも @vahid-ahmadi が 5 日前に担当しました。 オープン
PolicyEngine/policyengine-uk#2891 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
January 2027 price cap: kWh, a mains gas flag and tariff parameters, the cap's consumption basis, and Northern Ireland対応中かも @vahid-ahmadi が 5 日前に担当しました。 オープン
PolicyEngine/policyengine-uk#2890 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
PolicyEngine/policyengine-uk の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
django-cms/djangocms-frontend#413 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NanmiCoder/MediaCrawler#1004 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
facebookresearch/xformers#1417 ·
-
question
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
vllm-project/vime#524 ·
メンテナーはふだん 7 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
FinanceFlash/unvibecode#675 ·
メンテナーはふだん 1 日以内に返信