From 4a43982777a6694ca419bc1897c19b0d7debae01 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 3 Oct 2026 07:43:34 -0400 Subject: [PATCH 1/2] Replace dead Massachusetts reference URLs Repoints 83 references whose mass.gov URLs no longer resolve to the same document at mass.gov, a federal publisher, or a pinned Wayback capture of the dead URL. Only URLs change. Lists 24 dead prefixes in known_dead_reference_urls/ma.toml for the offline guard. Co-Authored-By: Claude Opus 5.5 --- changelog.d/dead-urls-ma.fixed.md | 1 + docs/gov/states/de/tax/income/index.ipynb | 2 +- docs/gov/states/ma/tax/income/index.ipynb | 2 +- .../states/ma/doer/liheap/benefit_level.yaml | 4 +- .../rent_threshold_subsidized_housing.yaml | 2 +- .../liheap/hecs/amount/non_subsidized.yaml | 4 +- .../doer/liheap/hecs/amount/subsidized.yaml | 4 +- .../prior_year_cost_threshold.yaml | 4 +- .../standard/amount/non_subsidized.yaml | 4 +- .../liheap/standard/amount/subsidized.yaml | 4 +- .../ccfa/copay/fee_level/fee_percentages.yaml | 2 +- .../copay/fee_level/income_bracket_width.yaml | 2 +- .../ccfa/copay/fee_level/maximum_level.yaml | 2 +- .../ccfa/copay/ratio/additional_child.yaml | 2 +- .../ma/eec/ccfa/copay/ratio/first_child.yaml | 2 +- .../ma/eec/ccfa/copay/ratio/second_child.yaml | 2 +- .../countable_income/sources/unearned.yaml | 2 +- ...deductible_against_interest_dividends.yaml | 2 +- .../long_term_collectibles_deduction.yaml | 2 +- .../credits/child_and_family/amount.yaml | 4 +- .../child_and_family/child_age_limit.yaml | 4 +- .../child_and_family/dependent_cap.yaml | 4 +- .../child_and_family/elderly_age_limit.yaml | 4 +- .../income/credits/dependent_care/amount.yaml | 2 +- .../credits/dependent_care/dependent_cap.yaml | 2 +- .../credits/dependent_care/in_effect.yaml | 2 +- .../ma/tax/income/credits/eitc/match.yaml | 2 +- .../limited_income_credit/income_limit.yaml | 2 +- .../limited_income_credit/percent.yaml | 2 +- .../senior_circuit_breaker/amount/max.yaml | 2 +- .../amount/min_real_estate_tax.yaml | 2 +- .../amount/rent_tax_share.yaml | 2 +- .../credits/taxpayer_refund_rebate/rate.yaml | 2 +- .../plan_529_contributions/cap.yaml | 2 +- .../ma/tax/income/deductions/rent/cap.yaml | 24 ++-- .../ma/tax/income/exemptions/aged/age.yaml | 2 +- .../ma/tax/income/exemptions/aged/amount.yaml | 2 +- .../ma/tax/income/exemptions/blind.yaml | 2 +- .../ma/tax/income/exemptions/personal.yaml | 2 +- .../income/rates/part_a/capital_gains.yaml | 2 +- .../states/ma/tax/income/rates/part_c.yaml | 2 +- .../ma_dependent_exemption_reform.py | 2 +- .../known_dead_reference_urls/ma.toml | 124 ++++++++++++++++++ .../eligibility/ma_liheap_hecs_eligible.py | 2 +- .../ma/doer/liheap/ma_liheap_benefit_level.py | 2 +- .../states/ma/doer/liheap/ma_liheap_fpg.py | 2 +- .../ma/doer/liheap/ma_liheap_heating_type.py | 2 +- .../doer/liheap/ma_liheap_utility_category.py | 2 +- .../ma/doer/liheap/payment/ma_liheap.py | 2 +- .../liheap/payment/ma_liheap_hecs_payment.py | 2 +- .../payment/ma_liheap_standard_payment.py | 2 +- .../ma/eec/ccfa/copay/ma_ccfa_base_copay.py | 2 +- .../ma/eec/ccfa/copay/ma_ccfa_copay_level.py | 2 +- .../ccfa/ma_ccfa_countable_income_person.py | 2 +- .../gov/states/ma/eec/ccfa/ma_ccfa_fpg.py | 2 +- .../credits/ma_limited_income_tax_credit.py | 2 +- .../ma_limited_income_tax_credit_potential.py | 2 +- .../ma_529_deduction.py | 2 +- .../gov/states/ma/tax/income/ma_income_tax.py | 2 +- .../tax/income/ma_non_refundable_credits.py | 2 +- .../ma/tax/income/ma_refundable_credits.py | 2 +- .../ma_part_b_excess_exemption.py | 2 +- ..._part_b_taxable_income_before_exemption.py | 2 +- .../ma_part_b_taxable_income_exemption.py | 2 +- .../housing/heating_expense_last_year.py | 2 +- 65 files changed, 209 insertions(+), 84 deletions(-) create mode 100644 changelog.d/dead-urls-ma.fixed.md create mode 100644 policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml diff --git a/changelog.d/dead-urls-ma.fixed.md b/changelog.d/dead-urls-ma.fixed.md new file mode 100644 index 00000000000..dba6234e19e --- /dev/null +++ b/changelog.d/dead-urls-ma.fixed.md @@ -0,0 +1 @@ +Replace dead Massachusetts reference URLs (Form 1 instructions and schedules, Department of Revenue pages, child care and LIHEAP documents) with live successors or pinned Wayback captures, and guard against their return. diff --git a/docs/gov/states/de/tax/income/index.ipynb b/docs/gov/states/de/tax/income/index.ipynb index 9da546ab727..3d07dae31e5 100644 --- a/docs/gov/states/de/tax/income/index.ipynb +++ b/docs/gov/states/de/tax/income/index.ipynb @@ -55856,7 +55856,7 @@ "source": [ "### Massachusetts Limited Income Credit\n", "\n", - "See [**Schedule NTS-L-NR/PY** No Tax Status and Limited Income Credit](https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download)." + "See [**Schedule NTS-L-NR/PY** No Tax Status and Limited Income Credit](https://web.archive.org/web/20240317005519/https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download)." ] }, { diff --git a/docs/gov/states/ma/tax/income/index.ipynb b/docs/gov/states/ma/tax/income/index.ipynb index 9451e4074a4..e695f705d5e 100644 --- a/docs/gov/states/ma/tax/income/index.ipynb +++ b/docs/gov/states/ma/tax/income/index.ipynb @@ -76046,7 +76046,7 @@ "source": [ "### Massachusetts Limited Income Credit\n", "\n", - "See [**Schedule NTS-L-NR/PY** No Tax Status and Limited Income Credit](https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download)." + "See [**Schedule NTS-L-NR/PY** No Tax Status and Limited Income Credit](https://web.archive.org/web/20240317005519/https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download)." ] }, { diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/benefit_level.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/benefit_level.yaml index ad156408444..c3eb17d7858 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/benefit_level.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/benefit_level.yaml @@ -9,11 +9,11 @@ metadata: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/eligibility/rent_threshold_subsidized_housing.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/eligibility/rent_threshold_subsidized_housing.yaml index c746f40d57f..9b5edbc3c3d 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/eligibility/rent_threshold_subsidized_housing.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/eligibility/rent_threshold_subsidized_housing.yaml @@ -9,4 +9,4 @@ metadata: - title: HEAP Income Eligibility and Benefit Chart for program year 2025 href: https://liheapch.acf.gov/tables/subsidize.htm#MA - title: FY25 Model Plan Proposed Changes_Detail Form - href: https://www.mass.gov/doc/fy2025-heap-state-plan-draft/download#page=8 + href: https://liheapch.acf.gov/docs/2025/state-plans/MA_Plan_2025.pdf#page=8 diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/non_subsidized.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/non_subsidized.yaml index ab7d47a8c01..ae66baafdbf 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/non_subsidized.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/non_subsidized.yaml @@ -34,8 +34,8 @@ metadata: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/subsidized.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/subsidized.yaml index cb8717cec9b..e755a37ca08 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/subsidized.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/amount/subsidized.yaml @@ -34,8 +34,8 @@ metadata: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/eligibility/prior_year_cost_threshold.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/eligibility/prior_year_cost_threshold.yaml index b67fadfd5f1..2cf4bc4050e 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/eligibility/prior_year_cost_threshold.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/hecs/eligibility/prior_year_cost_threshold.yaml @@ -47,10 +47,10 @@ reference: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download - title: Fiscal Year 2026 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.mass.gov/info-details/learn-about-home-energy-assistance-heap diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/non_subsidized.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/non_subsidized.yaml index c80d1b29e0c..28b35af6df2 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/non_subsidized.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/non_subsidized.yaml @@ -113,10 +113,10 @@ metadata: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download - title: Fiscal Year 2026 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.mass.gov/info-details/learn-about-home-energy-assistance-heap diff --git a/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/subsidized.yaml b/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/subsidized.yaml index ab7522756b6..b97da1d57b2 100644 --- a/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/subsidized.yaml +++ b/policyengine_us/parameters/gov/states/ma/doer/liheap/standard/amount/subsidized.yaml @@ -114,10 +114,10 @@ metadata: - title: Fiscal Year 2022 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.masslegalservices.org/system/files/blog/FY_2022_LIHEAP_Income_Eligibility_and_Benefit_Chart_APRIL_2022_UTILITY_Increase.pdf - title: Fiscal Year 2023 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download + href: https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download - title: Fiscal Year 2024 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.commteam.org/wp-content/uploads/2024/03/FY-2024-LIHEAP-Income-Eligibility-and-Benefit-Chart_Incomes-March-2024-Increase.pdf - title: Fiscal Year 2025 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels - href: https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download + href: https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download - title: Fiscal Year 2026 Home Energy Assistance Program (HEAP) Income Eligibility and Benefit Levels href: https://www.mass.gov/info-details/learn-about-home-energy-assistance-heap diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml index 14aa03e832e..fcb40e58e02 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml @@ -10,7 +10,7 @@ metadata: - Fee level reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download - title: EEC Financial Assistance Parent Fee Table FY2026 href: https://www.mass.gov/doc/parent-fee-chart-fy2026/download # The FY2024 chart (effective 2023-10-01) could not be located; the diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_bracket_width.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_bracket_width.yaml index 5c9067ec249..2623b949525 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_bracket_width.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_bracket_width.yaml @@ -10,7 +10,7 @@ metadata: - Household size reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download - title: EEC Financial Assistance Parent Fee Table FY2026 href: https://www.mass.gov/doc/parent-fee-chart-fy2026/download # The FY2024 chart (effective 2023-10-01) could not be located; the diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml index ffd063b6b68..4941f4257c4 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml @@ -8,6 +8,6 @@ metadata: label: Massachusetts CCFA maximum copay level reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download - title: EEC Financial Assistance Parent Fee Table FY2026 href: https://www.mass.gov/doc/parent-fee-chart-fy2026/download diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml index 3edc04096bc..7959099f656 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA additional child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025 + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml index db4a67a8268..b62289b748a 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA first child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025 + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml index d89272471e8..08809fea732 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA second child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://www.mass.gov/doc/parent-fee-chart-fy2025 + href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources/unearned.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources/unearned.yaml index 01907fcbd30..44da8df8d85 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources/unearned.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources/unearned.yaml @@ -48,7 +48,7 @@ metadata: - title: EEC Financial Assistance Policy Guide, section 4.2.C.3, income from other sources href: https://www.mass.gov/doc/eecs-financial-assistance-policy-guide-february-1-2022/download#page=38 - title: EEC Interim Income Eligible Child Care Financial Assistance Program Policies, effective October 1, 2023, countable and excluded income - href: https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download#page=12 + href: https://web.archive.org/web/20231018152139/https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download#page=12 - title: Massachusetts CCDF State Plan FY 2022-2024 Amendment 4, section 3.1.3(a), effective October 1, 2023 href: https://www.mass.gov/doc/ma-eec-ccdf-state-plan-fy-2022-2024-amend-4/download#page=61 - title: EEC Policy Advisory Field Operations 2023-4, income exclusions effective October 1, 2023 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/deductible_against_interest_dividends.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/deductible_against_interest_dividends.yaml index 376f68ae6e6..e0c645e21a4 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/deductible_against_interest_dividends.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/deductible_against_interest_dividends.yaml @@ -9,7 +9,7 @@ metadata: - title: Mass. General Laws c.62 § 3(B)(a)(19) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-3 - title: Form 1 2022 Massachusetts Resident Income Tax (line 20) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=25 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=25 - title: Form 1 2023 Massachusetts Resident Income Tax (line 20) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=25 - title: Form 1 2024 Massachusetts Resident Income Tax - Schedule B Line 20 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/long_term_collectibles_deduction.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/long_term_collectibles_deduction.yaml index 83c1628b1a8..dbe6be9aaf6 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/long_term_collectibles_deduction.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/capital_gains/long_term_collectibles_deduction.yaml @@ -8,7 +8,7 @@ metadata: - title: Mass. General Laws c.62 § 2(b)(3)(c) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-2 - title: Form 1 2022 Massachusetts Resident Income Tax (line 27) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=25 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=25 - title: Form 1 2023 Massachusetts Resident Income Tax (line 27) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=26 - title: Form 1 2024 Massachusetts Resident Income Tax - 2024 Personal Income Tax Rates diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/amount.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/amount.yaml index cb4f832e0b3..c8a85083acd 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/amount.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/amount.yaml @@ -6,9 +6,9 @@ values: metadata: reference: - title: Form 1 2021 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 - title: Form 1 2022 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 - title: Form 1 2023 Massachusetts Resident Income Tax (line 46) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=17 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 46 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/child_age_limit.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/child_age_limit.yaml index 235d79a11fa..040ab1661ae 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/child_age_limit.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/child_age_limit.yaml @@ -5,9 +5,9 @@ values: metadata: reference: - title: Form 1 2021 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 - title: Form 1 2022 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 - title: Massachusetts General Laws Part I Title IX Chapter 62 Section 6 (y) (ii) (B) href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section6 - title: Form 1 2023 Massachusetts Resident Income Tax (line 46) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/dependent_cap.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/dependent_cap.yaml index 940ad323b1f..64c743dd4b8 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/dependent_cap.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/dependent_cap.yaml @@ -5,9 +5,9 @@ values: metadata: reference: - title: Form 1 2021 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 - title: Form 1 2022 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 - title: Law Result Summary Part I Title IX Chapter 62 Section 6 (y) (ii) (B) href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section6 - title: Form 1 2023 Massachusetts Resident Income Tax (line 46) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/elderly_age_limit.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/elderly_age_limit.yaml index 7af97715f90..207b49ef37a 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/elderly_age_limit.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/child_and_family/elderly_age_limit.yaml @@ -4,9 +4,9 @@ values: metadata: reference: - title: Form 1 2021 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=17 - title: Form 1 2022 Massachusetts Resident Income Tax (line 46) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 - title: Form 1 2023 Massachusetts Resident Income Tax (line 46) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=17 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 46 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/amount.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/amount.yaml index 16a1179124b..486b4b9d8c2 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/amount.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/amount.yaml @@ -6,7 +6,7 @@ metadata: - title: Mass. General Laws c.62 § 6(x) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6#(x)- - title: Form 1 2022 Massachusetts Resident Income Tax (line 45) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 unit: currency-USD period: year label: Massachusetts dependent care credit diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/dependent_cap.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/dependent_cap.yaml index 9f6229b3309..9258cc98a16 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/dependent_cap.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/dependent_cap.yaml @@ -6,6 +6,6 @@ metadata: - title: Mass. General Laws c.62 § 6(x) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6#(x)- - title: Form 1 2022 Massachusetts Resident Income Tax (line 45) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 unit: person label: Massachusetts dependent care credit dependent cap diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/in_effect.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/in_effect.yaml index 2d02d3fcaeb..969e583bd2b 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/in_effect.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/dependent_care/in_effect.yaml @@ -10,6 +10,6 @@ metadata: - title: Mass. General Laws c.62 § 6(x) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6#(x)- - title: Form 1 2021 Massachusetts Resident Income Tax (line 45) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=16 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=16 - title: Form 1 2023 Massachusetts Resident Income Tax (Child and Family Tax Credit) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=4 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/eitc/match.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/eitc/match.yaml index 545349ab2ab..f12ed7bb7df 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/eitc/match.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/eitc/match.yaml @@ -9,7 +9,7 @@ metadata: - title: Mass. General Laws c.62 § 6(h)(1) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6 - title: Form 1 2022 Massachusetts Resident Income Tax (line 43) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=16 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=16 - title: Form 1 2023 Massachusetts Resident Income Tax (line 43) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=16 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 43 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/income_limit.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/income_limit.yaml index 7c193e8db95..3f54774ba15 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/income_limit.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/income_limit.yaml @@ -6,7 +6,7 @@ metadata: - title: § 5 Exempt income of individuals; exemption of stock bonus, pension or profit-sharing trust href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section5 - title: Form 1 2022 Massachusetts Resident Income Tax (line 29) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=13 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=13 - title: Form 1 2023 Massachusetts Resident Income Tax (line 29) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=13 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 29 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/percent.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/percent.yaml index 5c187779da8..d33acb4b08c 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/percent.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/limited_income_credit/percent.yaml @@ -6,7 +6,7 @@ metadata: - title: § 5 Exempt income of individuals; exemption of stock bonus, pension or profit-sharing trust href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section5 - title: Form 1 2022 Massachusetts Resident Income Tax (line 29) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=14 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=14 - title: Form 1 2023 Massachusetts Resident Income Tax (line 29) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=13 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 29 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/max.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/max.yaml index 3590fda96f5..2417ad7903f 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/max.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/max.yaml @@ -27,7 +27,7 @@ metadata: - title: Massachusetts Senior Circuit Breaker Tax Credit | Mass.gov href: https://www.mass.gov/info-details/massachusetts-senior-circuit-breaker-tax-credit - title: Form 1 2022 Massachusetts Resident Income Tax (line 44) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=17 - title: Form 1 2023 Massachusetts Resident Income Tax (line 44) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=16 - title: Form 1 2024 Massachusetts Resident Income Tax - Annual Update of Circuit Breaker Tax Credit diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/min_real_estate_tax.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/min_real_estate_tax.yaml index 1c15d32aba8..89dc9e4da8d 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/min_real_estate_tax.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/min_real_estate_tax.yaml @@ -9,7 +9,7 @@ metadata: - title: Mass. General Laws c.62 § 6(k)(2) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6 - title: Form 1 2022 Massachusetts Resident Income Tax (What Are the Rules for Filing a Joint Return?) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=6 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=6 - title: 2023 Schedule CB href: https://www.mass.gov/doc/2023-schedule-cb-circuit-breaker-credit/download - title: Form 1 2023 Massachusetts Resident Income Tax (What Are the Rules for Filing a Joint Return?) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/rent_tax_share.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/rent_tax_share.yaml index fb13817a271..f18487221a3 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/rent_tax_share.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/senior_circuit_breaker/amount/rent_tax_share.yaml @@ -9,7 +9,7 @@ metadata: - title: Mass. General Laws c.62 § 6(k) href: https://www.mass.gov/info-details/mass-general-laws-c62-ss-6 - title: Form 1 2022 Massachusetts Resident Income Tax (What Are the Rules for Filing a Joint Return?) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=6 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=6 - title: Form 1 2023 Massachusetts Resident Income Tax (What Are the Rules for Filing a Joint Return?) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=5 - title: Form 1 2024 Massachusetts Resident Income Tax - Annual Update of Circuit Breaker Tax Credit diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml index 3cc54b66d0b..26ec783d278 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml @@ -7,4 +7,4 @@ metadata: label: Massachusetts taxpayer refund rebate tax rate reference: - title: Massachusetts Chapter 62F Taxpayer Refunds - href: https://www.mass.gov/info-details/chapter-62f-taxpayer-refunds + href: https://www.mass.gov/audit/audit-of-the-determination-of-whether-net-state-tax-revenues-exceeded-allowable-state-tax-revenues-0 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/deductions/plan_529_contributions/cap.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/deductions/plan_529_contributions/cap.yaml index fcce49bc076..287ef3064e0 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/deductions/plan_529_contributions/cap.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/deductions/plan_529_contributions/cap.yaml @@ -10,7 +10,7 @@ metadata: - title: Massachusetts General Laws Chapter 62 § 3(B)(a)(14) href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section3 - title: Massachusetts DOR 529 Deduction Information - href: https://www.mass.gov/info-details/529-plan-deduction + href: https://www.mass.gov/technical-information-release/tir-22-5-tax-provisions-in-recent-massachusetts-legislation#ii-provisions-only-affecting-individual-taxpayers - title: Filing Status on Massachusetts Personal Income Tax href: https://www.mass.gov/info-details/filing-status-on-massachusetts-personal-income-tax diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/deductions/rent/cap.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/deductions/rent/cap.yaml index 0146d9d1b6d..8befeb53385 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/deductions/rent/cap.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/deductions/rent/cap.yaml @@ -24,29 +24,29 @@ metadata: href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=11 # Guide specifies the $1,500 for married filing separate. - title: Form 1 2022 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2022-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download#page=11 - title: Form 1 2021 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2021-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download#page=11 - title: Form 1 2020 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2020-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20250901231525/https://www.mass.gov/doc/2020-form-1-instructions/download#page=11 - title: Form 1 2019 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2019-form-1-instructions/download#page=12 + href: https://web.archive.org/web/20250901192209/https://www.mass.gov/doc/2019-form-1-instructions/download#page=12 - title: Form 1 2018 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2018-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20250901024119/https://www.mass.gov/doc/2018-form-1-instructions/download#page=11 - title: Form 1 2017 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2017-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20250419195851/https://www.mass.gov/doc/2017-form-1-instructions/download#page=11 - title: Form 1 2016 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2016-form-1-instructions/download#page=11 + href: https://web.archive.org/web/20250405233223/https://www.mass.gov/doc/2016-form-1-instructions/download#page=11 - title: Form 1 2015 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2015-form-1-instructions/download#page=22 + href: https://web.archive.org/web/20250421070754/https://www.mass.gov/doc/2015-form-1-instructions/download#page=22 - title: Form 1 2014 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2014-form-1-instructions/download#page=10 + href: https://web.archive.org/web/20250330190731/https://www.mass.gov/doc/2014-form-1-instructions/download#page=10 - title: Form 1 2013 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2013-form-1-instructions/download#page=23 + href: https://web.archive.org/web/20250712232750/https://www.mass.gov/doc/2013-form-1-instructions/download#page=23 - title: Form 1 2012 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2012-form-1-instructions/download#page=20 + href: https://web.archive.org/web/20250421031433/https://www.mass.gov/doc/2012-form-1-instructions/download#page=20 - title: Form 1 2011 Massachusetts Resident Income Tax (line 14) - href: https://www.mass.gov/doc/2011-form-1-instructions/download#page=20 + href: https://web.archive.org/web/20250330145430/https://www.mass.gov/doc/2011-form-1-instructions/download#page=20 unit: currency-USD period: year breakdown: diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/age.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/age.yaml index a67fd9f5238..a21b8934c39 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/age.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/age.yaml @@ -6,7 +6,7 @@ metadata: - title: "Taxable income: adjusted gross income less deductions and exemptions (b)(2)(C)" href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section3 - title: Form 1 2021 Massachusetts Resident Income Tax Return (box 2c) - href: https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download + href: https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download - title: Form 1 2023 Massachusetts Resident Income Tax (Line 2c) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=9 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 2c diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/amount.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/amount.yaml index bcd77b9bdec..33169fcc4fe 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/amount.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/aged/amount.yaml @@ -6,7 +6,7 @@ metadata: - title: "Taxable income: adjusted gross income less deductions and exemptions (b)(2)(C)" href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section3 - title: Form 1 2021 Massachusetts Resident Income Tax Return (box 2c) - href: https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download + href: https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download - title: Form 1-NR 2022 Massachusetts Nonresident Income Tax Return (box 2c) href: https://www.mass.gov/doc/2022-form-1-massachusetts-resident-income-tax-return/download - title: Form 1 2023 Massachusetts Resident Income Tax (Line 2c) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/blind.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/blind.yaml index dde4a0100f4..0232bb06969 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/blind.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/blind.yaml @@ -6,7 +6,7 @@ metadata: - title: "Taxable income: adjusted gross income less deductions and exemptions (b)(2)(B)" href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section3 - title: Form 1 2021 Massachusetts Resident Income Tax Return (box 2d) - href: https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download + href: https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download - title: Form 1-NR 2022 Massachusetts Nonresident Income Tax Return (box 2c) href: https://www.mass.gov/doc/2022-form-1-massachusetts-resident-income-tax-return/download - title: Form 1 2023 Massachusetts Resident Income Tax (Line 2d) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/personal.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/personal.yaml index d65d8cd1836..ff3632e6a63 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/personal.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/exemptions/personal.yaml @@ -33,7 +33,7 @@ metadata: - title: State Individual Income Tax Rates and Brackets (Tax Foundation) href: https://taxfoundation.org/publications/state-individual-income-tax-rates-and-brackets/ - title: Form 1 2022 | Massachusetts | Resident Income Tax (line 2) - href: https://www.mass.gov/doc/2022-form-1-instructions/download + href: https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download - title: Form 1 2023 Massachusetts Resident Income Tax (Line 2a) href: https://www.mass.gov/doc/2023-form-1-instructions/download#page=9 - title: Form 1 2024 Massachusetts Resident Income Tax - Line 2a diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_a/capital_gains.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_a/capital_gains.yaml index e498b3e1650..a8c6c7419ae 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_a/capital_gains.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_a/capital_gains.yaml @@ -12,7 +12,7 @@ metadata: - title: "Massachusetts Tax Rates" href: https://www.mass.gov/service-details/massachusetts-tax-rates - title: "Schedule B Interest, Dividends and Certain Capital Gains and Losses" - href: https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download + href: https://web.archive.org/web/20240317005446/https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download - title: Bill H.4104 Section 8 href: https://malegislature.gov/Bills/193/H4104/BillHistory - title: Form 1 2023 Massachusetts Resident Income Tax (Line 23a) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_c.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_c.yaml index f454751973b..9f44fc542d9 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_c.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/rates/part_c.yaml @@ -14,7 +14,7 @@ metadata: - title: State Individual Income Tax Rates and Brackets (Tax Foundation) href: https://taxfoundation.org/publications/state-individual-income-tax-rates-and-brackets/ - title: "Schedule B Interest, Dividends and Certain Capital Gains and Losses" - href: https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download + href: https://web.archive.org/web/20240317005446/https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download - title: Form 1 2024 Massachusetts Resident Income Tax - 2024 Personal Income Tax Rates href: https://www.mass.gov/doc/2024-form-1-instructions/download#page=3 period: year diff --git a/policyengine_us/reforms/states/ma/dependent_exemption/ma_dependent_exemption_reform.py b/policyengine_us/reforms/states/ma/dependent_exemption/ma_dependent_exemption_reform.py index 8464ee60459..4347e2c5376 100644 --- a/policyengine_us/reforms/states/ma/dependent_exemption/ma_dependent_exemption_reform.py +++ b/policyengine_us/reforms/states/ma/dependent_exemption/ma_dependent_exemption_reform.py @@ -9,7 +9,7 @@ class ma_part_b_taxable_income_exemption(Variable): label = "MA Part B taxable income exemption" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/service-details/view-massachusetts-personal-income-tax-exemption" + reference = "https://www.mass.gov/info-details/personal-income-tax-exemptions" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml b/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml new file mode 100644 index 00000000000..14a421a477c --- /dev/null +++ b/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml @@ -0,0 +1,124 @@ +# Dead reference URLs retired in the ma batch of the 2026-09-30 audit. +# Each prefix failed a GET request (404/410, a soft 404, a dead host or a +# persistent server error) on the date given; see the PR for evidence. +# See test_known_dead_reference_urls.py for the format. + +[[dead]] +prefix = "https://www.mass.gov/doc/2011-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250330145430/https://www.mass.gov/doc/2011-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2012-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250421031433/https://www.mass.gov/doc/2012-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2013-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250712232750/https://www.mass.gov/doc/2013-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2014-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250330190731/https://www.mass.gov/doc/2014-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2015-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250421070754/https://www.mass.gov/doc/2015-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2016-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250405233223/https://www.mass.gov/doc/2016-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2017-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250419195851/https://www.mass.gov/doc/2017-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2018-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250901024119/https://www.mass.gov/doc/2018-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2019-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250901192209/https://www.mass.gov/doc/2019-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2020-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250901231525/https://www.mass.gov/doc/2020-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2021-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250901051420/https://www.mass.gov/doc/2021-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20240317005446/https://www.mass.gov/doc/2021-schedule-b-interest-dividends-and-certain-capital-gains-and-losses/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20240317005519/https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/2022-form-1-instructions/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20230616200742/https://www.mass.gov/doc/2022-form-1-instructions/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20221024195401/https://www.mass.gov/doc/fy-2023-liheap-income-eligibility-and-benefit-level-chart-october-2022/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/fy2025-heap-state-plan-draft/download" +verified = "2026-10-01" +replacement = "https://liheapch.acf.gov/docs/2025/state-plans/MA_Plan_2025.pdf" + +[[dead]] +prefix = "https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20231018152139/https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/parent-fee-chart-fy2025" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download" + +[[dead]] +prefix = "https://www.mass.gov/doc/parent-fee-chart-fy2025/download" +verified = "2026-10-01" +replacement = "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download" + +[[dead]] +prefix = "https://www.mass.gov/info-details/529-plan-deduction" +verified = "2026-10-01" +replacement = "https://www.mass.gov/technical-information-release/tir-22-5-tax-provisions-in-recent-massachusetts-legislation" + +[[dead]] +prefix = "https://www.mass.gov/info-details/chapter-62f-taxpayer-refunds" +verified = "2026-10-01" +replacement = "https://www.mass.gov/audit/audit-of-the-determination-of-whether-net-state-tax-revenues-exceeded-allowable-state-tax-revenues-0" + +[[dead]] +prefix = "https://www.mass.gov/service-details/view-massachusetts-personal-income-tax-exemption" +verified = "2026-10-01" +replacement = "https://www.mass.gov/info-details/personal-income-tax-exemptions" diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/eligibility/ma_liheap_hecs_eligible.py b/policyengine_us/variables/gov/states/ma/doer/liheap/eligibility/ma_liheap_hecs_eligible.py index 287882a50ac..ef61fbe321f 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/eligibility/ma_liheap_hecs_eligible.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/eligibility/ma_liheap_hecs_eligible.py @@ -7,7 +7,7 @@ class ma_liheap_hecs_eligible(Variable): label = "Eligible for Massachusetts LIHEAP High Energy Cost Supplement (HECS)" definition_period = YEAR defined_for = "ma_liheap_eligible" - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): heating_type = spm_unit("ma_liheap_heating_type", period) diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_benefit_level.py b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_benefit_level.py index 0184270a2cc..5fc17546e1d 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_benefit_level.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_benefit_level.py @@ -7,7 +7,7 @@ class ma_liheap_benefit_level(Variable): label = "Benefit Level for Massachusetts LIHEAP payment" definition_period = YEAR defined_for = StateCode.MA - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): income = spm_unit("ma_liheap_income", period) diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_fpg.py b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_fpg.py index c149a39075f..e60a3152f3b 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_fpg.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_fpg.py @@ -9,7 +9,7 @@ class ma_liheap_fpg(Variable): label = "Massachusetts LIHEAP federal poverty guideline" definition_period = YEAR defined_for = StateCode.MA - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): n = spm_unit("spm_unit_size", period.this_year) diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_heating_type.py b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_heating_type.py index dc942d74ac3..7e71731b7ee 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_heating_type.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_heating_type.py @@ -19,7 +19,7 @@ class ma_liheap_heating_type(Variable): documentation = "Derived from the canonical heating_type input: fuel oil and propane share the heating oil and propane row; kerosene keeps its own row; wood, coal and other fuels are the other category; solar and UNSPECIFIED take the electricity row (the pre-canonical default); NONE stays NONE. Setting this directly is deprecated during the vocabulary migration and changes only the rate row: the expense cap still follows the canonical heating_type." definition_period = YEAR defined_for = StateCode.MA - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): heating_type = spm_unit("heating_type", period) diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_utility_category.py b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_utility_category.py index 10c5d197477..c7c05eb43d6 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_utility_category.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/ma_liheap_utility_category.py @@ -17,7 +17,7 @@ class ma_liheap_utility_category(Variable): label = "Massachusetts LIHEAP household's utility category" definition_period = YEAR defined_for = StateCode.MA - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): heat_in_rent = spm_unit("heat_expense_included_in_rent", period) diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap.py b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap.py index 4d316566e04..301425e8bc3 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap.py @@ -7,7 +7,7 @@ class ma_liheap(Variable): label = "Massachusetts LIHEAP payment" definition_period = YEAR defined_for = "ma_liheap_eligible" - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): payment_amount = add( diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_hecs_payment.py b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_hecs_payment.py index a776af23cc5..dbbc5212a7d 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_hecs_payment.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_hecs_payment.py @@ -7,7 +7,7 @@ class ma_liheap_hecs_payment(Variable): label = "Massachusetts LIHEAP High Energy Cost Supplement (HECS) payment" definition_period = YEAR defined_for = "ma_liheap_hecs_eligible" - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): p = parameters(period).gov.states.ma.doer.liheap.hecs.amount diff --git a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_standard_payment.py b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_standard_payment.py index 12e2010c706..b51008a27f3 100644 --- a/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_standard_payment.py +++ b/policyengine_us/variables/gov/states/ma/doer/liheap/payment/ma_liheap_standard_payment.py @@ -7,7 +7,7 @@ class ma_liheap_standard_payment(Variable): label = "Massachusetts LIHEAP standard payment" definition_period = YEAR defined_for = "ma_liheap_eligible" - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" def formula(spm_unit, period, parameters): p = parameters(period).gov.states.ma.doer.liheap.standard.amount diff --git a/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py b/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py index 3980f7b84a9..b0f0cadfc3f 100644 --- a/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py +++ b/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py @@ -10,7 +10,7 @@ class ma_ccfa_base_copay(Variable): defined_for = StateCode.MA reference = ( "https://www.mass.gov/doc/eecs-financial-assistance-policy-guide-february-1-2022/download#page=76", - "https://www.mass.gov/doc/parent-fee-chart-fy2025/download", + "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download", "https://www.mass.gov/doc/parent-fee-chart-fy2026/download", ) diff --git a/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py b/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py index e4dbdbb128d..d3f738b3c99 100644 --- a/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py +++ b/policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py @@ -8,7 +8,7 @@ class ma_ccfa_copay_level(Variable): definition_period = MONTH defined_for = StateCode.MA reference = ( - "https://www.mass.gov/doc/parent-fee-chart-fy2025/download", + "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download", "https://www.mass.gov/doc/parent-fee-chart-fy2026/download", ) diff --git a/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income_person.py b/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income_person.py index 8bab464e03a..7205a7b1545 100644 --- a/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income_person.py +++ b/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income_person.py @@ -10,7 +10,7 @@ class ma_ccfa_countable_income_person(Variable): defined_for = StateCode.MA reference = ( "https://www.mass.gov/doc/eecs-financial-assistance-policy-guide-february-1-2022/download#page=37", - "https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download#page=12", + "https://web.archive.org/web/20231018152139/https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download#page=12", "https://www.mass.gov/doc/eec-policy-advisory-field-operations-2023-4-child-care-financial-assistance/download#page=3", ) diff --git a/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py b/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py index 270bcf95111..c7d58b4733a 100644 --- a/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py +++ b/policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py @@ -9,7 +9,7 @@ class ma_ccfa_fpg(Variable): unit = USD defined_for = StateCode.MA reference = ( - "https://www.mass.gov/doc/parent-fee-chart-fy2025/download", + "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download", "https://www.mass.gov/doc/parent-fee-chart-fy2026/download", ) diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit.py index 2f31cd4ee37..65df77c9362 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit.py @@ -10,7 +10,7 @@ class ma_limited_income_tax_credit(Variable): label = "MA Limited Income Credit" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" + reference = "https://web.archive.org/web/20240317005519/https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit_potential.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit_potential.py index 2330576bd0a..d413adf198f 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit_potential.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_limited_income_tax_credit_potential.py @@ -7,7 +7,7 @@ class ma_limited_income_tax_credit_potential(Variable): label = "MA Limited Income Credit" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" + reference = "https://web.archive.org/web/20240317005519/https://www.mass.gov/doc/2021-schedule-nts-l-nrpy-no-tax-status-and-limited-income-credit/download" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ma/tax/income/deductions/plan_529_contributions/ma_529_deduction.py b/policyengine_us/variables/gov/states/ma/tax/income/deductions/plan_529_contributions/ma_529_deduction.py index 2382f5db498..33b12c9a1ad 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/deductions/plan_529_contributions/ma_529_deduction.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/deductions/plan_529_contributions/ma_529_deduction.py @@ -9,7 +9,7 @@ class ma_529_deduction(Variable): definition_period = YEAR reference = ( "https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/Section3", - "https://www.mass.gov/info-details/529-plan-deduction", + "https://www.mass.gov/technical-information-release/tir-22-5-tax-provisions-in-recent-massachusetts-legislation#ii-provisions-only-affecting-individual-taxpayers", ) defined_for = StateCode.MA diff --git a/policyengine_us/variables/gov/states/ma/tax/income/ma_income_tax.py b/policyengine_us/variables/gov/states/ma/tax/income/ma_income_tax.py index cb5dd74231b..e030ca73115 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/ma_income_tax.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/ma_income_tax.py @@ -8,7 +8,7 @@ class ma_income_tax(Variable): unit = USD documentation = "Massachusetts State income tax." definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" + reference = "https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" defined_for = StateCode.MA adds = ["ma_income_tax_before_refundable_credits"] subtracts = ["ma_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/ma/tax/income/ma_non_refundable_credits.py b/policyengine_us/variables/gov/states/ma/tax/income/ma_non_refundable_credits.py index 7496c2e9307..82c5a2a23e2 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/ma_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/ma_non_refundable_credits.py @@ -10,7 +10,7 @@ class ma_non_refundable_credits(Variable): label = "MA non-refundable credits" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" + reference = "https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ma/tax/income/ma_refundable_credits.py b/policyengine_us/variables/gov/states/ma/tax/income/ma_refundable_credits.py index 30e75885348..56593a57b38 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/ma_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/ma_refundable_credits.py @@ -7,6 +7,6 @@ class ma_refundable_credits(Variable): label = "MA refundable credits" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" + reference = "https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" defined_for = StateCode.MA adds = "gov.states.ma.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_excess_exemption.py b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_excess_exemption.py index 14063261edb..76f798b6bbe 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_excess_exemption.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_excess_exemption.py @@ -7,7 +7,7 @@ class ma_part_b_excess_exemption(Variable): label = "MA Part B excess exemption" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/service-details/view-massachusetts-personal-income-tax-exemption" + reference = "https://www.mass.gov/info-details/personal-income-tax-exemptions" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_before_exemption.py b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_before_exemption.py index e5194f14dc6..439c34129dc 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_before_exemption.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_before_exemption.py @@ -7,7 +7,7 @@ class ma_part_b_taxable_income_before_exemption(Variable): label = "MA Part B taxable income before exemption" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" + reference = "https://web.archive.org/web/20230513222941/https://www.mass.gov/doc/2021-form-1-massachusetts-resident-income-tax-return/download" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_exemption.py b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_exemption.py index a7db92cba8d..cd25881d475 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_exemption.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/taxable_income/ma_part_b_taxable_income_exemption.py @@ -7,7 +7,7 @@ class ma_part_b_taxable_income_exemption(Variable): label = "MA Part B taxable income exemption" unit = USD definition_period = YEAR - reference = "https://www.mass.gov/service-details/view-massachusetts-personal-income-tax-exemption" + reference = "https://www.mass.gov/info-details/personal-income-tax-exemptions" defined_for = StateCode.MA def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/household/expense/housing/heating_expense_last_year.py b/policyengine_us/variables/household/expense/housing/heating_expense_last_year.py index 6800e495a88..0c636a7c88d 100644 --- a/policyengine_us/variables/household/expense/housing/heating_expense_last_year.py +++ b/policyengine_us/variables/household/expense/housing/heating_expense_last_year.py @@ -7,4 +7,4 @@ class heating_expense_last_year(Variable): definition_period = YEAR label = "Household's heating expense last year" definition_period = YEAR - reference = "https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" + reference = "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/fy-2025-heap-income-eligibility-benefit-chart-may-8-2025/download" From 569a2a90bd583bb7e255c3b902139c03b83aafbf Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 3 Oct 2026 14:34:38 -0400 Subject: [PATCH 2/2] Address review of the Massachusetts dead-URL batch Leave the three copay ratio references on the bare parent-fee chart URL. The only archived copy is of the /download URL, not of the URL they cite, so it does not meet the same-URL rule; the reference is reported as unresolved instead. Drop the matching guard entry. Co-Authored-By: Claude Opus 5.5 --- .../gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml | 2 +- .../gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml | 2 +- .../gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml | 2 +- .../tests/code_health/known_dead_reference_urls/ma.toml | 5 ----- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml index 7959099f656..3edc04096bc 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA additional child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://www.mass.gov/doc/parent-fee-chart-fy2025 diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml index b62289b748a..db4a67a8268 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA first child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://www.mass.gov/doc/parent-fee-chart-fy2025 diff --git a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml index 08809fea732..d89272471e8 100644 --- a/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml +++ b/policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml @@ -8,4 +8,4 @@ metadata: label: Massachusetts CCFA second child copay ratio reference: - title: EEC Financial Assistance Parent Fee Table FY2025 - href: https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download + href: https://www.mass.gov/doc/parent-fee-chart-fy2025 diff --git a/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml b/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml index 14a421a477c..c3e07af4048 100644 --- a/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml +++ b/policyengine_us/tests/code_health/known_dead_reference_urls/ma.toml @@ -98,11 +98,6 @@ prefix = "https://www.mass.gov/doc/interim-income-eligible-child-care-financial- verified = "2026-10-01" replacement = "https://web.archive.org/web/20231018152139/https://www.mass.gov/doc/interim-income-eligible-child-care-financial-assistance-program-policies-october-1-2023/download" -[[dead]] -prefix = "https://www.mass.gov/doc/parent-fee-chart-fy2025" -verified = "2026-10-01" -replacement = "https://web.archive.org/web/20250902041737/https://www.mass.gov/doc/parent-fee-chart-fy2025/download" - [[dead]] prefix = "https://www.mass.gov/doc/parent-fee-chart-fy2025/download" verified = "2026-10-01"