Maryland PAA counts a twelfth of the year's parental deemed income in each month

Đang mở Phù hợp với người mới
#11,084 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 2 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
90/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ệ
python, yaml
Lĩnh vực
backend, databases

Hướng nghiên cứu

Bắt đầu với policyengine_us/variables/gov/states/md/dhs/fia/paa/md_paa_countable_income.py và bài kiểm thử cơ sở tương ứng, policyengine_us/tests/policy/baseline/gov/states/md/dhs/fia/paa/md_paa_countable_income.yaml. Đọc biến thu nhập quy gán hàng tháng của cha mẹ và hạng mục hàng tháng hiện có của vợ/chồng, sau đó thêm trường hợp được cung cấp và chạy bài kiểm thử đó. Hoàn thành khi các giá trị thu nhập được tính vào tháng Một và tháng Mười Hai khớp với các giá trị kỳ vọng được tính thủ công.

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

Mô tả

md_paa_countable_income computes Maryland PAA income by month, but line 39 reads ssi_unearned_income_deemed_from_ineligible_parent, a yearly variable that sums the twelve monthly parental budgets. For a monthly read of a yearly amount, policyengine-core divides the year's total by 12. So each PAA month gets the year's average.

Every other reader takes the month's amount, among them SSI, Kentucky, New Hampshire, Oklahoma and CAPI. The spousal term in the same formula reads the month, and a test pins that.

Maryland's Department of Human Services tests PAA eligibility by month (PAA Manual, section 300.1): "To be eligible for PAA in any month, an individual must" meet the conditions it lists.

A household where the two differ

In Maryland in 2026, a parent earns $3,000 a month. Their 10-year-old receives SSI for a disability, and their 16-year-old, a student, earns $1,000 a month. The student exclusion covers the 16-year-old's wages through September and $730 of October, so the model's allocation for them drops from $497 to $227 in October and to $0 in November, as an existing test shows. After the $20 and $65 exclusions and the parent's $994 allocation, the model deems (3,000 − allocation − 85) / 2 − 994 to the 10-year-old each month:

Months Allocation Deemed PAA countable income on main From the month's amount
January to September 497 215 247.67 195
October 227 350 247.67 330
November and December 0 463.50 247.67 443.50

The year's deemed income comes to $3,212, so main counts $3,212 / 12 − $20 = $247.67 in every month. Both reads give $2,972 for the year.

For a citizen or qualified noncitizen, the model sets PAA to the need less the larger of countable income and the federal SSI amount (md_paa, md_paa_imputed_federal_ssi). So the two reads pay different PAA only in a month where countable income exceeds that amount under at least one of them. Here countable income stays under $994 in every month, so the payment would not change. The model deems parental income only to children under 18, and section 300.7 describes two of PAA's three settings, CARE homes and Rehabilitative Residences, as serving disabled adults, so few PAA cases carry this term.

Fix

Read ssi_unearned_income_deemed_from_ineligible_parent_monthly on line 39. Its annual_input path still spreads a supplied annual amount evenly, so households that supply one keep their result. This case in md_paa_countable_income.yaml, with hand-computed values, would pin it:

- name: Maryland adds the month's income deemed from a parent to that month's PAA income.
  period: 2026
  absolute_error_margin: 0.01
  input:
    people:
      parent:
        age: 40
        person_id: 1
        is_tax_unit_head: true
        employment_income: 36_000
      claimant:
        age: 10
        person_id: 2
        parent_1_id: 1
        is_tax_unit_dependent: true
        is_ssi_disabled: true
        immigration_status: CITIZEN
      sibling:
        age: 16
        person_id: 3
        parent_1_id: 1
        is_tax_unit_dependent: true
        employment_income: 12_000
    tax_units:
      family:
        members: [parent, claimant, sibling]
    marital_units:
      parent_unit:
        members: [parent]
      claimant_unit:
        members: [claimant]
      sibling_unit:
        members: [sibling]
    households:
      home:
        members: [parent, claimant, sibling]
        state_code: MD
  output:
    # (3,000 - allocation - 85) / 2 - 994: the sibling's allocation is 497
    # in January and 0 in December.
    ssi_unearned_income_deemed_from_ineligible_parent_monthly:
      2026-01: [0, 215, 0]
      2026-12: [0, 463.50, 0]
    # Claimant: deemed income less $20. Parent: (3,000 - 85) / 2.
    # Sibling: (1,000 - 85) / 2. One-twelfth of the year's 3,212 would give
    # 247.67 to the claimant in both months.
    md_paa_countable_income:
      2026-01: [1_457.50, 195, 457.50]
      2026-12: [1_457.50, 443.50, 457.50]

Related: #10544 (spouse income in PAA), #10923 (in-kind support in PAA income).

🤖 Generated with Claude Code

Ngôn ngữ chính
Python
Star
178
Fork
224
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
309

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

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 PolicyEngine/policyengine-us

Tất cả issue của PolicyEngine/policyengine-us

Issue tương tự

Thêm issue về Python

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.