Apply New York's age-65 route to noncitizens who fail on immigration status alone

未关闭
#11,215 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
backend

调研方向

Start in policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py, where the New York age-65 term (lines 28-50) tests only UNDOCUMENTED. Read the lawfully_residing parameter YAML files and immigration_statuses.yaml to see which statuses fail only on immigration status. Done means a New York 2025 test aged 70 returns eligible for a two-year permanent resident and for a TPS holder. Wait for #11128 on DACA and check Social Services Law 122(1) first.

由索引模型根据 Issue 内容生成。

描述

At PolicyEngine/policyengine-us#11130's head 735542eb87, New York's age-65 term in is_medicaid_immigration_status_eligible tests UNDOCUMENTED alone. Social Services Law 366(1)(g)(4)(a) covers applicants aged 65 or older who would qualify for medical assistance "but for their immigration status".

So in the model these New Yorkers aged 70 fail every route:

  • A permanent resident two years after entry fails the federal test inside the five-year bar, and the age-65 term.
  • A TPS holder fails the federal test and the age-65 term. New York's lawfully residing option reaches TPS holders only under 21 or during pregnancy.
  • A DACA recipient fails too; #11128 covers DACA.

For pregnancy and for children under 21, New York's lawfully residing option already passes every status on its list. Choice 2 of #11130's description keeps the narrower reading.

Possible fix

Once #11128 settles New York's rules for DACA recipients, extend the age-65 term to the statuses that fail only on immigration status. Check each group against Social Services Law 122(1) first.

Test cases

New York 2025, aged 70, otherwise eligible:

  • a permanent resident two years after entry: is_medicaid_immigration_status_eligible true;
  • a TPS holder: is_medicaid_immigration_status_eligible true.
主要语言
Python
星标
178
派生
224
平均合并
2 天 7 小时
30 天内合并 PR
296

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PolicyEngine/policyengine-us 的其他 Issue

查看 PolicyEngine/policyengine-us 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。