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

オープン 初心者向け
#11,084 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
90/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, yaml
領域
backend, databases

調査の方向性

policyengine_us/variables/gov/states/md/dhs/fia/paa/md_paa_countable_income.pyと、そのベースラインテストであるpolicyengine_us/tests/policy/baseline/gov/states/md/dhs/fia/paa/md_paa_countable_income.yamlから始めます。月次の親の擬制所得変数と、既存の月次の配偶者項を読み、提示されたケースを追加して、そのテストを実行します。1月と12月の算入所得の値が、手計算した期待値と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
178
フォーク
224
平均マージ
2日 7時間
マージ済み PR(30日)
309

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine-us のほかの issue

PolicyEngine/policyengine-us の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。