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

Aperta Adatta ai principianti
#11,084 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
90/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, yaml
Ambito
backend, databases

Direzione di ricerca

Inizia da policyengine_us/variables/gov/states/md/dhs/fia/paa/md_paa_countable_income.py e dal relativo test di riferimento, policyengine_us/tests/policy/baseline/gov/states/md/dhs/fia/paa/md_paa_countable_income.yaml. Leggi la variabile del reddito parentale imputato mensile e il termine mensile esistente relativo al coniuge, poi aggiungi il caso fornito ed esegui quel test. Il lavoro è completato quando i valori del reddito computabile di gennaio e dicembre corrispondono ai valori attesi calcolati a mano.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
178
Fork
224
Merge medio
2g 7h
PR unite (30g)
309

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-us

Tutte le issue di PolicyEngine/policyengine-us

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.