Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Fix missing income requirement in Senior Citizen Tax Freeze screening

Đang mở
#564 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 TaxFreezeIncomeService as a named entry in SCTF's checks context, following the Low-Income Tax Freeze composition pattern. Do not introduce a duplicate income fact, algorithm or threshold table.
  • Add applicantAndSpouseIncome to SCTF's minimal local tSituation; 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-benefit composition 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: null when all other requirements pass. An explicitly empty relationships list establishes the existing single-person route.
  • A known failed requirement still yields isEligible: false even 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).

Ngôn ngữ chính
Java
Star
16
Fork
5
Merge trung bình
15 giờ 42 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeForPhilly/benefit-decision-toolkit

Tất cả issue của CodeForPhilly/benefit-decision-toolkit

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.