Skip to content

Apply railroad retirement income rules in state and county benefit programs - #10764

Open
MaxGhenis wants to merge 50 commits into
mainfrom
state-benefit-railroad
Open

MaxGhenis wants to merge 50 commits into
mainfrom
state-benefit-railroad

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

PolicyEngine counts Railroad Retirement Act benefits in 72 changed state and county benefit income totals and recognizes qualifying Maryland Public Assistance to Adults railroad annuities in the month of receipt. The changes address part of #10551.

The audit covers 114 items: the 72 changed income totals, 18 totals that already count railroad benefits, 23 benefit-program exceptions and Maryland’s federal benefit test. The R3 invariant below also covers the two Washington property-tax exceptions.

Changes

PolicyEngine adds a railroad amount to 70 state and county income lists, across 74 dated blocks, and updates Missouri’s Supplemental Nursing Care income formula. Wyoming’s two child care readers share one list, so the lists and Missouri’s formula reach 72 income totals. The lists use 51 gross entries, 10 entries with the shared lump-sum exclusion and nine program-specific entries.

Rules that name railroad retirement

State Program Rule Text
CA Alameda County General Assistance Alameda County GA regulations, income section ".52 Railroad Retirement Benefits (RRB);"
CA CalWORKs EAS §§44-101(l), 44-103.121 and 44-113.31 California classifies railroad retirement as social insurance and treats nonrecurring lump sums, including retroactive social insurance payments, as property. PolicyEngine subtracts the reported retroactive and nonretroactive railroad lump sums and reads retained proceeds from the annual cash assets input.
CO Colorado Child Care Assistance Program 8 CCR 1403-1 §3.105.1(H)(3)(i), 2023 and §3.111(H)(4)(i), August 2026 Colorado counts nonrecurring lump sums in the receipt month or averages them over 12 months, whichever helps the recipient more. With receipt amounts dated by month, PolicyEngine uses the more favorable monthly assessment for railroad payments; undated amounts use the annual average.
CO Colorado Works 9 CCR 2503-6, section 3.605.3 "7. Railroad retirement payments - payments, such as sick pay, annuities, pensions, and unemployment insurance benefits, which ..."
DC Child Care Subsidy Program CCSP Policy Manual §§2.5.2–2.5.3 OSSE counts regular railroad distributions and excludes permanent disability payments and nonrecurrent income outside the family’s base. PolicyEngine deducts the reported disability component and a separate reported component for nonrecurrent payments outside it. Its projection removes historical disability without deducting continuing disability twice.
DE Purchase of Care 16 Del. Admin. Code 11003 "vii. Pensions; viii. Railroad retirement; ix. Annuities"
HI Child Care Subsidy HAR 17-798.3-10(b)(2)(A) "Railroad retirement insurance checks from the U.S. government"
ME Child Care Affordability Program 10-148 C.M.R. ch. 6, 2.C "railroad retirement, private pensions, annuities"
MI Child Development and Care Bridges Eligibility Manual 503 "The U.S. Railroad Retirement Board makes the payments. Count the gross benefit amount as unearned income." PolicyEngine excludes reported accumulated railroad benefits and keeps counting the part of a combined check intended for the current month.
MT Best Beginnings Child Care Scholarship Child Care 2-6 Income Evaluation Table (row marked pension or retirement, countable) "Railroad Retirement:"
NC LIEAP Energy Programs manual EP-300, 300.09 A, and FNS 300.01 B "Some common examples of unearned income include contributions, railroad retirement, Social Security, and Veteran's benefits."
NC Work First WF-114, Net Unearned Income and §XVI North Carolina counts the unearned income a member receives, plus any amount withheld to repay a tax or other debt or to pay child support. It adds withheld Medicare premiums back to Social Security benefits and gives no such instruction for railroad retirement. It counts a new applicant's lump sum received in the application month as income in that month. For new and ongoing cases, it counts retained balances as resources from the month after receipt. PolicyEngine deducts the reported railroad Medicare premium and budgets the remaining amount on an annual basis.
ND TANF N.D. Service Chapter 400-19-55-20-15 and 400-19-55-25 North Dakota counts regular railroad benefits and excludes nonrecurring lump sums, including retroactive railroad payments. PolicyEngine deducts the reported retroactive and nonretroactive railroad lump sums.
PA Child Care Works 55 Pa. Code ch. 3042, app. A, part I(F) "Railroad retirement, disability or survivors' benefit payments made by the United States Government under the Railroad ..."
SC Child Care Scholarship Child Care Scholarship Policy Manual 2.1 "Railroad retirement insurance benefits"
UT Child Care Assistance Utah Admin. Code R986-200-235(2)(a) "pensions and annuities such as Railroad Retirement, Social Security, VA, Civil Service"
WY Child Care, Purchase of Service Wyoming Child Care Rules ch. 1 §8(e)(iv)(F)(IV), (VII) and app. B Wyoming counts regular railroad retirement. It exempts death benefits up to last-illness and burial expenses and starts reductions for countable lump sums the following month. PolicyEngine excludes reported death benefits used for last illness and burial, capped at the payment, and leaves ineligible children’s railroad income out of the net total. Countable lump sums still use an annual average.
WY POWER SNAP and POWER Policy Manual §§901 and 1205 Wyoming counts regular railroad payments as income and exempts nonrecurring lump sums from income. It counts the full lump sum as a resource in the receipt month and the retained balance in later months. PolicyEngine deducts the reported retroactive and nonretroactive railroad lump sums from income and reads annual cash assets for the resource test.

Rules that list pensions, annuities, retirement benefits or federal benefits

State Program Rule Text
AK Child Care Assistance Program CCAP Policies and Procedures 4080-3(1) "Federal benefit income is considered unearned income. Common sources of federal benefit income include but are not limited to: ..."
AL Child Care Subsidy Program FFY 2025-2027 CCDF State Plan 2.2.4(c) "Survivor and retirement benefits."
AR School Readiness Assistance FFY 2025-2027 CCDF State Plan 2.2.4(c) "Pensions or annuities."
CA CARE and FERA PG&E Form 01-9077, CARE/FERA application "Social Security and pensions"
CA Clean Vehicle Rebate Project increased rebate CVRP Implementation Manual, Gross Annual Income CARB includes taxable and nontaxable income, including survivor benefits and pension or retirement income.
CA Los Angeles EZ-SAVE LADWP EZ-SAVE income definition ""Income" means all the money and benefits earned by everyone in the household."
CA Orange County General Relief General Relief Regulations Manual section 70.1 "a contribution from persons or organizations, pensions/retirement, interest or dividends."
CA Riverside County LIHEAP 2025 Riverside County LIHEAP application, countable income "Pension and Annuities:"
CA San Mateo County General Assistance General Assistance Program Fact Sheet “retirement benefits, interest income, child or spousal support, and other means of income or support.”
CT Care 4 Kids Regs. Conn. State Agencies 17b-749-05 ""Unearned income" means pensions, annuities, dividends, interest, rental income, lottery winnings, royalties, Social Security, ..."
DC TANF D.C. Code 4-205.05 "pensions; retirement benefits; annuities" PolicyEngine excludes reported nonrecurring railroad awards.
FL School Readiness Fla. Admin. Code 6M-4.200 "veteran benefits, retirement benefits, temporary cash assistance"
GA Childcare and Parent Services CAPS Policy Manual 8.4.1 "Retirement/Pension"
ID Idaho Child Care Program IDAPA 16.06.12 "Unearned income includes retirement" PolicyEngine excludes reported nonrecurring railroad awards.
IL ISBE meal and fee waiver income ISBE Household and Income Form 69-72 “pensions, retirement, Social Security”
LA Child Care Assistance Program LAC 28:CLXV.509.A.3.b "iv.retirement benefits; v.disability benefits;"
MA Child Care Financial Assistance EEC Interim Income Eligible Policies, October 2023, and Income Eligible Policies, May 2026 EEC counts retirement income. PolicyEngine uses the reported railroad total as a retirement income proxy. The May 2026 Income Eligible Policies don’t name railroad disability or survivor annuities.
MD Child Care Scholarship COMAR 13A.14.06.02 "Pensions and annuities"
ME TANF 10-144 C.M.R. ch. 331 "benefits such as Social Security, Veterans benefits, pensions"
MN Child Care Assistance Program Minn. Stat. 256P.06, subd. 3 "(ix) retirement benefits;"
MN Minnesota Family Investment Program Minn. Stat. 256P.06, subd. 3 "(ix) retirement benefits;"
MO Child Care Subsidy 5 CSR 25-200.050 "Pensions and annuities"
MS Child Care Payment Program CCPP Policy Manual, Rule 5.4 "retirement/pension"
MT TANF TANF manual 501-1 "Recurring payments from pension plans are countable unearned income." PolicyEngine excludes reported nonrecurring railroad awards.
NJ Child Care Assistance FFY 2025-2027 CCDF State Plan 2.2.4c "Pensions or annuities."
NJ LIHEAP FY2026 and FY2027 LIHEAP Handbook 2.3.D "benefits and pensions, annuities"
NV Child Care and Development Program Child Care Policy Manual MS 306.29 "A fixed amount of money paid regularly to somebody during retirement, for either age or disability, by the government, a ..."
OK Child Care Subsidy Okla. Admin. Code 340:40-7-11(c)(2) "Annuities, pensions, retirement benefits, disability benefits from either government or private sources, or Social Security ..."
OR Employment Related Day Care OAR 414-175-0030(6), 414-175-0002(31)(a) and 414-175-0035(52) Oregon counts retirement income and excludes lump sums, including retroactive awards covering more than one month even when recipients receive installments. PolicyEngine deducts the reported retroactive and nonretroactive railroad lump sums.
SD Child Care Assistance CCA Subsidy Manual, section 4 "Countable unearned income includes, but is not limited to: TANF, pensions, VA benefits, alimony, retirement"
TX Family Planning Program Family Planning Program Policy Manual 9000 "A pension is any benefit derived from former employment, such as retirement benefits"
WA ECEAP 2021–22 ECEAP Performance Standards PAO-44 and PAO-45 DCYF counts regular annuities and generally budgets income from the child’s parents or guardians, with placement and shared-housing exceptions. PolicyEngine generally counts railroad benefits of the child’s parent or guardian; other sources keep the existing SPM unit total.
WI Wisconsin Shares Wisconsin Shares Handbook §§6.2 and 6.4.3 Wisconsin counts pensions and annuities and budgets one-time income in the receipt month. With receipt amounts dated by month, PolicyEngine budgets a railroad lump sum in the receipt month; undated amounts use the annual average.
WV Child Care Assistance Child Care Subsidy Policy and Procedures Manual 5.2.4.4 "5.2.4.4 Pensions and annuities."

Rules that define income as everything outside their exclusions

State Program Rule Text
CA Child care programs 5 CCR 18078(w) ""Total countable income" means all income of the individuals counted in the family size that includes, but is not limited to, ..."
CA Los Angeles County General Relief DPSS ePolicy, General Relief 44-101 "After approval, all net income to the General Relief (GR) household is deducted from the GR grant."
CA Riverside SHARE Riverside Public Utilities SHARE program page "All household income must be provided"
IL Aid to the Aged, Blind or Disabled 89 Ill. Adm. Code 113.100 "Unearned income is all income other than that received in the form of salary for services performed as an employee or profits ..."
IL Health Benefits for Workers with Disabilities 89 Ill. Adm. Code 120.330 "Unearned income is all income other than that received in the form of salary for services performed as an employee or profits ..."
IL TANF 89 Ill. Adm. Code 112.100 and 112.110(aa) Illinois DHS counts unearned income and disregards railroad disability payments up to the SSI payment level for one person with no other income.
KS Child Care Assistance KEESM 6200 and 6410 "Unearned income is any income that is not earned and may be derived from benefits (unemployment compensation, Social Security, ..."
KS LIEAP KEESM 13361 "Only the following incomes are exempt in determining eligibility" PolicyEngine excludes reported nonrecurring railroad awards.
KY Child Care Assistance Program 922 KAR 2:160 "gross income received or anticipated to be received by the applicant and responsible adult shall be considered"
MA Transitional Aid (TAFDC) 106 CMR 704.210(B) "Unearned income is all income that a person does not earn through employment."
MO Supplemental Nursing Care Supplemental Nursing Care Manual §0610.005.00 Missouri counts gross income and excludes RSDI, VA and railroad amounts withheld to recover overpayments. PolicyEngine deducts railroad recoveries in the month the Railroad Retirement Board withholds them.
ND Child Care Assistance Program N.D.A.C. 75-02-01.3-08(16) North Dakota excludes nonrecurring lump sums. PolicyEngine deducts the reported retroactive and nonretroactive railroad lump sums.
NH Child Care Scholarship N.H. Code Admin. R. He-C 6910.06(c) "All sources of gross income shall be counted" PolicyEngine excludes grandparent railroad income in a three-generation household.
RI Child Care Assistance Program 218-RICR-20-00-4, section 4.2, definition 29 “any money, goods or services available to the financial unit used to calculate eligibility for the CCAP.”
TX Child Care Services 40 TAC §809.44(b) and (c) Texas excludes income from a child between 14 and 19 years of age who attends school under (b)(10), regular Social Security under (b)(17) and one-time cash under (b)(20). Texas counts other income under (c). PolicyEngine deducts the reported retroactive and nonretroactive one-time railroad payments and excludes the railroad income of school-attending children in the specified range. Other sources use the existing SPM unit total.
TX Commodity Supplemental Food Program Texas CSFP Handbook, section 3 Texas counts all sources of household income outside its exclusions.
TX Comprehensive Energy Assistance 10 TAC 6.4(b) "Income means cash receipts earned and/or received by all Household members 18 years of age and older"
VA Child Care Subsidy Program 8 VAC 20-790-40(H) "includes all earned and unearned income received by the family except the following"
VT Child Care Financial Assistance CCFAP Regulations I B 18 "Gross Income – All income included in determining monthly gross income except that which is specifically excluded by these ..."
WA Working Connections Child Care WAC 110-15-0060(8) "Other types of income not listed in WAC 110-15-0070"

Maryland PAA’s federal benefit test

Maryland requires a federal benefit for age, blindness or disability under COMAR 07.03.07.03(A)(2). Supply the gross annuity in railroad_benefits and set md_paa_receives_qualifying_railroad_annuity in each month the benefit is paid for age, blindness or disability. The railroad pathway qualifies on that receipt without a separate SSI categorical test. A survivor annuity paid solely because the recipient cares for the employee’s child does not qualify.

The YAML cases include an age-60 railroad retiree with 30 years of service, who qualifies, and a child-in-care-only survivor, who fails, including in the month after a qualifying payment. Maryland PAA eligibility Railroad annuity eligibility

Programs that inherit the change

  • DC General Assistance for Children uses DC TANF gross unearned income in the model. The separate statutory disregard ceiling under D.C. Code 4-205.05a(g) is $7.50.
  • Eligible DC POWER households receive the positive difference between the TANF standard and countable income.
  • Massachusetts uses ma_tcap_gross_unearned_income in its EAEDC net income calculation.
  • Illinois uses il_isbe_countable_income for Prevention Initiative and Preschool for All Expansion.
  • Illinois TANF counts pensions following Count pensions, veterans benefits and Railroad Retirement as Illinois TANF unearned income #11186. Illinois AABD and its Health Benefits for Immigrant Seniors reader already counted railroad benefits before this PR.
  • Missouri uses Supplemental Nursing Care countable income for both the facility-cost eligibility test and the payment calculation.

Federal sources that state programs read

The R5 invariant below identifies 31 federal totals, lists and tests that state and county programs outside the tax code read within its two-step scan. State programs inherit gaps in the federal inputs they use. For example, PolicyEngine counts railroad benefits in New Jersey LIHEAP and still reads the federal Part B premium for its Social Security deduction.

  • In 37 states, 64 TANF variables read the baseline unearned income list through tanf_gross_unearned_income.
  • Nebraska LIHEAP reads the federal SNAP unearned income list. State SNAP agencies count retirement benefits and exclude nonrecurring retroactive payments under 7 CFR §273.9(b)(2)(ii) and (c)(8). 7 CFR §273.9
  • Energy aid in DC, Illinois and Massachusetts reads federal gross income, as do Illinois IHWAP and I-PASS. Illinois SCRETD reads AGI and the filer’s tax-exempt Social Security amount. Illinois FPP and BAP read person-level AGI. California’s normal CVRP rebate reads AGI and the charitable deduction, while Washington’s property-tax exemption reads AGI. New Mexico and Rhode Island use federal filing tests for premium help. The IRS treats the Social Security-equivalent share of tier 1 as a Social Security benefit. Taxpayers include its taxable share in gross income. 26 U.S.C. §86
  • In 29 states, 58 variables read one of five Medicaid or ACA MAGI amounts or ratios, including 17 CHIP premium variables. California CCHIP and Rhode Island postpartum coverage also reach medicaid_income_level through medicaid_income_eligible. For ACA MAGI, taxpayers add the untaxed Social Security-equivalent share of tier 1 to AGI. 26 U.S.C. §36B
  • Premium assistance in 10 states reads the ACA credit, and assistance in nine states reads its benchmark premium. Five other ACA amounts and tests reach premium help in California, Connecticut, Maryland, New Jersey, New Mexico, Rhode Island, Vermont and Washington. These calculations use ACA MAGI or take Medicare eligibility through the ACA coverage test. New Mexico’s Puente Health also reads the federal ineligible-coverage list directly.
  • Energy aid in North Carolina, Nevada, New York and Oklahoma uses the SNAP disability test. The SNAP statute identifies the railroad annuitant category in 7 U.S.C. §2012(j)(7), and the implementing regulation at 7 CFR §271.2 supplies the Medicare and SSI distinctions. 7 U.S.C. §2012
  • State programs read the Medicare eligibility test and eight downstream premiums, tests and lists outside ACA. PolicyEngine checks the age-65 and 24-month Social Security disability routes, subject to the formula’s immigration and work-history conditions. Federal law also provides a Part A route for qualifying disabled railroad beneficiaries under age 65 after 24 months. 42 U.S.C. §426
    • Illinois SMIB and reduced fares, the MBTA’s TAP CharlieCard, Mississippi’s Healthier Mississippi Waiver and Dallas DART read is_medicare_eligible.
    • Energy aid in 28 states and Washington’s property-tax exemption read medicare_part_b_premium. Energy aid in eight states reads medicare_part_a_premium. Illinois SMIB reads base_part_b_premium.
    • Rhode Island Medicaid reads medicare_enrolled, which also appears in the disqualifying coverage list Rhode Island CHIP uses. California CCHIP reads the CHIP coverage test and Medicaid eligibility. Colorado CHP+ reads Medicaid eligibility, and Mississippi’s waiver reads is_adult_for_medicaid.

Mississippi’s waiver also uses an annual Medicaid income wrapper, which sums monthly budgets that count railroad benefits through SSI. The shared monthly formula reads gross Part B premiums, which depend on Medicare eligibility. R5’s two-step scan stops before the annual wrapper. PolicyEngine sets the premium deduction to false for Mississippi.

California CVRP’s increased rebate and Texas CSFP use separate income totals following #10873. Issue #10551 still covers the federal school-meals, TANF and SNAP lists. #10696 covers railroad benefits in gross income, AGI and MAGI additions. #10804 covers Medicare eligibility, and #9330 covers SNAP disability.

Merge order with #10696 and #10722

#10696 builds railroad_benefits from the Social Security-equivalent amount and the taxable and tax-exempt shares of the rest. Users can still enter the total directly. This PR’s projection handles both direct and split inputs and keeps the per-capita index for historical direct totals. Whichever of this PR and #10696 merges second removes the R5 entries the combined test identifies; at #10696’s current head, 13 entries, including aca_magi and adjusted_gross_income, become stale.

#10722 adds the tax-exempt railroad amounts to Washington's senior and disabled property tax exemption income list. Whichever of this PR and #10722 merges second drops the income list's NO_RAILROAD_INCOME entry and keeps the disability retirement receipt exception. RAILROAD_DOLLARS already maps #10722's filer-only Social Security-equivalent amount.

Reporting railroad benefit components

Report the gross annuity in railroad_benefits, and report an annual award both in gross and in the appropriate annual lump-sum component. Enter the amounts below separately when the gross input includes them. PolicyEngine applies each listed program’s deduction or exclusion to the reported component.

Input Amount Programs
railroad_benefits_overpayment_withheld Monthly recoveries the Railroad Retirement Board withholds for past overpayments. Missouri Supplemental Nursing Care
railroad_disability_benefits Annuities the Railroad Retirement Board awards for disability. Illinois TANF and DC Child Care Subsidy Program
railroad_benefits_medicare_premium_withheld Medicare premiums the Railroad Retirement Board withholds. North Carolina Work First
railroad_benefits_retroactive_lump_sum Annual retroactive lump-sum amounts, including Oregon awards covering more than one month that recipients receive in installments. California CalWORKs, Oregon ERDC, North Dakota TANF and CCAP, Wyoming POWER, DC TANF, Idaho ICCP, Kansas LIEAP, Michigan CDC, Montana TANF and Texas CCS
railroad_benefits_nonretroactive_lump_sum Annual one-time payments other than retroactive annuity awards, such as lump-sum death payments. California CalWORKs, Oregon ERDC, North Dakota TANF and CCAP, Wyoming POWER, DC TANF, Idaho ICCP, Kansas LIEAP, Michigan CDC, Montana TANF and Texas CCS
dc_ccsp_nonrecurrent_railroad_benefits Annual nonrecurrent payments outside the family's base income and outside railroad_disability_benefits. DC Child Care Subsidy Program
railroad_benefits_lump_sum_received The one-time railroad amount in the month it arrives. Colorado CCAP and Wisconsin Shares
wy_ccap_railroad_death_benefits_used_for_expenses The part of a railroad death payment applied to last-illness and burial expenses. Wyoming Child Care

The retroactive and nonretroactive lump-sum inputs hold separate dollars, and PolicyEngine counts each one-time input only in the year entered. DC reads its own nonrecurrent input instead of the retroactive one, because a retroactive disability award can sit in both the disability and retroactive inputs. DC’s projection removes historical disability without deducting continuing disability twice.

For California CalWORKs and Wyoming POWER, include retained proceeds from retroactive awards and other lump sums in an asset input that spm_unit_cash_assets adds, such as bank_account_assets. Both programs’ resource tests read that annual total.

Minnesota counts retirement benefits for CCAP and MFIP under Minn. Stat. 256P.06, subd. 3(2)(ix). PolicyEngine uses the reported railroad total. It also counts railroad disability and survivor annuities in Georgia CAPS, since CAPS 8.4.2 excludes disability and survivor benefits from the Social Security Administration.

New Jersey LIHEAP’s handbook names Social Security in its Medicare Part B deduction and exclusion for children. PolicyEngine counts gross railroad benefits at every age. Two YAML cases cover the premium and age treatment.

Illinois TANF counts pension_income following #11186.

Limits on one-time payments and household income

PolicyEngine spreads each annual amount evenly across months for monthly income totals. Only Colorado and Wisconsin read the month a railroad lump sum arrives, through railroad_benefits_lump_sum_received. Otherwise the lists give railroad payments the same timing and household-member treatment as their other income sources.

  • With receipt amounts dated by month, Colorado uses the more favorable monthly assessment and Wisconsin Shares budgets the amount in the receipt month. Undated amounts and other sources use the annual average. Colorado §3.111(H)(4)(i) Wisconsin §6.4.3
  • North Carolina Work First counts a new applicant's lump sum received in the application month as income in that month. For new and ongoing cases, it counts retained balances as resources from the month after receipt. PolicyEngine counts the annual income amounts and reads cash assets separately. WF-114 §XVI
  • Wyoming excludes reported death benefits used for last illness and burial, capped at the payment. Its countable lump sums still use an annual average, though Wyoming starts child care reductions or ineligibility the following month. Wyoming Child Care Rules ch. 1 §8(e)(iv)(F)
  • PolicyEngine subtracts reported retroactive and nonretroactive railroad lump sums in 10 lists through the shared exclusion: California CalWORKs, Oregon ERDC, North Dakota TANF and CCAP, Wyoming POWER, DC TANF, Idaho ICCP, Kansas LIEAP, Michigan CDC and Montana TANF. Texas CCS subtracts them through its own railroad amount. Other included sources have no one-time input, so these lists still count their one-time payments. California Oregon Texas §809.44(b)(20) ND TANF ND CCAP WY POWER §1205
  • Those lists that include Social Security still count retroactive Social Security, since Social Security has no separate retroactive input. Texas excludes regular Social Security under (b)(17), and PolicyEngine’s Texas list counts pensions and alimony with no retroactive split. Texas §809.44(b)
  • DC CCSP excludes nonrecurrent income outside the family’s base. PolicyEngine deducts the reported railroad disability amount and DC's separate nonrecurrent railroad amount, and counts nonrecurrent payments from other included sources. DC reads its own component because the disability and retroactive railroad inputs can hold the same dollars. DC CCSP Manual §2.5.3
  • Texas excludes a school-attending child’s income under (b)(10), and Washington generally counts income from the child’s parents or guardians under PAO-44. PolicyEngine applies both rules to railroad income; other sources still use the SPM unit total. New Hampshire exempts grandparent income in a three-generation household under He-C 6910.06(c)(1), and PolicyEngine applies that exemption to railroad income. Texas §809.44(b)(10) Washington PAO-44

The other 51 lists add gross railroad benefits. Model one-time income and payment dates across benefit programs covers those lists’ lump-sum and timing rules, North Carolina’s annual eligibility and resource timing, and the Social Security and VA recovery rules in Missouri. Apply child care and preschool income rules to each household member covers the Texas, Washington and New Hampshire member rules for income sources other than railroad benefits.

Sources

  • Hawaii publishes scans of its child care rules in HAR chapters 17-798.2 and 17-798.3. Chapter 17-798.2 Chapter 17-798.3
  • Minnesota includes retirement benefits in Minnesota Family Investment Program income under Minn. Stat. §256P.06, subd. 3. Minnesota statute
  • Washington DCYF instructs contractors to count regular annuity and retirement payments in its June 2021 standards. The April 2025 application asks applicants to report retirement benefits. 2021–22 ECEAP standards April 2025 application
  • Massachusetts EEC includes retirement income and excludes Social Security in its May 2026 policies, which don’t say how EEC treats railroad disability and survivor annuities. May 2026 EEC policies

Other audited lists and checks

  • Seventeen programs read Social Security directly and count railroad benefits through their unearned income lists. They include LIHEAP programs in GA, IA, ID, IN, KY, LA, MO, MT, NV, OH, PA, SD, TN, WA and WY, Connecticut CEAP and Colorado LEAP. Missouri and Pennsylvania also use railroad receipt when they calculate the Medicare Part B deduction.
  • Thirteen benefit-program tests use Social Security disability receipt as a status check. They cover AZ LIHEAP points, CA WDP disability, Contra Costa GA eligibility, DC CCSP need, HI LIHEAP points and IL HBWD disability. IN EAP, LA LIHEAP, MS WD disability, NM LIHEAP, PA LIHEAP supplement, VA EAP disability and WI SSP for HUD also test receipt. The gross railroad input doesn’t show whether a payment rests on disability, and these checks don’t read the new railroad_disability_benefits input.
  • Wisconsin counts noncitizens who receive FoodShare or monthly Social Security in WHEAP household size under WHEAP Manual §3.2.2.4.
  • Four lists cover narrower types of income. Minnesota CCAP’s RSDI list and South Carolina LIHEAP’s list for minors take the income categories their programs specify. CalWORKs counts railroad benefits in other unearned income, and California WDP applies its disability-income exemption to its separate disability list. Issue California 250% Working Disabled Program counts Railroad Retirement disability annuities #10540 tracks how California WDP treats railroad disability annuities.

Programs left unchanged

PolicyEngine keeps the existing treatment for five programs whose sources don’t settle the railroad question or failed to load.

Program Why
Contra Costa County GA The cited page doesn't define countable income.
IN CCDF The manual lists countable income types, and none reaches pensions or railroad benefits.
MS Working Disabled Both cited PDFs failed to download.
NC SCCA The rule counts "Pensions and annuities paid directly by an employer or union or through an insurance company", which leaves open whether it reaches Railroad Retirement Board payments.
Riverside County General Relief The list's reference notes that the county doesn't publish the program manual.

Invariants

policyengine_us/tests/test_state_benefit_railroad_income.py checks railroad income and federal reader coverage.

  • R1 tests 72 changed income totals and 18 already-counted totals with annual railroad inputs from $1 to $200,000. Twelve rows set wages above cash aid limits to isolate the railroad effect. Each test measures the increase at the total’s own period with program-specific exclusions unset.
  • R2 compares equal railroad and pension payments in 68 changed totals that count pension income directly or through another total, and in Illinois AABD.
  • R3 checks literal Social Security names, including taxable_social_security, in state and county parameter lists and individual module, class and function scopes outside the tax code. Each scope or list that names one must also name a railroad income amount, unless its file has a documented exception. R3 records exceptions by file. A withholding input or another subtracted component alone doesn't count as railroad income. R3 exempts the formula R1 exercises at its sample period, checks the file’s other formulas and flags stale exceptions. Dynamic names and scalar parameters fall outside the scan.
  • R4 checks directly mapped entries in government parameter lists and literal variable adds lists for overlapping railroad dollars. It accepts the retroactive lump sum, the nonretroactive lump sum and the amount that excludes both together, and rejects gross benefits with any of them. The map also covers taxable and tax-exempt components, including Count railroad benefits in state tax worksheets, income tests and limits as each state's law does #10722’s filer-only amount.
  • R5 starts from federal lists and variable scopes that read Social Security without railroad income. It follows up to two further formula steps and checks which sources state and county code outside the tax code reads. It keeps dated list blocks separate and pairs each formula’s parameter reads with that formula’s railroad names. It resolves literal parameter paths through plain assignments. Top-level functions and class methods take the module's final aliases, and a helper nested in a formula takes the aliases in force where its formula defines it. Dynamic names, function arguments and dependencies beyond two steps fall outside the scan.

R1 and R2 draw five examples per income total with Hypothesis. YAML cases cover the new eligibility outcomes and program-specific railroad exclusions.

Tests

At 978e5bb, on PolicyEngine Core 3.37.2, the in-scope tests pass 1,074 tests across 79 files, including 186 invariant tests in test_state_benefit_railroad_income.py. The Illinois TANF YAML files pass 136 cases. Each of 17 mutations makes its intended regression test fail.

  • CI at this head is pending.

axiom: TheAxiomFoundation/rulespec-us#2142 queued

🤖 Generated with Claude Code

State benefit programs that list Social Security as income often leave out
Railroad Retirement Act benefits, whose tier 1 share replaces Social Security
for railroad workers. This adds `railroad_benefits` to 50 income lists and to
Missouri's Supplemental Nursing Care income variable, where the program's rule
names railroad retirement, counts pensions, annuities or retirement benefits,
or counts all income it doesn't exclude. Each program's own rule was read
against the sources the parameter cites.

Tests: a property test checks that railroad benefits raise each program's
income by the amount received, and a YAML case pins each program whose rule
names railroad retirement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Passing runs cost about a tenth of a second per example, so the extra
examples add little to CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis marked this pull request as ready for review November 9, 2026 11:46
An independent review found that the first sweep skipped any file that
mentioned railroad retirement, even in a comment, and hid child care lists
whose rules name those benefits. Sweep parsed values instead, add the
programs whose rules reach the benefits (HI, MA, MT, PA, UT and WY child
care and seven California county programs), and record the disability and
Medicare limits in the lists' comments.

Add R3, which fails on any state or county reader of Social Security that
neither counts railroad benefits nor explains why, and R4, which rejects a
repeated entry. Run R1 from the first dollar, over the programs that
already counted the benefits too, and extend R2 to every list with a
pension line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Count railroad retirement benefits as income in state benefit programs Count railroad retirement benefits as income in state and county benefit programs Nov 9, 2026
MaxGhenis and others added 4 commits November 9, 2026 14:47
Louisiana CCAP (LAC 28:CLXV.509.A.3.b), North Dakota CCAP (NDAC
75-02-01.3-08 disregards no recurring railroad benefit), Oregon ERDC (OAR
414-175-0035(52)), South Dakota CCA (subsidy manual, section 4) and
Washington ECEAP (DCYF 05-006, section 9) now count railroad_benefits, each
with a YAML case and an R1 row that fails without the entry.

The R3 check now reads each list, and each function or class body, on its
own, and counts the railroad total or any of its parts. R4 also fails when
a list holds railroad_benefits with one of its parts. R5 finds state and
local programs that read the federal TANF or SNAP lists, which leave out
railroad benefits (#10551).

Los Angeles County General Relief cites GR policy 44-101. Massachusetts
CCFA's list explains why railroad payments count as "Retirement income".
Utah's case drops a citation that governs the assistance unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Record Washington's new disability retirement test (#10330) as a yes-or-no
  signal, so R3 passes after the merge of main.
- R3 also scans each variable file's top level, so a module-level list of
  Social Security names no longer passes unseen.
- R4 checks variable adds lists as well as parameter lists, and fails on any
  railroad amount listed twice or with a part it holds.
- R5 follows federal lists through the variables that add or read them and
  up to two more formulas, which finds the school meals ratio and the Medicaid
  and ACA MAGI measures that state programs read. Its entries end when their
  source counts railroad benefits or no state code reads them.
- State SC LIHEAP's reason as the guide's wording, and fix the docstring's R1
  range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The R1 and R5 docstrings and the FEDERAL_GAPS comments now match the PR
body: agencies and taxpayers act under each cited rule, R5's docstring says
why it stops at two formula steps, and the group descriptions list federal
benefits beside pensions, annuities and retirement benefits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits November 11, 2026 12:55
Both sides added a ninth Hawaii CCAP case. This keeps main's eight Hawaii
TANF cases as 9 to 16 and renumbers the railroad case to 17.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Hawaii CCAP counts Hawaii TANF since #10332, so its R1 and R2 rows set
wages above the aid limits, as the other eight rows with cash aid do.

R5 starts from one more kind of federal source: a variable whose own code
names a Social Security amount and no railroad amount, the check R3 runs on
state code. That finds is_medicare_eligible, which tests Social Security
disability for 24 months and leaves out the disabled railroad annuitants
42 U.S.C. 426(b)(2)(B) covers. FEDERAL_GAPS lists it and the seven premiums
and tests state code reads within two steps of it.

R5 reads a parameter path through names assigned in the same module or
function, and a list named in a string.

R4 maps each railroad amount to the dollars it holds and fails when two
entries of a list share any, so the tier 1 amount beside the taxable total
fails too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
MaxGhenis and others added 3 commits November 14, 2026 23:54
…s federal benefit test; follow federal lists in R5

40 TAC 809.44(c) counts income that subsection (b) doesn't exclude, and
(b)(17) excludes only regular payments from Social Security. COMAR
07.03.07.03(A)(2) asks for a federal benefit for age, blindness or
disability. WHEAP Manual 3.2.2.4 names Social Security alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…federal gaps

R4 now maps every railroad variable to the five kinds of railroad dollars it
holds, including the dependent's taxable tier 1 inside the tax-exempt amount
and #10722's filer amount, so no income list can count the same dollars twice.

After merging main, R5 follows federal parameter lists one step, and
FEDERAL_GAPS gains the gross income, AGI, ACA and CHIP sources that state
programs now reach. Missouri's and Pennsylvania's LIHEAP lists move to
ALREADY_COUNTED, Louisiana's LIHEAP key follows its rename, and the changelog
names Maryland PAA's federal benefit test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 3 commits November 15, 2026 14:20
R5 resolved names until no alias grew, so a name assigned from its own
attribute, such as `p = p.income`, grew a longer path on every pass and
never ended. R5 now takes at most one pass per assignment, which resolves
any chain of plain assignments. The docstring now says which assignments
R5 follows and that a name bound to two paths reads as both.

Case 20 of md_paa_eligible.yaml now sets meets_ssi_disability_criteria to
false, the input the aged, blind or disabled gate reads, and Case 21 pins
an eligible railroad disability annuitant who meets that test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pass cap still let a name assigned twice from its own attribute, such
as `p = ...gov; p = p.usda; p = p.snap`, double its paths on every pass,
so 19 assignments in one function would stall the test. R5 now reads each
scope's assignments once, in source order, which ends on any input and
gives the same paths as before on all 7,534 variable files. The docstring
adds the one form this misses: a path built in a loop from a name the loop
assigns further down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R5 doesn't follow a name bound to a call or a conditional expression, and
reads a path that continues past a call only up to the call; the docstring
now says so. The comment above md_paa_eligible.yaml Case 21 now compares the
railroad gate with Social Security other than SSDI, which the formula gates
the same way, rather than with SSDI, which it doesn't gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

I'm handing this PR to the US hub at 4f52f39.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
This was referenced Dec 1, 2026
MaxGhenis and others added 3 commits December 1, 2026 06:52
policyengine_us/parameters/gov/states/il/dhs/tanf/income/sources/unearned.yaml uses the railroad disability disregard and retains the other sources and IDHS references.
policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/unearned/il_tanf_gross_unearned_income.yaml retains Cases 1 to 6 and appends the railroad disability cases.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Plain text
Keep per-capita uprating for direct railroad totals, and deduct projected
DC railroad disability once.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Program review

Base repository: PolicyEngine/policyengine-us
PR number: 10764
Reviewed head SHA: 721d366
Merge base SHA: 094934a
Mode: full
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-10764-review-sources.json
Review status: PARTIAL

Source Documents

Critical

C1 — Maine CCAP counts retroactive and other railroad lump sums that its rule names as excluded (OPEN)

  • Severity: The trigger needs a reported railroad lump sum, but for an affected household the counted income is wrong.
  • Location: policyengine_us/parameters/gov/states/me/dhhs/ccap/income/countable_income/sources.yaml:12 adds gross railroad_benefits.
  • Trigger: A Maine household with a retroactive railroad award. Following the PR body's input contract, the award appears both in railroad_benefits and in railroad_benefits_retroactive_lump_sum.
  • Expected: 10-148 C.M.R. ch. 6 §2.C.5(o) excludes "Nonrecurring lump sum payments such as income tax refunds; and the portion of retroactive, lump-sum Social Security Administration, Supplemental Security Income, railroad retirement or insurance settlements intended to cover a period prior to the current eligibility period". Source: LII text, me_10_148_ch6.txt. The PR's own rule table quotes this same rule for ME CCAP. The PR already applies railroad_benefits_excluding_retroactive_lump_sum to 10 lists, including ND CCAP, whose rule is a generic nonrecurring lump-sum exclusion.
  • Observed, executed in pr-10764-policy-diag/me_ccap_retro.log: ME, 2026, parent age 35 and child age 3, railroad_benefits = 24,000.
    • With no lump-sum input: me_ccap_countable_income = 2,000 a month.
    • With railroad_benefits_retroactive_lump_sum = 12,000: still 2,000 a month. The exclusion variable falls to 12,000, which would give 1,000 a month.
  • Impact: Countable income is overstated by the award ÷ 12 each month, which can cost CCAP eligibility or raise the copay. Before this PR the list counted no railroad income, so the diff introduces the overcount of the award.
  • Fix: Use railroad_benefits_excluding_retroactive_lump_sum in this list. The PR body's "51 gross lists … #11287" deferral doesn't fit a rule that names railroad retroactive lump sums explicitly. The coordinator may weigh that documented deferral when reconciling severity.

Coordinator assessment: Executed: a 2026 case with $24,000 of railroad benefits, $12,000 of it a retroactive lump sum, counts $2,000 a month instead of $1,000. The PR defers lump-sum rules for the plain lists to #11287, but this rule (10-148 C.M.R. ch. 6 §2.C.5(o)) names railroad lump sums, and the PR already has railroad_benefits_excluding_retroactive_lump_sum.

C2 — Illinois TANF disregard applies to every head or spouse, but IDHS limits it to a parent's own disability payment (OPEN)

  • Severity: This is a code trace, not an executed run: the formula has no parent condition.
  • Location: policyengine_us/variables/gov/states/il/dhs/tanf/income/unearned/il_tanf_countable_railroad_benefits.py, formula. It disregards min(railroad_disability_benefits, railroad_benefits, SSI individual) for any person.
  • Trigger: An Illinois TANF unit headed by a non-parent caretaker relative who receives a railroad disability annuity, for example a grandparent filing as head of household with a grandchild. il_tanf_countable_unearned_income counts head and spouse income, so this person's railroad income reaches the test.
  • Expected:
    • 89 Ill. Adm. Code 112.110(aa) is silent on who qualifies: "Payments based on disability status are disregarded in an amount up to the [SSI] payment level for one person with no income … Railroad Retirement Disability …". Verified at JCAR and at register vol. 45 issue 29, PDF page 419.
    • IDHS PM 08-01-07-c, which the list cites and Pavel asked to keep, is explicit: "a disregard is allowed on certain disability payments received by a parent. The disregard applies when the disability payment is based specifically on that parent's disability … This disregard only applies to a parent of a child included in the TANF unit … If there are 2 parents receiving disability income, each parent receives the exemption." Source: il_pm_08_01_07_c.txt.
    • The list's own NOTE also says "a parent's".
  • Observed: The disregard is granted regardless of parent status. In 2026 a non-parent's countable income falls by up to $994 a month, so the grant is too high and the household may wrongly pass the eligibility test.
  • Fix: Gate the disregard on the person being a parent of a child in the unit, for example with is_parent or the co-resident parent links already used in NH, TX and WA.
  • Answer to the coordinator's Q1: The manual makes the disregard parent-only. The regulation doesn't contradict that, so the formula over-disregards for non-parents. Children's railroad income isn't counted in this model at all, so the defect reaches only non-parent heads and spouses.

Coordinator assessment: The coordinator executed it at the reviewed head. A grandparent (head, 62, is_parent false) caring for a grandchild of 8, with an $18,000-a-year railroad disability annuity, gets countable railroad income of $506 a month in January 2026 instead of $1,500, and an il_tanf grant of $110 where counting the full annuity gives none. Log: pr-10764-coord-diag/il_nonparent.log.

Should Address

A1 — The queued Axiom issue doesn't cover the PR's program-specific provisions, so it isn't dispatch-ready for them (OPEN)

  • Severity: This fails an explicit repository requirement: CLAUDE.md, "Axiom Parity (required for policy changes)".
  • Location: The PR body line axiom: TheAxiomFoundation/rulespec-us#2142 queued.
  • Trigger and expected: CLAUDE.md says the PR "must also leave the same provision correct in rulespec-us". A queued issue "must be dispatch-ready and labelled pe-parity. It needs the module path and corpus citation, the verbatim law, the required outputs, and companion tests."
  • Observed: Issue #2142 is OPEN and labelled pe-parity, and its blocker is recorded: no approved billed run. Created 2026-11-09, last updated 2026-11-15. Its blocks encode only whether gross railroad income counts, and they have these gaps:
    • Illinois TANF is encoded from 112.100 alone. Its companion test is a non-disability annuity of 12,000 giving 1,000 a month. Nothing covers 112.110(aa) or PM 08-01-07-c.
    • The issue body has no mention of overpayment withholding (MO), the Medicare premium (NC Work First), grandparents (NH), death benefits (WY child care) or receipt-month budgeting (CO, WI).
    • Lump-sum exclusions are covered only as ND CCAP text.
    • The issue itself says "Corpus rows not checked … Confirm each row exists in the pinned release before dispatch."
  • Impact: A dispatched encoder would leave the PR's deductions and disregards unencoded. That is 9 program-specific provisions, 10 lump-sum exclusions, the MO formula and the IL disregard, so rulespec-us would not match the model.
  • Fix: Update #2142 with blocks, verbatim text and companion tests for each program-specific provision, and check the corpus rows. Alternatively, file a separate queued issue. No code change is needed.

A2 — The railroad projection tool depends on private Core functions and copies Core's uprating choice (OPEN)

Severity: SHOULD ADDRESS (maintainability)

  • Location. policyengine_us/tools/railroad_benefits.py:3-6 imports _latest_input_key and _uprating_index_value from policyengine_core.simulations.simulation at module import. _source_period (lines 12-25) and lines 74-79 re-create Core's choice between uprating and carryover from those helpers and Holder.get_input_periods. Variable modules import this tool when the system loads.
  • Trigger. pyproject.toml requires policyengine-core>=3.37.2 with no upper bound. A Core release that renames either private helper would make import policyengine_us fail for every user, not just railroad households. A change in how Core picks the uprating source would make railroad_benefits_excluding_retroactive_lump_sum and DC's recurring share drift away from railroad_benefits' own uprated value with no error.
  • Evidence. At Core 3.37.2 the two values agree (diagnostic case A: $13,308.39 for both). The existing precedent, tools/social_security_inputs.py:713, imports Core internals lazily inside a function, not at module level.
  • Remedy. Import lazily or add a fallback, and add a direct assertion that the projected recurring amount equals railroad_benefits when no lump sums are reported. Only the YAML cases cover this path today.

A3 — The linked parent-id branches for NH and WA have no tests (OPEN)

Severity: SHOULD ADDRESS (missing coverage of changed branches)

  • NH. In policyengine_us/variables/gov/states/nh/dhhs/ccap/nh_ccap_countable_railroad_benefits.py, the linked parent-id loop that finds grandparents (line 22) and the filer_grandparent & filer_parent_present path (line 32) have no YAML case. The only NH case (nh_ccap_countable_income.yaml, "New Hampshire scholarship three generations") uses the unlinked is_parent_of_filer_or_spouse route.
  • WA. In policyengine_us/variables/gov/states/wa/dcyf/eceap/wa_eceap_countable_railroad_benefits.py:28, the linked has_child route is untested. The WA case "Washington ECEAP child survivor payment" has no parent ids, so it only exercises the inferred-caregiver route (line 41).
  • Effect. R1 and R2 use single-adult households, so they can't detect breakage here. Deleting or inverting these branches would pass CI.
  • Current behavior. My diagnostics show the branches behave as intended today (NH linked three generations: $0; WA linked grandparent: $0, parent: $12,000). This is a coverage gap, not a defect.
  • Remedy. Add one linked-id case for each program, plus an NH case where the filer's grandparent and the filer's parent are both present.

Suggestions

S1 — The Illinois TANF list comment contradicts its own NOTE (OPEN)

Severity: SUGGESTION

In policyengine_us/parameters/gov/states/il/dhs/tanf/income/sources/unearned.yaml:5-8, the comment says "The exemptions in 112.110 don't include pensions, annuities, veterans benefits, Railroad Retirement…". The NOTE at lines 12-15 then says that 112.110(aa) disregards railroad disability payments up to the SSI level. Qualify the first sentence, for example "other than the 112.110(aa) disability disregard", so the comment matches the new il_tanf_countable_railroad_benefits entry.

S2 — R3 and R5 are repo-wide allowlist checks that tie merge order to #10696 and #10722 (OPEN)

Severity: SUGGESTION

In policyengine_us/tests/test_state_benefit_railroad_income.py, the five checks test different kinds of facts.

R1 and R2 are functional model runs.

  • They would fail if any list lost its railroad entry, so they do test something real.
  • Their expected values restate the PR's premise: count railroad dollars one-for-one, the same as a pension. They don't derive amounts from sources.

R3, R4 and R5 are static scans of the code and parameter files.

  • R4 (counts_railroad_twice) is a useful guard against double counting.
  • R3 (NO_RAILROAD_INCOME) and R5 (FEDERAL_GAPS, about lines 667-729) are allowlists that will fail unrelated future PRs. R3 fails any PR that adds a Social Security reader without a railroad entry or an exception. R5 fails any PR where a state program starts reading a new federal source.
  • R5 also fails on stale entries, so whichever of this PR and #10696 merges second must edit FEDERAL_GAPS.

The stale-entry count differs between sources.

  • Max's 11-15 trial merge named eight stale entries: irs_gross_income, adjusted_gross_income, adjusted_gross_income_person, charitable_contributions_ald, tax_unit_is_filer, medicaid_magi, medicaid_income_level and tax_unit_medicaid_income_level.
  • The PR body says 13 entries go stale at #10696's current head, including aca_magi.
  • The test also names #10696/#10722 variables that don't exist yet (TIER_1_*, REST_* in RAILROAD_DOLLARS).

Nothing fails at this head. Both #10696 and #10722 were still OPEN on 2026-12-01, and R5 passes.

Suggested remedy. State the R3/R5 maintenance contract in the test docstring, or move them to a non-blocking audit. Record the exact stale FEDERAL_GAPS list against #10696's head before whichever PR merges second.

S3 — Reference pages and source notes (OPEN)

  • Severity: SUGGESTION.
  • dc_ccsp_nonrecurrent_railroad_benefits.py:19 cites DC manual #page=13. The "Non-recurrent or inconsistent … income that is not part of the family's base income" bullet is on physical page 14; page 13 has the disability exemption.
  • nc_tanf_countable_railroad_benefits.py:11 cites WF-114 #page=2. The "Net Unearned Income: Amount of unearned income actually received" definition is on physical page 1. The Social Security Medicare add-back is on page 18, and the railroad row is on page 15.
  • railroad_disability_benefits.py:15 cites only the Illinois register page. DC CCSP reads this input too, so add the DC manual, page 13.
  • The comment conflict in IL unearned.yaml is already code-4 and is not repeated here.

S4 — New YAML case names break the Case N, description. convention (OPEN)

Severity: SUGGESTION

59 of the 102 added case names aren't numbered.

  • Illinois TANF: the two cases after Case 6 ("Illinois disregards a railroad disability annuity below the SSI payment level.") should be Case 7 and Case 8.
  • Colorado CCAP: "Colorado CCAP receipt or average"
  • New Hampshire: "New Hampshire scholarship three generations"
  • Wisconsin Shares: "Wisconsin Shares receipt month"
  • The CalWORKs, DC, TX and MO cases follow the same pattern.

Evidence Gaps

  • The shared lump-sum exclusion was not source-checked for DC TANF (D.C. Code 4-205.05), Idaho ICCP (IDAPA 16.06.12), Kansas LIEAP (KEESM 13361), Michigan CDC (BEM 500) and Montana TANF (TANF 501-1). Given the Maine result, each rule should be checked for whether it excludes retroactive and nonretroactive lump sums as the shared exclusion does.
  • Not source-checked: the exceptions left unchanged (IN CCDF, NC SCCA, MS Working Disabled, Contra Costa GA, Riverside GR); the rule quotations for Alameda GA, MT Best Beginnings, NC LIEAP, SC CCAP and ME TANF; and about 40 of the plain gross entries. Pages not confirmed: the TX TWC PDF anchor, the Wyoming child care Appendix B row, the HI HAR 17-798.3 scan, and several LII pages that returned navigation only.

Notes

  • Illinois TANF follows Pavel's 11-30 resolution after #11186: railroad_benefits is replaced by il_tanf_countable_railroad_benefits rather than kept alongside it, main's other income lines and the IDHS PM references are kept, the NOTE is updated, and main's Cases 1–6 come first. All 136 Illinois TANF cases pass.
  • Each of the 74 dated list blocks names exactly one railroad entry, every entry is an existing variable, and no list or program formula counts the same railroad dollars twice (social_security, pension_income and market_income exclude railroad benefits). Households without railroad benefits see no change. The other program-specific rules match their sources: CalWORKs, DC CCSP, Maryland PAA, Missouri SNC, North Dakota, Oregon, Wyoming, Texas, Washington ECEAP, Wisconsin, New Hampshire and North Carolina Work First. Eleven quotations from the "name railroad" table, nine plain entries and the sampled exceptions hold up.
  • Colorado CCAP: the rule is one choice per lump sum at a determination (receipt month or a 12-month average, whichever helps more). Evaluating each month as a determination month gives the same result, so the month-by-month minimum is not a finding.

Validation Summary

Local tests at the reviewed head (review venv, policyengine-core 3.37.2; imports resolved to the snapshot): 646 YAML cases across 99 files, including all 136 Illinois TANF cases, and 362 pytest cases (the invariants file and test_uprating_extensions.py) passed with 0 failures in one bounded run. Diagnostics: the Maine CCAP lump-sum case (policy role), the NH and WA parent-id branches (code role), and the Illinois non-parent case (coordinator). Sources: 46 retrieved, manifest check passed. CI: 36/36 checks pass at 721d366.

Timing

setup seconds: 5.00s; scope seconds: 60.00s; parallel review seconds: 624.50s; policy role seconds: 624.50s; code role seconds: 445.70s; adjudication seconds: 300.00s; consolidation cleanup seconds: 115.60s; elapsed seconds: 974.00s

Review Severity

REQUEST_CHANGES. Open findings: 2 critical, 3 should address, 4 suggestions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants