Repository navigation
Repoint Arkansas DFA references off the dead images/uploads/incomeTaxOffice path - #9494
Conversation
…Office path DFA moved its income-tax PDFs to wp-content/uploads; the old images/uploads/incomeTaxOffice URLs return 404. Rewrite every remaining href/reference to the same filename under wp-content/uploads, preserving #page anchors, across the AR parameters, the contrib AR dependent-credit parameter, and the AR variable reference strings. Leave the two gross_income/sources files to #9451. TaxBrackets_2014.pdf no longer exists on dfa.arkansas.gov, so the 2014 bracket reference in rates/main/rate.yaml now points at the 2014 AR1000F/AR1000NR instruction booklet (page 6 bracket change, page 28 Regular Tax Table). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9494 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 4 32 +28
Lines 76 501 +425
Branches 2 2
==========================================
+ Hits 76 501 +425
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:
|
One conflict, in ar_retirement_or_disability_benefits_exemption_person.py. Main already repointed that file's reference (#9507) and rewrote its formula (#9423, #9510), so main's version is kept whole; the branch's side carried the old formula body. No images/uploads/incomeTaxOffice path remains in the tree. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Main (including #9451's fix to |
Merge auditAdmin-merged at the reviewed head
CI was 37/37 green on the reviewed head, checked with a fail-closed gate immediately before the merge ( Corrections to the description
Pre-existing issues found in review (not caused by this PR)
The follow-ups are queued as separate tasks. 🤖 Generated with Claude Code |
Summary
Arkansas DFA moved its income-tax PDFs off
https://www.dfa.arkansas.gov/images/uploads/incomeTaxOffice/…; those URLs now return 404 (two of them 301 to the new location). The same filenames live underhttps://www.dfa.arkansas.gov/wp-content/uploads/…, which is where DFA's own 2021–2024 tax-forms pages link them today.This PR rewrites every remaining
images/uploads/incomeTaxOffice/href in the repo to thewp-content/uploads/equivalent, keeping filenames and#page=anchors byte-identical.parameters/gov/states/ar/, the contrib AR dependent-credit parameter, and 33 AR variablereferencestrings (extended beyond the parameter files because the variables carried the same dead host path).parameters/gov/states/ar/tax/income/gross_income/sources/individual.yamlandjoint.yamlwere left to Exclude Arkansas unemployment compensation from gross income in 2021 #9451, which merged on 2026-09-16; main was merged into this branch on 2026-09-20, so the branch now has zeroimages/uploads/incomeTaxOfficehrefs.referencestring inar_itemized_deductions_indiv.py/_joint.py(required byruff format --check).Filename that did not resolve under wp-content/uploads
TaxBrackets_2014.pdf(the "2014 Indexed Tax Brackets" reference inparameters/gov/states/ar/tax/income/rates/main/rate.yaml) is 404 under both paths, is absent from DFA's Forms Archive (which lists bracket sheets for 2003–2013 and 2015–2018 but not 2014), and no filename variant resolves. The reference now points at the DFA-hosted 2014 AR1000F/AR1000NR instruction booklet,LongBookwTaxTables_2014.pdf:#page=6— "Tax Bracket Reduced (Act 1459 of 2013)": the 1% bracket reduced to 0.9% on income $0–$4,299 for tax year 2014.#page=28— "2014 Regular Tax Table" (PDF page numbers match the booklet's printed index).The booklet states the 0.9% bottom bracket explicitly (page 6) and the 7% top rate (page 30 note) but does not print the indexed bracket schedule the retired sheet did. An independent check recomputed every one of the 503 rows of the 2014 Regular Tax Table (pages 28–30) as round-half-up tax at the cell midpoint under the yaml's 2014 schedule (0.9/2.5/3.5/4.5/6/7% at $0/4,300/8,400/12,600/21,000/35,100); all 503 match, and the 2015 schedule or a 1% bottom rate mismatch hundreds of rows. No parameter values changed. The Wayback Machine was offline/rate-limiting throughout this session, so an archived copy of the retired sheet could not be checked; adding one as a third reference is a possible follow-up.
Verification
content-type: application/pdfand no redirects (curl). The 16 unchanged filenames match the hrefs on DFA's 2021, 2022, 2023, and 2024 tax-forms pages. Of the old URLs, 15 return 404 and two return 301: the 2024 booklet redirects to the exact new URL, and the 2023 booklet redirects to a-1.pdfre-render (Aug 2024) that is content-identical on every anchored page; this PR keeps the un-suffixed 2023 filename that DFA's 2023 forms page links.uv run ruff format --check .anduv run ruff check .pass (locked ruff 0.15.5).policyengine-core test policyengine_us/tests/policy/baseline/gov/states/ar(480 passed) andpolicyengine_us/tests/policy/contrib/states/ar(17 passed) against this branch.axiom: n/a: reference-URL maintenance only; no rule, parameter, or eligibility logic changed.
🤖 Generated with Claude Code