Fix verified_years in programs.yaml based on audit#7716
Merged
PavelMakarchuk merged 11 commits intomainfrom Mar 6, 2026
Merged
Fix verified_years in programs.yaml based on audit#7716PavelMakarchuk merged 11 commits intomainfrom
PavelMakarchuk merged 11 commits intomainfrom
Conversation
- Replace verified_years string with verified_start_year/verified_end_year integers - No end year for programs with uprating (valid indefinitely forward) - End year only for ended programs (acp) or programs with limited params (chip, csfp, pell_grant) - social_security: remove verified_years (benefits are input variables), mark partial - fdpir: remove verified_years (no real parameters), mark partial - chip: narrow to 2022-2024 - pell_grant: narrow to 2023-2025 - csfp: narrow to 2024-2025 - tanf: add verified_start_year 2022 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Replace verified_years string with verified_start_year/verified_end_year integers - No end year for programs with uprating (valid indefinitely forward) - End year only for ended programs (ACP) or limited params (CHIP, CSFP, Pell Grant) - Default start year 2021 for major ongoing programs (SNAP, SSI, Medicaid, etc.) - Federal income tax/payroll: 2018 (TCJA) - ACA PTC: 2022 (ARPA enhanced subsidies changed rules) - Newer programs (IRA credits, DOE rebates, clean vehicles): 2023-2024 - social_security: remove verified_years (benefits are input variables), mark partial - fdpir: remove verified_years (no real parameters), mark partial Co-Authored-By: Claude Opus 4.6 <[email protected]>
Evidence-based changes from full parameter coverage analysis: - SNAP: 2021→2022 (SUA values start FY2022) - WIC: 2021→2018 (benefit values start 2018) - ACA subsidies: 2022→2024 (formula_2024 gate in aca_ptc.py) - Lifeline: 2021→2017 (eligibility rules from 2016-12) - Pell Grant: 2023→2024 (SAI formula from 2024) - Head Start: 2024→2022 (state enrollment data from FY2022) - SSI: added note about blind SGA gap Co-Authored-By: Claude Opus 4.6 <[email protected]>
SSI code exempts blind individuals from SGA entirely rather than using gov.ssa.sga.blind. Actual binding constraint is resource limits starting 1985; FBR amounts go back to 1975. Co-Authored-By: Claude Opus 4.6 <[email protected]>
- SNAP: 2022 → 2021 (min_allotment params from 2021-01-01, SUA from 2021-10-01 for all states; no params missing in 2021) - Pell Grant: 2024 → 2023, remove verified_end_year (EFC path has full param coverage from 2023-01-01; SAI path from 2024) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Medicare: 2021 → 2024 (Part A premiums, IRMAA, MSP assets all start 2024) - Education tax credits: 2021 → 2022 (foreign_tax_credit in preceding_credits from 2022) - DOE HEEHR: 2024 → 2023 (all IRA rebate params start 2023-01-01) - DOE efficiency rebate: 2024 → 2023 (all substantive params start 2023-01-01) - CO OAP: 2024 → 2023 (all params start 2023-01-01) - CO CHP: 2024 → 2023 (child/copay params from 2023; income limit from 2022-04) - NYC income tax: 2021 → 2022 (all credit params start 2022-01-01) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
hua7450
requested changes
Mar 6, 2026
…g changelog - Update FDPIR status to partial with note that benefits are input variables - Remove .claude/worktrees files accidentally committed - Remove unrelated changelog fragment (update-claude-md-ruff.changed.md) Co-Authored-By: Claude Opus 4.6 <[email protected]>
hua7450
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
verified_yearsstring with structuredverified_start_year/verified_end_yearintegers, then updates all values based on full dependency tree audits of each program's parameter coverage.Structural changes
verified_yearsstring →verified_start_year/verified_end_yearintegerssocial_security: marked partial (benefits are input variables, not computed)fdpir: marked partial (parameters need expansion)Evidence-based start year updates (from dependency tree audits)
formula_2024gate inaca_ptc.py— variable returns 0 before 2024Methodology
For each program, traced the full variable computation tree (including all dependencies like FPG, TANF/BBCE, state-level params) and checked the earliest date with complete parameter coverage across all referenced parameter prefixes. The binding constraint (latest-starting required parameter) determines the
verified_start_year.Test plan
🤖 Generated with Claude Code