Check the OBBBA tips and overtime window through policyengine-us's in_effect switches at the next engine bump
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
packages/microcosm-build/tests/engine_contract/us/test_us_fiscal_targets.py、特に test_obbba_no_tax_channels_are_absent_from_2024_law_deduction_listsを読んでください。次回のpolicyengine-usのバージョン更新時に、指定された日付で両方のスイッチを確認するようガードを更新し、2025~2028年については控除リストのアサーションを維持し、2024年と2029年については削除してください。更新されたテストが新しいエンジンの動作で成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
PolicyEngine/policyengine-us#10397 ends the tips and overtime deductions after 2028 with two new switches, gov.irs.deductions.tip_income.in_effect and gov.irs.deductions.overtime_income.in_effect. It also names both deductions in deductions_if_itemizing and deductions_if_not_itemizing for every year, so the switches alone set the years.
test_obbba_no_tax_channels_are_absent_from_2024_law_deduction_lists (packages/microcosm-build/tests/engine_contract/us/test_us_fiscal_targets.py) asserts that neither deduction appears in those lists at 2024-01-01 or 2029-01-01. That guard will fail on the first engine bump that reaches #10397.
Nothing breaks today: uv.lock holds policyengine-us at 2.2.1, and test_locked_policyengine_us_pin_guards_the_obbba_window_premise forces any bump to re-run this guard.
The guard's premise survives. After #10397 both variables compute as 0 in 2024 and from 2029, so a neutralize-variable delta in those years stays zero.
What to change at the bump
- Assert the window through the switches: false at 2024-01-01 and 2029-01-01, true at 2025-01-01, 2026-01-01 and 2028-01-01.
- Keep the list-membership assertions for 2025-2028, and drop the ones for 2024 and 2029.
🤖 Generated with Claude Code
- 主要言語
- Python
- スター
- 0
- フォーク
- 6
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 135
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/microcosm のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/microcosm#1220 ·
メンテナーはふだん 1 日以内に返信
-
Update two stale comments about the export-mass reviewed-exclusion register対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
PolicyEngine/microcosm#1108 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
PolicyEngine/microcosm#475 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PolicyEngine/microcosm#1423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
UK: data fixes for the Budget 2026 household measures対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
PolicyEngine/microcosm#1418 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
PolicyEngine/microcosm の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
vllm-project/vllm#64845 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
dekobon/big-code-analysis#1729 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pydantic/pydantic-ai#12091 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100