Fix missing income requirement in Senior Citizen Tax Freeze screening
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by comparing library-api/src/main/resources/benefits/pa/phl/senior-citizen-tax-freeze.dmn with checks/income/tax-freeze-income.dmn and the PhlLowIncomeTaxFreeze composition; confirm the income definition and existing test locations. Then update the SCTF composition, metadata, documentation, and fixtures as described. Done means the boundary, missing-evidence, and existing age-path scenarios pass, along with library compilation and discovery/schema/composition checks.
索引モデルが issue の本文から書いたものです。
説明
Problem
library-api/src/main/resources/benefits/pa/phl/senior-citizen-tax-freeze.dmn currently composes enrollment, owner occupancy, Philadelphia residence and age checks, but does not check income. Its local tSituation also omits applicantAndSpouseIncome.
Consequently, an otherwise qualifying applicant can receive isEligible: true even when their income is unknown or exceeds the program limit. The DMN documentation currently identifies this as partial screening.
Philadelphia requires both age and income eligibility. The official Senior Citizen Tax Freeze guidance lists inclusive total-income limits of $33,500 for a single person and $41,500 for a married couple (source checked 2026-10-17).
Reuse the existing income check
checks/income/tax-freeze-income.dmn already exposes TaxFreezeIncomeService, and PhlLowIncomeTaxFreeze already composes it. It uses the canonical applicantAndSpouseIncome field, primaryPersonId and spouse relationships, with inclusive single/married thresholds and unknown results for missing income or relationship evidence.
- Import and invoke
TaxFreezeIncomeServiceas a named entry in SCTF'scheckscontext, following the Low-Income Tax Freeze composition pattern. Do not introduce a duplicate income fact, algorithm or threshold table. - Add
applicantAndSpouseIncometo SCTF's minimal localtSituation; reuse its existing person/relationship fields. Confirm the current program income definition matches the shared check before composing it. - Add the corresponding knowledge requirement and KIE Tools 10.2 DMNDI shape/edge. Preserve the existing age pathways and the standard
all(checksAsList)aggregation. - Confirm generated OpenAPI input and
x-bdt-benefitcomposition metadata include the income requirement so newly imported builder benefits collect and evaluate it. - Replace the partial-screening descriptions/annotation with accurate documentation after the rule is implemented, and update the shared income check's description that currently says SCTF does not invoke it.
Acceptance criteria and validation
- With other requirements passing, single income at $33,500 passes and income above it fails; married income at $41,500 passes and income above it fails.
- Missing income or unresolved spouse/marital evidence produces an unknown income result and
isEligible: nullwhen all other requirements pass. An explicitly empty relationships list establishes the existing single-person route. - A known failed requirement still yields
isEligible: falseeven if income is unknown. - Existing applicant, spouse and late-spouse age-path fixtures are updated with appropriate income evidence; adding income does not change the age algorithms.
- Existing Low-Income Tax Freeze and reusable TaxFreezeIncome scenarios continue to pass without duplicated rules.
- Bruno benefit tests cover the inclusive boundaries, over-limit and missing-income cases; library compilation/tests and discovery/schema/composition checks pass.
This fixes an existing omission identified during the library documentation migration. Related: #563 (expose DMN documentation and limitations in the builder).
- 主要言語
- Java
- スター
- 16
- フォーク
- 5
- 平均マージ
- 15時間 42分
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeForPhilly/benefit-decision-toolkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
CodeForPhilly/benefit-decision-toolkit#565 ·
メンテナーはふだん 1 日以内に返信
-
backend Good for newcomer quick win
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CodeForPhilly/benefit-decision-toolkit#562 ·
メンテナーはふだん 1 日以内に返信
-
documentation quick win
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CodeForPhilly/benefit-decision-toolkit#445 ·
メンテナーはふだん 1 日以内に返信
-
Make issue templatesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CodeForPhilly/benefit-decision-toolkit#425 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
CodeForPhilly/benefit-decision-toolkit#566 ·
メンテナーはふだん 1 日以内に返信
CodeForPhilly/benefit-decision-toolkit の issue をすべて見る
似ている issue
-
approved
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
checkstyle/checkstyle#22129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
objectionary/lints#1577 ·
メンテナーはふだん 2 日以内に返信
-
ChaosEngine: backup-remote doctor row passes while consumer mode hides bot memory from git対応中かも @MohabMohie が今日担当しました。 オープンagentic
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ShaftHQ/SHAFT_ENGINE#7263 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100