Fix missing income requirement in Senior Citizen Tax Freeze screening
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- Java
- Stars
- 16
- Forks
- 5
- Avg merge
- 15h 42m
- Merged PRs (30d)
- 21
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeForPhilly/benefit-decision-toolkit
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
CodeForPhilly/benefit-decision-toolkit#565 ·
Maintainers usually reply within 1 day
-
backend Good for newcomer quick win
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CodeForPhilly/benefit-decision-toolkit#562 ·
Maintainers usually reply within 1 day
-
documentation quick win
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CodeForPhilly/benefit-decision-toolkit#445 ·
Maintainers usually reply within 1 day
-
Make issue templatesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CodeForPhilly/benefit-decision-toolkit#425 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
CodeForPhilly/benefit-decision-toolkit#566 ·
Maintainers usually reply within 1 day
All issues in CodeForPhilly/benefit-decision-toolkit
Similar issues
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variablesPossibly taken @CCCLL claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
hierynomus/sshj#1070 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
intellij-elixir/intellij-elixir#4492 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
quarkiverse/quarkus-openapi-generator#1796 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
quarkiverse/quarkus-jooq#324 ·
Maintainers usually reply within 1 day