Update the UK lsr functionality
@vahid-ahmadi がすでに取り組んでいます。
2025年10月7日 から。
評価
この issue はまだ評価されていません。
説明
Problem:
The UK behavioral response toggle in the PolicyEngine app was not working because the API wasn't calling apply_dynamics() when behavioral response parameters were present in reforms. This meant that labor supply adjustments were being ignored, and users weren't seeing the intended behavioral effects of policy changes.
Solution:
Added automatic detection of behavioral response parameters (gov.simulation.labor_supply_responses.income_elasticity and substitution_elasticity) in the API. When these parameters are present in a UK household calculation request, the API now automatically calls simulation.apply_dynamics(year) to enable behavioral adjustments before calculating results.
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- 平均マージ
- 15時間 10分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-sim-api のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
PolicyEngine/policyengine-sim-api#674 · コメント 3 件 ·
PolicyEngine/policyengine-sim-api の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·