Fix U.S. Code links and notes in the Medicaid federal share and immigration test files

Open
#11,211 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
58/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by grepping for the law.cornell.edu links and the uscode.house.gov view.xhtml URL across medicaid_federal_share.py, is_federal_medicaid_immigration_status_eligible.py, medicaid_federal_share.yaml, test_medicaid_federal_share_invariants.py, bar_exempt_immigration_statuses.yaml, five_year_bar_years.yaml, is_medicaid_immigration_status_eligible.py, child_age_threshold.yaml and student_age_threshold.yaml. Done means the links point to uscode.house.gov, the 'no ages' notes cite 8 U.S.C. 1613(b)(2) and 1612(b)(2)(C), and a New Jersey Cover All Kids test case for 2025 expects medicaid_federal_share 0.

Written by the indexing model from the issue text.

Description

After PolicyEngine/policyengine-us#10950, the Medicaid federal share and federal immigration test files need a few link and documentation fixes. None of them changes a result.

Links

  • #10950 adds 12 links to law.cornell.edu, for 42 U.S.C. 1396b(v) and 8 U.S.C. 1611, 1612(b)(2)(C), 1613 and 1613(b)(2). Three sit in medicaid_federal_share.py, two in is_federal_medicaid_immigration_status_eligible.py, five in medicaid_federal_share.yaml and two in test_medicaid_federal_share_invariants.py. Point them to the House's U.S. Code pages, such as 8 U.S.C. 1613(b)(2).
  • Four files cite https://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim-title8-section1613&num=0&edition=prelim, and the House site now answers that address with "Page Not Found": bar_exempt_immigration_statuses.yaml, five_year_bar_years.yaml, is_federal_medicaid_immigration_status_eligible.py and is_medicaid_immigration_status_eligible.py. Replace it with 8 U.S.C. 1613.

Notes

  • The documentation of is_federal_medicaid_immigration_status_eligible and the comments in child_age_threshold.yaml and student_age_threshold.yaml say "Federal Medicaid law sets no ages". Name the statutes that leave the ages open: neither 8 U.S.C. 1613(b)(2) nor 1612(b)(2)(C) sets ages for the exemption's unmarried dependent child.
  • medicaid_federal_share's documentation lists the state-funded routes that get no federal share, but it doesn't name New Jersey's Cover All Kids, and no case pins one of its children at 0. Name the route, and add a case: New Jersey, 2025, an undocumented 10-year-old in a family at 100% of the poverty line, with medicaid_federal_share 0.

🤖 Generated with Claude Code

Dominant language
Python
Stars
178
Forks
224
Avg merge
2d 7h
Merged PRs (30d)
309

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.