Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Check the OBBBA tips and overtime window through policyengine-us's in_effect switches at the next engine bump

オープン 初心者向け
#1,431 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/microcosm のほかの issue

PolicyEngine/microcosm の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。