Repository navigation
Replace dead reference URLs for SC, KY, OK, FL, OH, MO, NC and SD - #9773
Merged
Merged
Conversation
Repoints dead reference URLs to the same document at a live official URL, an official page with the same content, or a pinned Wayback capture of the dead URL. Only URLs change. Lists the dead prefixes in known_dead_reference_urls/southeast.toml for the offline guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
These mappings were verified earlier but skipped by the first build because their mechanical liveness check had not run yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9773 +/- ##
============================================
- Coverage 100.00% 61.05% -38.95%
============================================
Files 4 34 +30
Lines 76 606 +530
Branches 2 4 +2
============================================
+ Hits 76 370 +294
- Misses 0 236 +236
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Review found the archived eFile South Carolina page shows six 2022 brackets with a 7% top rate, which contradicts the parameter, and that the archived eFile Wisconsin page stops at 2024 while nine Wisconsin files carry 2025 values. - South Carolina rates cite the issuing agency's 2024 SC4972 rate schedule (page 2) instead of the eFile capture. - The Wisconsin standard deduction, phase-out and rate files add DOR's Tax Exemption Devices reports (2022 and 2024 tax years) and, for the deduction files, the 2023 and 2025 Form 1-ES instructions. The eFile capture stays only for 2021, labelled as a third-party archive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/head_of_household.yaml # policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/joint.yaml # policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/separate.yaml # policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/single.yaml
The merge of main took this branch's side of each conflicted file, which put back URLs main had already replaced. Restore main's replacements; the branch's own reference changes in these files stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Merged by the US + core hub at head Gates:
|
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
Part of the repo-wide audit of dead reference URLs outside tax.ny.gov (follow-up to #9711 and #9730). This PR covers South Carolina, Kentucky, Oklahoma, Florida, Ohio, Missouri, North Carolina and South Dakota, plus the retired efile.com pages.
#page.parameters/,variables/anddocs/differs from the old line only inside URLs. The exceptions: four South Dakota Python reference assignments that ruff re-wrapped (their ASTs match apart from the URL strings), and the South Carolina and Wisconsin reference lists changed after review.policyengine_us/tests/code_health/known_dead_reference_urls/southeast.tomllists 31 of the dead prefixes, so the offline guard from Replace dead NY tax department reference URLs #9711 fails if they return.How each URL was checked
curl -sL -A "Mozilla/5.0"on 2026-09-30, rechecked with a Chrome user agent. A 403, 429 or bot challenge counted as unknown, not dead, and was rechecked inside a real browser page; URLs still behind a bot wall were left unchanged. A 200 that landed on a home, search, login or not-found page counted as dead.pdftotexton the cited#pagefor PDFs). Disputed items went to an adjudicator under fixed rules: the agency's own site, then another official publisher, then a Wayback capture of the dead URL. Third-party mirrors (taxformfinder.org, NBER and the like) were not accepted for official citations.#pageexists in its PDF. A few replacements behind bot walls were confirmed in a browser instead.Changes
https://codes.ohio.gov/assets/laws/revised-code/authenticated/4141/4141.01/3-31-2024/4141.01%203-31-2024.pdfhttps://codes.ohio.gov/assets/laws/revised-code/authenticated/41/4141/4141.01/10-3-2023/4141.01-10-3-2023.pdfhttps://codes.ohio.gov/assets/laws/revised-code/authenticated/4141/4141.25/3-31-2024/4141.25%203-31-2024.pdfhttps://codes.ohio.gov/assets/laws/revised-code/authenticated/41/4141/4141.25/3-28-2017/4141.25-3-28-2017.pdfhttps://codes.ohio.gov/ohio-administrative-code/rule-5180:2-16-01https://codes.ohio.gov/assets/laws/administrative-code/authenticated/5180/2/16/5180$2-16-01_20221211.pdfhttps://codes.ohio.gov/ohio-administrative-code/rule-5180:2-16-03https://codes.ohio.gov/assets/laws/administrative-code/authenticated/5180/2/16/5180$2-16-03_20220227.pdfhttps://codes.ohio.gov/ohio-administrative-code/rule-5180:2-16-05https://codes.ohio.gov/assets/laws/administrative-code/authenticated/5180/2/16/5180$2-16-05_20221211.pdfhttps://codes.ohio.gov/ohio-administrative-code/rule-5180:2-16-09https://codes.ohio.gov/assets/laws/administrative-code/authenticated/5180/2/16/5180$2-16-09_20231007.pdfhttps://dese.mo.gov/sites/dese/files/media/file/2025/12/2025%20Rates%20Held%20Harmless%202.0.xlsxhttps://dese.mo.gov/sites/g/files/zuston521/files/media/file/2025/12/2025%20Rates%20Held%20Harmless%202.0.xlsxhttps://dese.mo.gov/sites/dese/files/media/pdf/2025/10/10.2025%20Income%20Eligibility%20Table%20%282%29.pdfhttps://dese.mo.gov/sites/g/files/zuston521/files/media/pdf/2025/10/10.2025%20Income%20Eligibility%20Table%20%282%29.pdfhttps://dese.mo.gov/sites/dese/files/media/pdf/2026/04/ACF-118%20CCDF%20FFY%202025-2027%20For%20Missouri%20-%20Approved%203.26.2026.pdfhttps://dese.mo.gov/sites/g/files/zuston521/files/media/pdf/2026/04/ACF-118%20CCDF%20FFY%202025-2027%20For%20Missouri%20-%20Approved%203.26.2026.pdfhttps://dor.sc.gov/forms-site/Forms/SC1040ES_2023.pdfhttps://web.archive.org/web/20240309102037/https://dor.sc.gov/forms-site/Forms/SC1040ES_2023.pdfhttps://dor.sc.gov/forms-site/Forms/TC60_2021.pdfhttps://dor.sc.gov/sites/dor/files/forms/TC60_2021.pdfhttps://dor.sc.gov/forms-site/Forms/TC60_2022.pdfhttps://dor.sc.gov/sites/dor/files/forms/TC60_2022.pdfhttps://dor.sc.gov/rebate-2022https://web.archive.org/web/20251003201253/https://dor.sc.gov/rebate-2022https://dss.mo.gov/fsd/iman/medasst/0865-010-15.htmlhttps://web.archive.org/web/20250311062044/https://dss.mo.gov/fsd/iman/medasst/0865-010-15.htmlhttps://dss.sd.gov/docs/childcare/assistance/Subsidy_Manual.pdfhttps://web.archive.org/web/20251031171652/https://dss.sd.gov/docs/childcare/assistance/Subsidy_Manual.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/511-EIC.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/511-EIC-2024.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/511-Pkt.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/511-Pkt-2024.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/538-H.pdfhttps://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2024/538-H-2024.pdfhttps://oklahoma.gov/okdhs/library/policy/current/oac-340/chapter-10/subchapter-3/parts-3/earned-income-disregard.htmlhttps://web.archive.org/web/20250808211623/https://oklahoma.gov/okdhs/library/policy/current/oac-340/chapter-10/subchapter-3/parts-3/earned-income-disregard.htmlhttps://policies.ncdhhs.gov/wp-content/uploads/chapter-8-parental-fees-7.pdfhttps://policies.ncdhhs.gov/wp-content/uploads/Chapter-8-CN26-03-Parent-Fees-2-BLACK.pdfhttps://revenue.ky.gov/Forms/1999_42a740p.pdfhttps://web.archive.org/web/20161221194043/https://revenue.ky.gov/Forms/1999_42a740p.pdfhttps://revenue.ky.gov/Forms/2000_42a740p.pdfhttps://web.archive.org/web/20161221171528/https://revenue.ky.gov/Forms/2000_42a740p.pdfhttps://revenue.ky.gov/Forms/740%20Packet%20Instructions%20(2025).pdfhttps://revenue.ky.gov/Forms/740%20Packet%20Instructions.pdfhttps://revenue.ky.gov/Forms/740%20instructions%20packet%20(2025).pdfhttps://revenue.ky.gov/Forms/740%20instructions%20packet%20(2024).pdfhttps://www.efile.com/oregon-tax-brackets-rates-and-forms/https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2023.pdfhttps://www.efile.com/pdf/5988.pdfhttps://web.archive.org/web/20230220132302/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/2022/2022-IIT-Forms/BOOK_MI-1040CR-7.pdf?rev=d765b421bc7343c0a54793499dc550db&hash=0B10BE7DD0B91D7F609230E8F636EBC8https://www.efile.com/south-carolina-tax-rates-brackets-and-forms/https://dor.sc.gov/sites/dor/files/forms/SC4972_2024.pdf#page=2https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/(see "Changes after review")https://www.myflfamilies.com/sites/default/files/2023-02/2600.pdfhttps://ffic.myflfamilies.com/manual/2600.pdfhttps://www.myflfamilies.com/sites/default/files/2025-05/Appendix%20A-12%20-%20State%20Funded%20Programs%20Eligibility%20Standards.pdfhttps://web.archive.org/web/20251030232040/https://www.myflfamilies.com/sites/default/files/2025-05/Appendix%20A-12%20-%20State%20Funded%20Programs%20Eligibility%20Standards.pdfhttps://www.senate.mo.gov/25info/bts_web/bill.aspx?SessionType=R&BillID=4957943https://www.senate.mo.gov/BillTracking/Bills/BillInformation?year=2025&billid=4957943Left unchanged
These URLs are not changed here; each needs more than a URL swap or turned out not to be dead.
https://www.myflfamilies.com/sites/default/files/2024-06/Appendix%20A-12.pdf: unresolved (The cited edition, 'effective 2024-07-01' per the repo titles (columns Jan 2023, Jan 2024, Jul 2024), cannot be found anywhere. (1) Live: DCF's ESS manual page )Changes after review
The independent review (GPT-6.1 Sol, tier hard) of
6959175b3arequested changes. Commit11f538dbebaddresses them. Each new page was checked withpdftotext.sc/tax/income/rates.yamlcited an eFile capture that shows six 2022 brackets with a 7% top rate, against the file's three brackets and 6.5%. It now cites the issuing agency's SC4972 (2024) Tax Rate Schedule, page 2: 0% to ,460, 3% to ,330, 6.2% above, matching the 2024 values. The "third party source" comment is gone, and the guard replacement points at SC4972. The other years keep their existing official citations.efile.com/pdf/5988.pdfrow is a deliberate exception to "Wayback of the same URL". CDX has no captures of the eFile PDF, and michigan.gov no longer serves the 2022 MI-1040CR-7 booklet (IIT/TY2022/BOOK_MI-1040CR-7.pdfis 404). The replacement is therefore an archive of the issuing agency's own booklet. Its page numbers differ from eFile's copy (11→9, 13→11). The reviewer confirmed that pages 9 and 11 carry the 90%/50% rates, the …,433 allowances, the exemption step and the Table B caps.Verification
pytest policyengine_us/tests/code_health/test_known_dead_reference_urls.pypasses locally, including the new entries.ruff format --check .(locked ruff 0.15.5) passes.axiom: n/a: reference-only
🤖 Generated with Claude Code