From 0ccab71612912b2eec88053c7e9c20cc2e4986f8 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 24 Sep 2026 21:53:46 -0400 Subject: [PATCH 1/5] Split fused variable reference URLs into separate entries Python joins adjacent string literals, so reference tuples written without commas between URLs collapsed into one string that renders as a single dead link. Add the missing commas across 208 variable and reform files, split the Kansas and FLSA references that were already fused inside one literal, and strip stray whitespace and inline annotations from reference URLs. Move the doubled URL in az_taxable_income's documentation string into its reference. Add a code-health test that fails when any reference entry is not a single bare URL: baseline variables (at runtime), reform variables (from source, resolving module-level constants and dict() calls), and parameter references, including those under a dated value's own metadata. Co-Authored-By: Claude Opus 5.5 --- policyengine_us/reforms/dc_kccatc.py | 4 +- .../reforms/dc_tax_threshold_joint_ratio.py | 4 +- .../repeal_state_dependent_exemptions.py | 26 +-- .../dc/property_tax/dc_property_tax_reform.py | 16 +- .../reforms/states/mn/walz/mn_walz_hf1938.py | 24 +-- .../tests/code_health/test_reference_urls.py | 179 ++++++++++++++++++ .../is_early_head_start_eligible.py | 4 +- .../hhs/head_start/is_head_start_eligible.py | 4 +- .../capped_qualified_tuition_expenses_ald.py | 4 +- ...d_income_for_social_security_taxability.py | 4 +- .../qualified_business_income_deduction.py | 4 +- ...lified_business_income_deduction_person.py | 4 +- .../deductions/tuition_and_fees_deduction.py | 4 +- .../tuition_and_fees_deduction_eligible.py | 4 +- .../gov/states/al/tax/income/al_agi.py | 2 +- ...ncome_tax_before_non_refundable_credits.py | 2 +- ...al_income_tax_before_refundable_credits.py | 2 +- .../itemized/al_investment_interest.py | 6 +- .../itemized/al_itemized_deductions.py | 6 +- .../itemized/al_medical_expense_deduction.py | 6 +- .../deductions/itemized/al_misc_deduction.py | 6 +- ...tax_before_non_refundable_credits_indiv.py | 4 +- ...tax_before_non_refundable_credits_joint.py | 4 +- ..._tax_before_non_refundable_credits_unit.py | 4 +- .../ar/tax/income/ar_taxable_income_indiv.py | 4 +- .../ar/tax/income/ar_taxable_income_joint.py | 4 +- .../personal/ar_personal_credit_dependent.py | 6 +- .../ar_personal_credit_disabled_dependent.py | 6 +- .../credits/personal/ar_personal_credits.py | 6 +- .../personal/ar_personal_credits_base.py | 6 +- .../personal/ar_personal_credits_potential.py | 6 +- .../states/az/tax/income/az_taxable_income.py | 2 +- .../az_public_pension_exclusion.py | 6 +- .../gov/states/ca/tax/income/ca_agi.py | 4 +- .../ca/tax/income/ca_agi_subtractions.py | 4 +- .../states/ca/tax/income/ca_taxable_income.py | 4 +- .../ca/tax/income/deductions/ca_deductions.py | 4 +- .../ca_investment_interest_deduction.py | 4 +- .../itemized/ca_itemized_deductions.py | 4 +- .../ca_itemized_deductions_pre_limitation.py | 4 +- .../tax/income/additions/co_state_addback.py | 4 +- .../gov/states/ct/tax/income/amt/ct_amt.py | 10 +- .../ct/tax/income/ct_income_tax_after_amt.py | 4 +- .../dc/tax/income/additions/dc_additions.py | 4 +- .../dc_self_employment_loss_addition.py | 4 +- .../states/dc/tax/income/credits/dc_cdcc.py | 4 +- .../tax/income/credits/dc_cdcc_potential.py | 4 +- .../states/dc/tax/income/credits/dc_kccatc.py | 4 +- .../credits/dc_non_refundable_credits.py | 4 +- .../income/credits/dc_refundable_credits.py | 4 +- .../gov/states/dc/tax/income/dc_agi.py | 4 +- .../gov/states/dc/tax/income/dc_income_tax.py | 4 +- .../income/dc_income_tax_before_credits.py | 4 +- .../dc_income_tax_before_credits_indiv.py | 4 +- .../dc_income_tax_before_credits_joint.py | 4 +- ...dc_income_tax_before_refundable_credits.py | 4 +- .../dc/tax/income/dc_taxable_income_indiv.py | 4 +- .../dc/tax/income/dc_taxable_income_joint.py | 4 +- .../income/deductions/dc_deduction_indiv.py | 4 +- .../deductions/dc_itemized_deductions.py | 4 +- .../dc_disabled_exclusion_subtraction.py | 6 +- .../subtractions/dc_income_subtractions.py | 4 +- .../income/deductions/de_deduction_indv.py | 3 +- .../income/deductions/de_deduction_joint.py | 3 +- .../deductions/ga_standard_deduction.py | 4 +- .../gov/states/ga/tax/income/ga_additions.py | 4 +- .../states/ga/tax/income/ga_subtractions.py | 4 +- .../gov/states/hi/tax/income/hi_agi.py | 2 +- .../in_unified_elderly_tax_credit.py | 4 +- .../credits/eitc/ks_nonrefundable_eitc.py | 3 +- .../income/credits/eitc/ks_refundable_eitc.py | 3 +- .../tax/income/credits/eitc/ks_total_eitc.py | 3 +- .../states/ks/tax/income/credits/ks_cdcc.py | 3 +- .../states/ks/tax/income/credits/ks_fstc.py | 3 +- .../credits/ks_non_refundable_credits.py | 3 +- .../income/credits/ks_refundable_credits.py | 3 +- .../deductions/ks_itemized_deductions.py | 3 +- .../deductions/ks_standard_deduction.py | 3 +- .../income/exemptions/ks_count_exemptions.py | 3 +- .../gov/states/ks/tax/income/ks_additions.py | 3 +- .../gov/states/ks/tax/income/ks_agi.py | 3 +- .../gov/states/ks/tax/income/ks_income_tax.py | 3 +- .../income/ks_income_tax_before_credits.py | 3 +- ...ks_income_tax_before_refundable_credits.py | 3 +- .../states/ks/tax/income/ks_taxable_income.py | 3 +- .../deductions/ky_itemized_deduction_indiv.py | 4 +- .../deductions/ky_itemized_deduction_joint.py | 4 +- .../deductions/ky_itemized_deductions_unit.py | 4 +- .../gov/states/ky/tax/income/ky_additions.py | 10 +- .../states/ky/tax/income/ky_subtractions.py | 10 +- .../md_dependent_care_subtraction.py | 6 +- .../subtractions/md_two_income_subtraction.py | 4 +- .../md/tax/income/deductions/md_deductions.py | 6 +- .../mi_alternate_home_heating_credit.py | 4 +- .../home_heating/mi_home_heating_credit.py | 4 +- .../mn/tax/income/additions/mn_additions.py | 4 +- .../gov/states/mn/tax/income/amt/mn_amt.py | 4 +- .../tax/income/amt/mn_amt_taxable_income.py | 4 +- .../mn/tax/income/credits/cdcc/mn_cdcc.py | 4 +- .../credits/cdcc/mn_cdcc_dependent_count.py | 4 +- .../income/credits/cdcc/mn_cdcc_eligible.py | 4 +- .../income/credits/cdcc/mn_cdcc_phase_out.py | 4 +- .../mn_child_and_working_families_credits.py | 6 +- .../tax/income/credits/mn_marriage_credit.py | 4 +- .../credits/mn_non_refundable_credits.py | 4 +- .../income/credits/mn_refundable_credits.py | 4 +- .../states/mn/tax/income/credits/mn_wfc.py | 4 +- .../mn/tax/income/credits/mn_wfc_eligible.py | 4 +- .../mn/tax/income/deductions/mn_deductions.py | 8 +- .../deductions/mn_itemized_deductions.py | 8 +- .../mn/tax/income/deductions/mn_itemizing.py | 8 +- .../deductions/mn_standard_deduction.py | 4 +- .../mn/tax/income/exemptions/mn_exemptions.py | 8 +- .../gov/states/mn/tax/income/mn_basic_tax.py | 4 +- .../gov/states/mn/tax/income/mn_income_tax.py | 8 +- .../income/mn_income_tax_before_credits.py | 4 +- ...mn_income_tax_before_refundable_credits.py | 8 +- .../states/mn/tax/income/mn_taxable_income.py | 8 +- .../gov/states/mn/tax/income/niit/mn_niit.py | 4 +- .../subtractions/mn_charity_subtraction.py | 4 +- .../mn_elderly_disabled_subtraction.py | 4 +- .../mn_public_pension_subtraction.py | 4 +- .../mn_social_security_subtraction.py | 4 +- .../income/subtractions/mn_subtractions.py | 8 +- .../itemized/ms_itemized_deductions_indiv.py | 6 +- .../itemized/ms_itemized_deductions_unit.py | 6 +- .../income/deductions/ms_deductions_indiv.py | 4 +- .../income/deductions/ms_deductions_joint.py | 4 +- ...eductions_for_federal_itemization_indiv.py | 4 +- ...eductions_for_federal_itemization_joint.py | 4 +- .../general/mt_itemized_deductions_indiv.py | 4 +- .../general/mt_itemized_deductions_joint.py | 4 +- .../itemized/general/mt_misc_deductions.py | 4 +- .../itemized/salt/mt_salt_deduction.py | 4 +- .../nc/ncdhhs/scca/nc_scca_market_rate.py | 4 +- .../deductions/nc_itemized_deductions.py | 2 +- .../nc_standard_or_itemized_deductions.py | 4 +- .../states/nd/tax/income/credits/nd_rtrc.py | 8 +- .../gov/states/nd/tax/income/nd_additions.py | 8 +- .../gov/states/nd/tax/income/nd_income_tax.py | 8 +- ...nd_income_tax_before_refundable_credits.py | 8 +- .../tax/income/nd_non_refundable_credits.py | 8 +- .../nd/tax/income/nd_refundable_credits.py | 8 +- .../states/nd/tax/income/nd_taxable_income.py | 8 +- .../subtractions/nd_ltcg_subtraction.py | 8 +- .../subtractions/nd_qdiv_subtraction.py | 8 +- .../income/subtractions/nd_subtractions.py | 8 +- .../adjusted_gross_income/ne_additions.py | 4 +- .../income/adjusted_gross_income/ne_agi.py | 4 +- .../ne_agi_subtractions.py | 8 +- .../credits/cdcc/ne_cdcc_nonrefundable.py | 4 +- .../income/credits/cdcc/ne_cdcc_refundable.py | 4 +- .../cdcc/ne_cdcc_refundable_eligible.py | 4 +- .../ne_refundable_ctc_eligible_child.py | 2 +- .../ne/tax/income/credits/eitc/ne_eitc.py | 4 +- .../credits/ne_elderly_disabled_credit.py | 4 +- .../deductions/ne_base_standard_deduction.py | 4 +- .../deductions/ne_itemized_deductions.py | 4 +- .../deductions/ne_standard_deduction.py | 4 +- .../ne/tax/income/exemptions/ne_exemptions.py | 4 +- .../gov/states/ne/tax/income/ne_income_tax.py | 4 +- .../income/ne_income_tax_before_credits.py | 4 +- ...ne_income_tax_before_refundable_credits.py | 4 +- .../tax/income/ne_non_refundable_credits.py | 4 +- .../ne/tax/income/ne_refundable_credits.py | 4 +- .../states/ne/tax/income/ne_taxable_income.py | 4 +- .../nj/tax/income/credits/ctc/nj_ctc.py | 8 +- .../tax/income/credits/ctc/nj_ctc_eligible.py | 8 +- .../oh/tax/income/additions/oh_additions.py | 6 +- .../oh/tax/income/deductions/oh_deductions.py | 6 +- .../ok/tax/income/credits/ok_gross_income.py | 4 +- .../credits/ok_non_refundable_credits.py | 4 +- .../income/credits/ok_refundable_credits.py | 4 +- .../deductions/ok_itemized_deductions.py | 4 +- .../deductions/ok_standard_deduction.py | 4 +- .../ok/tax/income/exemptions/ok_exemptions.py | 4 +- .../gov/states/ok/tax/income/ok_additions.py | 4 +- .../states/ok/tax/income/ok_adjustments.py | 4 +- .../gov/states/ok/tax/income/ok_agi.py | 4 +- .../ok/tax/income/ok_agi_subtractions.py | 4 +- .../gov/states/ok/tax/income/ok_income_tax.py | 4 +- ...ok_income_tax_before_refundable_credits.py | 4 +- .../states/ok/tax/income/ok_taxable_income.py | 4 +- .../gov/states/ok/tax/income/ok_use_tax.py | 4 +- .../or_disabled_child_dependent_exemptions.py | 4 +- .../credits/exemption/or_exemption_credit.py | 4 +- .../exemption/or_regular_exemptions.py | 4 +- .../or_severely_disabled_exemptions.py | 4 +- ...tandard_deduction_applicable_percentage.py | 4 +- .../va/tax/income/deductions/va_deductions.py | 4 +- .../states/va/tax/income/va_taxable_income.py | 4 +- .../vt_retirement_income_exemption.py | 2 +- ...vt_retirement_income_exemption_eligible.py | 2 +- .../vt_medical_expense_deduction.py | 2 +- .../adjusted_gross_income/vt_additions.py | 4 +- .../income/adjusted_gross_income/vt_agi.py | 2 +- .../income/credits/cdcc/vt_low_income_cdcc.py | 4 +- .../cdcc/vt_low_income_cdcc_eligible.py | 4 +- .../income/credits/renter/vt_renter_credit.py | 6 +- .../vt_charitable_contributions_credit.py | 4 +- .../wi/tax/income/additions/wi_additions.py | 8 +- .../wi_capital_gain_loss_addition.py | 4 +- .../tax/income/additions/wi_capital_loss.py | 4 +- .../earned_income/wi_earned_income_credit.py | 10 +- .../credits/homestead/wi_homestead_credit.py | 10 +- .../credits/homestead/wi_homestead_income.py | 4 +- .../homestead/wi_homestead_property_tax.py | 4 +- .../wi_itemized_deduction_credit.py | 6 +- .../wi_itemized_deduction_credit_potential.py | 6 +- .../wi_married_couple_credit.py | 10 +- .../wi_married_couple_credit_potential.py | 10 +- .../property_tax/wi_property_tax_credit.py | 10 +- .../wi_property_tax_credit_potential.py | 10 +- .../credits/wi_non_refundable_credits.py | 10 +- .../income/credits/wi_refundable_credits.py | 10 +- .../exemptions/wi_additional_exemption.py | 10 +- .../income/exemptions/wi_base_exemption.py | 10 +- .../wi/tax/income/exemptions/wi_exemption.py | 10 +- .../wi_capital_gain_loss_subtraction.py | 4 +- .../subtractions/wi_income_subtractions.py | 8 +- ...irement_income_subtraction_agi_eligible.py | 8 +- ...i_unemployment_compensation_subtraction.py | 4 +- .../gov/states/wi/tax/income/wi_agi.py | 8 +- .../wi/tax/income/wi_income_before_credits.py | 10 +- .../states/wi/tax/income/wi_taxable_income.py | 10 +- .../heptc/wv_gross_household_income.py | 6 +- ...wv_homestead_excess_property_tax_credit.py | 6 +- ...ead_excess_property_tax_credit_eligible.py | 6 +- .../income/credits/sctc/wv_sctc_eligible.py | 6 +- .../wv_low_income_earned_income_exclusion.py | 6 +- ...income_earned_income_exclusion_eligible.py | 6 +- .../refundable_ctc/pr_refundable_ctc.py | 4 +- .../pr_refundable_ctc_social_security_tax.py | 4 +- .../usda/snap/income/snap_countable_earner.py | 4 +- ...s_executive_administrative_professional.py | 5 +- .../person/is_eligible_for_fsla_overtime.py | 5 +- 236 files changed, 794 insertions(+), 591 deletions(-) create mode 100644 policyengine_us/tests/code_health/test_reference_urls.py diff --git a/policyengine_us/reforms/dc_kccatc.py b/policyengine_us/reforms/dc_kccatc.py index 09ee625c2fa..db3a3563abc 100644 --- a/policyengine_us/reforms/dc_kccatc.py +++ b/policyengine_us/reforms/dc_kccatc.py @@ -9,8 +9,8 @@ class dc_kccatc(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=67" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=59" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=67", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=59", ) defined_for = StateCode.DC diff --git a/policyengine_us/reforms/dc_tax_threshold_joint_ratio.py b/policyengine_us/reforms/dc_tax_threshold_joint_ratio.py index a3d85b2d1a8..9802f435e9c 100644 --- a/policyengine_us/reforms/dc_tax_threshold_joint_ratio.py +++ b/policyengine_us/reforms/dc_tax_threshold_joint_ratio.py @@ -14,8 +14,8 @@ class dc_income_tax_before_credits_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py b/policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py index 3d31b491519..a2d7c5bc18e 100644 --- a/policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py +++ b/policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py @@ -69,8 +69,8 @@ class ne_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE @@ -105,8 +105,8 @@ class ok_count_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK @@ -292,8 +292,8 @@ class ia_exemption_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.iowa.gov/sites/default/files/2021-12/IA6251%2841131%29.pdf" - "https://revenue.iowa.gov/sites/default/files/2023-01/IA6251%2841131%29.pdf" + "https://revenue.iowa.gov/sites/default/files/2021-12/IA6251%2841131%29.pdf", + "https://revenue.iowa.gov/sites/default/files/2023-01/IA6251%2841131%29.pdf", ) defined_for = StateCode.IA @@ -381,11 +381,11 @@ class wi_base_exemption(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI @@ -439,8 +439,8 @@ class ok_child_care_child_tax_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/reforms/states/dc/property_tax/dc_property_tax_reform.py b/policyengine_us/reforms/states/dc/property_tax/dc_property_tax_reform.py index a6d0ceb0527..8bc8b12666c 100644 --- a/policyengine_us/reforms/states/dc/property_tax/dc_property_tax_reform.py +++ b/policyengine_us/reforms/states/dc/property_tax/dc_property_tax_reform.py @@ -10,8 +10,8 @@ class dc_ptc(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47", ) defined_for = "takes_up_dc_ptc" @@ -35,8 +35,8 @@ class dc_ptc_eligible(Variable): label = "DC property tax credit eligible" definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47", ) defined_for = StateCode.DC @@ -52,8 +52,8 @@ class dc_ptc_income_limit(Variable): label = "DC property tax credit income limit" definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47", ) defined_for = StateCode.DC @@ -73,8 +73,8 @@ class dc_ptc_elderly_head_or_spouse_present(Variable): label = "DC property tax credit elderly head or spouse present" definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=49", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=47", ) defined_for = StateCode.DC diff --git a/policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py b/policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py index ef10bcfbb28..8dd6b5318b6 100644 --- a/policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py +++ b/policyengine_us/reforms/states/mn/walz/mn_walz_hf1938.py @@ -10,8 +10,8 @@ class mn_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_22.pdf", ) defined_for = StateCode.MN @@ -30,8 +30,8 @@ class mn_social_security_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf" + "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf", ) defined_for = StateCode.MN @@ -68,8 +68,8 @@ class mn_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN @@ -96,10 +96,10 @@ class mn_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN @@ -136,8 +136,8 @@ class mn_cdcc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/tests/code_health/test_reference_urls.py b/policyengine_us/tests/code_health/test_reference_urls.py new file mode 100644 index 00000000000..79bd611fd08 --- /dev/null +++ b/policyengine_us/tests/code_health/test_reference_urls.py @@ -0,0 +1,179 @@ +"""Every reference entry must link to exactly one URL. + +Python joins adjacent string literals, so a ``reference`` tuple written +without commas between its URLs collapses into one string. policyengine-core +wraps that string as a one-element list, and it renders as a single dead link. +""" + +import ast +import re + +import pytest + +from policyengine_us.model_api import REPO + +URL = re.compile(r"https?://") +# A URL may embed another URL as a Wayback Machine snapshot target +# (web.archive.org/web//https://...) or as a query value +# (viewdocument/?docName=https://...). +EMBEDDED_URL_PREFIX = re.compile(r"(?:web\.archive\.org/web/\d+[a-z_]*/|=)$") + + +def reference_url_problem(href): + """Describe what is wrong with one reference string, or return None. + + Strings without a URL (plain-text citations) are accepted. A string with a + URL must be exactly one bare URL: no second URL fused onto it, no + surrounding whitespace, and no trailing annotation text or separators. + """ + if not isinstance(href, str): + return None + starts = [match.start() for match in URL.finditer(href)] + if not starts: + return None + top_level = [i for i in starts if not EMBEDDED_URL_PREFIX.search(href[:i])] + if len(top_level) > 1: + return "contains more than one URL (missing comma between literals?)" + if not re.fullmatch(r"https?://\S+", href) or href.endswith((",", ";")): + return "is not a single bare URL" + return None + + +def _entries(reference): + if not reference: + return [] + if isinstance(reference, (str, dict)): + reference = [reference] + return [ + entry.get("href") if isinstance(entry, dict) else entry for entry in reference + ] + + +@pytest.mark.parametrize( + "href", + [ + "https://www.dfa.arkansas.gov/wp-content/uploads/a.pdf#page=3", + "26 U.S. Code § 1(h)(3)", + "placeholder", + "http://web.archive.org/web/20091202182220/http://www.mass.gov/g.pdf", + "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01072.htm", + ], +) +def test_reference_url_problem_accepts(href): + assert reference_url_problem(href) is None + + +@pytest.mark.parametrize( + "href", + [ + # Adjacent literals joined by Python. + "https://a.gov/1.pdf#page=2https://a.gov/2.pdf", + "https://a.gov/section-1/https://a.gov/2.pdf", + "https://a.gov/1.pdf ; https://a.gov/2.pdf", + " https://a.gov/1.pdf", + "https://a.gov/1.pdf ", + "https://a.gov/1.pdf, ", + "https://a.gov/1.pdf, # Line 7", + "https://a.gov/1.pdf (Line 3)", + ], +) +def test_reference_url_problem_rejects(href): + assert reference_url_problem(href) is not None + + +def test_variable_references_are_single_urls(): + from policyengine_us.system import system + + errors = [ + f"{name}: {href!r} {problem}" + for name, variable in sorted(system.variables.items()) + for href in _entries(variable.reference) + if (problem := reference_url_problem(href)) + ] + assert not errors, "\n".join(errors) + + +def _module_constants(tree): + constants = {} + for statement in tree.body: + if not isinstance(statement, ast.Assign): + continue + try: + value = ast.literal_eval(statement.value) + except (ValueError, TypeError, SyntaxError): + continue + for target in statement.targets: + if isinstance(target, ast.Name): + constants[target.id] = value + return constants + + +def _evaluate_reference(node, constants): + """Evaluate a reference expression built from literals, module-level + literal constants and dict(title=..., href=...) calls.""" + if isinstance(node, ast.Name): + return constants[node.id] + if ( + isinstance(node, ast.Call) + and isinstance(node.func, ast.Name) + and node.func.id == "dict" + and not node.args + ): + return { + keyword.arg: _evaluate_reference(keyword.value, constants) + for keyword in node.keywords + } + if isinstance(node, (ast.List, ast.Tuple)): + return [_evaluate_reference(element, constants) for element in node.elts] + return ast.literal_eval(node) + + +def test_reform_variable_references_are_single_urls(): + # Reform variables are defined inside reform factories, so they are not in + # the baseline system; check their reference assignments in source instead. + errors = [] + for path in sorted((REPO / "reforms").rglob("*.py")): + tree = ast.parse(path.read_text()) + constants = _module_constants(tree) + for node in ast.walk(tree): + if not isinstance(node, ast.ClassDef): + continue + for statement in node.body: + if not ( + isinstance(statement, ast.Assign) + and any( + isinstance(target, ast.Name) and target.id == "reference" + for target in statement.targets + ) + ): + continue + location = f"{path.relative_to(REPO)}::{node.name}" + try: + reference = _evaluate_reference(statement.value, constants) + except (KeyError, ValueError, TypeError, SyntaxError): + errors.append( + f"{location}: reference is not built from literals, so " + "this test cannot check it" + ) + continue + for href in _entries(reference): + if problem := reference_url_problem(href): + errors.append(f"{location}: {href!r} {problem}") + assert not errors, "\n".join(errors) + + +def test_parameter_reference_hrefs_are_single_urls(): + from policyengine_us.system import system + + errors = set() + for parameter in system.parameters.get_descendants(): + # References under a dated value's own metadata + # (values: {: {value, metadata: {reference}}}) live on the + # parameter's values_list entries, not on the parameter itself. + sources = [parameter, *(getattr(parameter, "values_list", None) or [])] + for source in sources: + metadata = getattr(source, "metadata", None) or {} + for href in _entries(metadata.get("reference")): + if problem := reference_url_problem(href): + errors.add(f"{parameter.name}: {href!r} {problem}") + assert not errors, "\n".join(sorted(errors)) diff --git a/policyengine_us/variables/gov/hhs/head_start/is_early_head_start_eligible.py b/policyengine_us/variables/gov/hhs/head_start/is_early_head_start_eligible.py index a399d55ef00..0ddd1562243 100644 --- a/policyengine_us/variables/gov/hhs/head_start/is_early_head_start_eligible.py +++ b/policyengine_us/variables/gov/hhs/head_start/is_early_head_start_eligible.py @@ -7,8 +7,8 @@ class is_early_head_start_eligible(Variable): label = "Eligible person for the Early Head Start program" definition_period = YEAR reference = ( - "https://eclkc.ohs.acf.hhs.gov/policy/45-cfr-chap-xiii/1302-12-determining-verifying-documenting-eligibility" - "https://www.hhs.gov/answers/programs-for-families-and-children/how-can-i-get-my-child-into-head-start/index.html" + "https://eclkc.ohs.acf.hhs.gov/policy/45-cfr-chap-xiii/1302-12-determining-verifying-documenting-eligibility", + "https://www.hhs.gov/answers/programs-for-families-and-children/how-can-i-get-my-child-into-head-start/index.html", ) def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/hhs/head_start/is_head_start_eligible.py b/policyengine_us/variables/gov/hhs/head_start/is_head_start_eligible.py index 3ed2586c674..0ffa1ecc7bf 100644 --- a/policyengine_us/variables/gov/hhs/head_start/is_head_start_eligible.py +++ b/policyengine_us/variables/gov/hhs/head_start/is_head_start_eligible.py @@ -7,8 +7,8 @@ class is_head_start_eligible(Variable): label = "Eligible person for the Head Start program" definition_period = YEAR reference = ( - "https://eclkc.ohs.acf.hhs.gov/policy/45-cfr-chap-xiii/1302-12-determining-verifying-documenting-eligibility" - "https://www.hhs.gov/answers/programs-for-families-and-children/how-can-i-get-my-child-into-head-start/index.html" + "https://eclkc.ohs.acf.hhs.gov/policy/45-cfr-chap-xiii/1302-12-determining-verifying-documenting-eligibility", + "https://www.hhs.gov/answers/programs-for-families-and-children/how-can-i-get-my-child-into-head-start/index.html", ) def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/capped_qualified_tuition_expenses_ald.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/capped_qualified_tuition_expenses_ald.py index 5ec84daea9a..29393747278 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/capped_qualified_tuition_expenses_ald.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/capped_qualified_tuition_expenses_ald.py @@ -14,9 +14,9 @@ class capped_qualified_tuition_expenses_ald(Variable): "`adjusted_gross_income`." ) reference = ( - "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2" + "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2", # Law was repealed starting tax year 2021. - "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222" + "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_combined_income_for_social_security_taxability.py b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_combined_income_for_social_security_taxability.py index e5872b5ec46..c2e13d72751 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_combined_income_for_social_security_taxability.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_combined_income_for_social_security_taxability.py @@ -8,8 +8,8 @@ class tax_unit_combined_income_for_social_security_taxability(Variable): label = "Taxable Social Security combined income" unit = USD reference = ( - "https://www.law.cornell.edu/uscode/text/26/86" - "https://www.ssa.gov/benefits/retirement/planner/taxes.html" + "https://www.law.cornell.edu/uscode/text/26/86", + "https://www.ssa.gov/benefits/retirement/planner/taxes.html", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction.py b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction.py index 1a2c1193d94..9d9fb89d570 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction.py @@ -8,8 +8,8 @@ class qualified_business_income_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.law.cornell.edu/uscode/text/26/199A#b_1" - "https://www.irs.gov/pub/irs-prior/p535--2018.pdf" + "https://www.law.cornell.edu/uscode/text/26/199A#b_1", + "https://www.irs.gov/pub/irs-prior/p535--2018.pdf", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction_person.py b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction_person.py index 63725066fcc..85d58366cfb 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction_person.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qualified_business_income_deduction_person.py @@ -8,8 +8,8 @@ class qualified_business_income_deduction_person(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.law.cornell.edu/uscode/text/26/199A#b_1" - "https://www.irs.gov/pub/irs-prior/p535--2018.pdf" + "https://www.law.cornell.edu/uscode/text/26/199A#b_1", + "https://www.irs.gov/pub/irs-prior/p535--2018.pdf", ) def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction.py b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction.py index 9fd85d03c8f..4d6f0d329a9 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction.py @@ -9,9 +9,9 @@ class tuition_and_fees_deduction(Variable): defined_for = "tuition_and_fees_deduction_eligible" definition_period = YEAR reference = ( - "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2" + "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2", # Law was repealed in 2021 - "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222" + "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction_eligible.py b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction_eligible.py index 964d13a31f8..ac202b88a48 100644 --- a/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction_eligible.py +++ b/policyengine_us/variables/gov/irs/income/taxable_income/deductions/tuition_and_fees_deduction_eligible.py @@ -8,9 +8,9 @@ class tuition_and_fees_deduction_eligible(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2" + "https://www.irs.gov/pub/irs-pdf/f8917.pdf#page=2", # Law was repealed in 2021 - "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222" + "https://irc.bloombergtax.com/public/uscode/doc/irc/section_222", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/al/tax/income/al_agi.py b/policyengine_us/variables/gov/states/al/tax/income/al_agi.py index cb8a4a96c00..bd1e7b61448 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/al_agi.py +++ b/policyengine_us/variables/gov/states/al/tax/income/al_agi.py @@ -10,7 +10,7 @@ class al_agi(Variable): definition_period = YEAR # The Code of Alabama 1975 reference = ( - " https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" + "https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" ) adds = "gov.states.al.tax.income.agi.gross_income_sources" diff --git a/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_non_refundable_credits.py b/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_non_refundable_credits.py index 42539ebf2fc..963e1fc41ce 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_non_refundable_credits.py @@ -10,7 +10,7 @@ class al_income_tax_before_non_refundable_credits(Variable): definition_period = YEAR # The Code of Alabama 1975 Section 40-18-5 reference = ( - " https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" + "https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_refundable_credits.py index 5c62c10e09f..60d3fd23023 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/al/tax/income/al_income_tax_before_refundable_credits.py @@ -10,7 +10,7 @@ class al_income_tax_before_refundable_credits(Variable): definition_period = YEAR # The Code of Alabama 1975 Section 40-18-5 reference = ( - " https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" + "https://alisondb.legislature.state.al.us/alison/CodeOfAlabama/1975/Coatoc.htm" ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_investment_interest.py b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_investment_interest.py index 1acd0f6b070..7d576955da5 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_investment_interest.py +++ b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_investment_interest.py @@ -8,11 +8,11 @@ class al_interest_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/" + "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/", # Code of Alabama Section 40-18-15 - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1" + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1", # 2022 Schedule A (Form 1040) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1" + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1", # 2021 Schedule A (Form 1040) ) defined_for = StateCode.AL diff --git a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_itemized_deductions.py b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_itemized_deductions.py index ec155897ca2..76f05f22d04 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_itemized_deductions.py @@ -8,9 +8,9 @@ class al_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/" # Code of Alabama Section 40-18-15 - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1" # 2022 Schedule A (Form 1040) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1" # 2021 Schedule A (Form 1040) + "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/", # Code of Alabama Section 40-18-15 + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1", # 2022 Schedule A (Form 1040) + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1", # 2021 Schedule A (Form 1040) ) defined_for = StateCode.AL diff --git a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_medical_expense_deduction.py b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_medical_expense_deduction.py index a58fa7ede71..dbc7268f89d 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_medical_expense_deduction.py +++ b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_medical_expense_deduction.py @@ -8,9 +8,9 @@ class al_medical_expense_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/" # Code of Alabama Section 40-18-15, h(13) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1" # 2022 Schedule A (Form 1040) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1" # 2021 Schedule A (Form 1040) + "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/", # Code of Alabama Section 40-18-15, h(13) + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1", # 2022 Schedule A (Form 1040) + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1", # 2021 Schedule A (Form 1040) ) defined_for = StateCode.AL diff --git a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_misc_deduction.py b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_misc_deduction.py index 721efe4abe8..a671f82d69c 100644 --- a/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_misc_deduction.py +++ b/policyengine_us/variables/gov/states/al/tax/income/deductions/itemized/al_misc_deduction.py @@ -8,9 +8,9 @@ class al_misc_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/" # Code of Alabama Section 40-18-15, h(23) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1" # 2022 Schedule A (Form 1040) - "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1" # 2021 Schedule A (Form 1040) + "https://law.justia.com/codes/alabama/2022/title-40/chapter-18/article-1/section-40-18-15/", # Code of Alabama Section 40-18-15, h(23) + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2023/01/22f40schabdc_blk.pdf#page=1", # 2022 Schedule A (Form 1040) + "https://www.revenue.alabama.gov/ultraviewer/viewer/basic_viewer/index.html?form=2022/06/21f40schabdc_blk.pdf#page=1", # 2021 Schedule A (Form 1040) ) defined_for = StateCode.AL diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_indiv.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_indiv.py index 11ab1ceda1d..cb77797fe97 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_indiv.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_indiv.py @@ -8,8 +8,8 @@ class ar_income_tax_before_non_refundable_credits_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_joint.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_joint.py index 896a9bc9070..5adadb370f3 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_joint.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_joint.py @@ -10,8 +10,8 @@ class ar_income_tax_before_non_refundable_credits_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_unit.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_unit.py index c875e4d33f5..539b391af59 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_unit.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_income_tax_before_non_refundable_credits_unit.py @@ -8,8 +8,8 @@ class ar_income_tax_before_non_refundable_credits_unit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_indiv.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_indiv.py index 3b3318a0717..c4644409ed2 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_indiv.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_indiv.py @@ -8,8 +8,8 @@ class ar_taxable_income_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_joint.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_joint.py index 27b13c58787..f27cd5333d3 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_joint.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_income_joint.py @@ -8,8 +8,8 @@ class ar_taxable_income_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_dependent.py b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_dependent.py index f93b39e9c67..23e95b90721 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_dependent.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_dependent.py @@ -8,9 +8,9 @@ class ar_personal_credit_dependent(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12" + "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_disabled_dependent.py b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_disabled_dependent.py index 9cb1fe12d6e..d035f6d50db 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_disabled_dependent.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credit_disabled_dependent.py @@ -8,9 +8,9 @@ class ar_personal_credit_disabled_dependent(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12" + "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits.py b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits.py index 44eaf3a06df..022122cc0c3 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits.py @@ -11,9 +11,9 @@ class ar_personal_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12" + "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_base.py b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_base.py index 3971d7e939d..e52f3bab96f 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_base.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_base.py @@ -8,9 +8,9 @@ class ar_personal_credits_base(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12" + "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_potential.py b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_potential.py index 9f2ff8cb599..b40b0e822f5 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_potential.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/credits/personal/ar_personal_credits_potential.py @@ -8,9 +8,9 @@ class ar_personal_credits_potential(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1" - "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12" + "https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12", ) defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/az/tax/income/az_taxable_income.py b/policyengine_us/variables/gov/states/az/tax/income/az_taxable_income.py index b9071472d8f..b6636d99bf7 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/az_taxable_income.py +++ b/policyengine_us/variables/gov/states/az/tax/income/az_taxable_income.py @@ -6,7 +6,7 @@ class az_taxable_income(Variable): entity = TaxUnit label = "Arizona taxable income" unit = USD - documentation = "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140Ai.pdf#page=8https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140Ai.pdf#page=8" + reference = "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140Ai.pdf#page=8" definition_period = YEAR defined_for = StateCode.AZ diff --git a/policyengine_us/variables/gov/states/az/tax/income/subtractions/az_public_pension_exclusion.py b/policyengine_us/variables/gov/states/az/tax/income/subtractions/az_public_pension_exclusion.py index e7ed9e58e33..6391cec2579 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/subtractions/az_public_pension_exclusion.py +++ b/policyengine_us/variables/gov/states/az/tax/income/subtractions/az_public_pension_exclusion.py @@ -8,9 +8,9 @@ class az_public_pension_exclusion(Variable): unit = USD definition_period = YEAR reference = ( - "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140BOOKLET.pdf#page=18" - "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140BOOKLET.pdf#page=23" - "https://www.azleg.gov/ars/43/01022.htm" + "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140BOOKLET.pdf#page=18", + "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140BOOKLET.pdf#page=23", + "https://www.azleg.gov/ars/43/01022.htm", ) defined_for = StateCode.AZ diff --git a/policyengine_us/variables/gov/states/ca/tax/income/ca_agi.py b/policyengine_us/variables/gov/states/ca/tax/income/ca_agi.py index 051053ca445..55091ac91e8 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/ca_agi.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/ca_agi.py @@ -8,8 +8,8 @@ class ca_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540.pdf" - "https://www.ftb.ca.gov/forms/2022/2022-540.pdf" + "https://www.ftb.ca.gov/forms/2021/2021-540.pdf", + "https://www.ftb.ca.gov/forms/2022/2022-540.pdf", ) defined_for = StateCode.CA adds = ["adjusted_gross_income", "ca_additions"] diff --git a/policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py b/policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py index 2c41b2f50bc..f1500e86a22 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py @@ -8,8 +8,8 @@ class ca_agi_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html" - "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html" + "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html", + "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html", ) defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/ca/tax/income/ca_taxable_income.py b/policyengine_us/variables/gov/states/ca/tax/income/ca_taxable_income.py index d5975624e03..ac38db7ca07 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/ca_taxable_income.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/ca_taxable_income.py @@ -8,8 +8,8 @@ class ca_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540.pdf" - "https://www.ftb.ca.gov/forms/2022/2022-540.pdf" + "https://www.ftb.ca.gov/forms/2021/2021-540.pdf", + "https://www.ftb.ca.gov/forms/2022/2022-540.pdf", ) defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_deductions.py b/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_deductions.py index 843f2c2c0cb..91ae6e79530 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_deductions.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_deductions.py @@ -8,8 +8,8 @@ class ca_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540.pdf" - "https://www.ftb.ca.gov/forms/2022/2022-540.pdf" + "https://www.ftb.ca.gov/forms/2021/2021-540.pdf", + "https://www.ftb.ca.gov/forms/2022/2022-540.pdf", ) defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_investment_interest_deduction.py b/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_investment_interest_deduction.py index f3bc0bf8fec..ced1855ba48 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_investment_interest_deduction.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/deductions/ca_investment_interest_deduction.py @@ -7,8 +7,8 @@ class ca_investment_interest_deduction(Variable): label = "California investment interest deduction" unit = USD reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-3526.pdf" - "https://law.justia.com/codes/california/2022/code-rtc/division-2/part-11/chapter-7/article-1/section-24344/" + "https://www.ftb.ca.gov/forms/2021/2021-3526.pdf", + "https://law.justia.com/codes/california/2022/code-rtc/division-2/part-11/chapter-7/article-1/section-24344/", ) definition_period = YEAR defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions.py b/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions.py index fe1ba77a3c8..8bdfc06a474 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions.py @@ -8,8 +8,8 @@ class ca_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html" - "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html" + "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html", + "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html", ) defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions_pre_limitation.py b/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions_pre_limitation.py index ec39bc7adca..ed87c390fac 100644 --- a/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions_pre_limitation.py +++ b/policyengine_us/variables/gov/states/ca/tax/income/deductions/itemized/ca_itemized_deductions_pre_limitation.py @@ -8,8 +8,8 @@ class ca_itemized_deductions_pre_limitation(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html" - "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html" + "https://www.ftb.ca.gov/forms/2021/2021-540-ca-instructions.html", + "https://www.ftb.ca.gov/forms/2022/2022-540-ca-instructions.html", ) defined_for = StateCode.CA diff --git a/policyengine_us/variables/gov/states/co/tax/income/additions/co_state_addback.py b/policyengine_us/variables/gov/states/co/tax/income/additions/co_state_addback.py index 9f38a2584eb..0c44382fcc2 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/additions/co_state_addback.py +++ b/policyengine_us/variables/gov/states/co/tax/income/additions/co_state_addback.py @@ -8,8 +8,8 @@ class co_state_addback(Variable): unit = USD definition_period = YEAR reference = ( - "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2021.pdf#page=5" - "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2022.pdf#page=5" + "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2021.pdf#page=5", + "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2022.pdf#page=5", ) defined_for = StateCode.CO diff --git a/policyengine_us/variables/gov/states/ct/tax/income/amt/ct_amt.py b/policyengine_us/variables/gov/states/ct/tax/income/amt/ct_amt.py index 3c56d9bbe22..3e38a4a1ad3 100644 --- a/policyengine_us/variables/gov/states/ct/tax/income/amt/ct_amt.py +++ b/policyengine_us/variables/gov/states/ct/tax/income/amt/ct_amt.py @@ -9,9 +9,9 @@ class ct_amt(Variable): definition_period = YEAR defined_for = StateCode.CT reference = ( - "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/2022-CT-1040-Instructions_1222.pdf#page=2" # line 9 - "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-1040_1222.pdf#page=1" # line 9 - "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-6251_1222.pdf#page=1" # line 23 - "https://www.irs.gov/pub/irs-pdf/f6251.pdf#page=1" # line 7 - "https://www.irs.gov/pub/irs-pdf/i6251.pdf#page=9" # line 7 + "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/2022-CT-1040-Instructions_1222.pdf#page=2", # line 9 + "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-1040_1222.pdf#page=1", # line 9 + "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-6251_1222.pdf#page=1", # line 23 + "https://www.irs.gov/pub/irs-pdf/f6251.pdf#page=1", # line 7 + "https://www.irs.gov/pub/irs-pdf/i6251.pdf#page=9", # line 7 ) diff --git a/policyengine_us/variables/gov/states/ct/tax/income/ct_income_tax_after_amt.py b/policyengine_us/variables/gov/states/ct/tax/income/ct_income_tax_after_amt.py index 5eebf3be694..8e627b3904f 100644 --- a/policyengine_us/variables/gov/states/ct/tax/income/ct_income_tax_after_amt.py +++ b/policyengine_us/variables/gov/states/ct/tax/income/ct_income_tax_after_amt.py @@ -9,8 +9,8 @@ class ct_income_tax_after_amt(Variable): definition_period = YEAR defined_for = StateCode.CT reference = ( - "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/2022-CT-1040-Instructions_1222.pdf#page=2" # line 10 - "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-1040_1222.pdf#page=1" # line 10 + "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/2022-CT-1040-Instructions_1222.pdf#page=2", # line 10 + "https://portal.ct.gov/-/media/DRS/Forms/2022/Income/CT-1040_1222.pdf#page=1", # line 10 ) adds = ["ct_amt", "ct_income_tax_after_personal_credits"] diff --git a/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_additions.py b/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_additions.py index 0a4e215c5ef..be235a92870 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_additions.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_additions.py @@ -8,8 +8,8 @@ class dc_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", ) defined_for = StateCode.DC adds = "gov.states.dc.tax.income.additions.sources" diff --git a/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_self_employment_loss_addition.py b/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_self_employment_loss_addition.py index 998e9695a38..1dbd86a21d7 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_self_employment_loss_addition.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/additions/dc_self_employment_loss_addition.py @@ -8,8 +8,8 @@ class dc_self_employment_loss_addition(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc.py b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc.py index c021c39a77e..1c1921fca8d 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc.py @@ -11,8 +11,8 @@ class dc_cdcc(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc_potential.py b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc_potential.py index c33ba214f45..5b2be973fcc 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc_potential.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_cdcc_potential.py @@ -8,8 +8,8 @@ class dc_cdcc_potential(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_kccatc.py b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_kccatc.py index f7cf221d777..39102d62c24 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_kccatc.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_kccatc.py @@ -8,8 +8,8 @@ class dc_kccatc(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=67" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=59" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=67", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=59", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_non_refundable_credits.py b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_non_refundable_credits.py index aeab5eca6ed..f684befe633 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_non_refundable_credits.py @@ -11,8 +11,8 @@ class dc_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_refundable_credits.py b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_refundable_credits.py index 5118cc0277f..e1a1eb254dd 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_refundable_credits.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/credits/dc_refundable_credits.py @@ -8,8 +8,8 @@ class dc_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", ) defined_for = StateCode.DC adds = "gov.states.dc.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_agi.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_agi.py index 0d3d79b467d..62eac3405d5 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_agi.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_agi.py @@ -8,8 +8,8 @@ class dc_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC adds = ["adjusted_gross_income_person", "dc_additions"] diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax.py index 8d0e83c0458..8f5d2787b46 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax.py @@ -8,8 +8,8 @@ class dc_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=37" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=35" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=37", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=35", ) defined_for = StateCode.DC adds = ["dc_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits.py index b54a9cd0648..2b7ed46d917 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits.py @@ -8,8 +8,8 @@ class dc_income_tax_before_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_indiv.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_indiv.py index aedf0a24806..194f7b80a4a 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_indiv.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_indiv.py @@ -8,8 +8,8 @@ class dc_income_tax_before_credits_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_joint.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_joint.py index ac58072f9f2..abdf5c06e26 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_joint.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_credits_joint.py @@ -8,8 +8,8 @@ class dc_income_tax_before_credits_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_refundable_credits.py index afdeab5d7f1..0a2f78893e4 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_income_tax_before_refundable_credits.py @@ -8,8 +8,8 @@ class dc_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_indiv.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_indiv.py index 53afd890250..dba44f51fc1 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_indiv.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_indiv.py @@ -8,8 +8,8 @@ class dc_taxable_income_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC adds = ["dc_agi"] diff --git a/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_joint.py b/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_joint.py index 91c13438cc3..f44e770471a 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_joint.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/dc_taxable_income_joint.py @@ -8,8 +8,8 @@ class dc_taxable_income_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=36", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=34", ) defined_for = StateCode.DC adds = ["dc_taxable_income_indiv"] diff --git a/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_deduction_indiv.py b/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_deduction_indiv.py index 0d7a18d71d5..d3bd77568cd 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_deduction_indiv.py @@ -8,8 +8,8 @@ class dc_deduction_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=44" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=44" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=44", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=44", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_itemized_deductions.py b/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_itemized_deductions.py index d534fab61d4..93343decc14 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_itemized_deductions.py @@ -8,8 +8,8 @@ class dc_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=18" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=17" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=18", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=17", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_disabled_exclusion_subtraction.py b/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_disabled_exclusion_subtraction.py index 481f8f53eb6..8706d2891f8 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_disabled_exclusion_subtraction.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_disabled_exclusion_subtraction.py @@ -8,10 +8,10 @@ class dc_disabled_exclusion_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", # More details on page 56. - "https://code.dccouncil.gov/us/dc/council/code/titles/47/chapters/18/subchapters/III" + "https://code.dccouncil.gov/us/dc/council/code/titles/47/chapters/18/subchapters/III", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_income_subtractions.py b/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_income_subtractions.py index 37c89db5e93..a8bccb24d81 100644 --- a/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_income_subtractions.py +++ b/policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_income_subtractions.py @@ -8,8 +8,8 @@ class dc_income_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63" - "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55" + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/52926_D-40_12.21.21_Final_Rev011122.pdf#page=63", + "https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2022_D-40_Booklet_Final_blk_01_23_23_Ordc.pdf#page=55", ) defined_for = StateCode.DC diff --git a/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_indv.py b/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_indv.py index 8046b6353e1..95eaead9a7a 100644 --- a/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_indv.py +++ b/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_indv.py @@ -7,7 +7,8 @@ class de_deduction_indv(Variable): label = "Delaware deduction when married couples are filing separately" unit = USD definition_period = YEAR - reference = "https://delcode.delaware.gov/title30/c011/sc02/index.html title 30, chapter 11, subchapter II, section 1108" + # Delaware Code title 30, chapter 11, subchapter II, section 1108 + reference = "https://delcode.delaware.gov/title30/c011/sc02/index.html" defined_for = StateCode.DE def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_joint.py b/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_joint.py index 9bb453236b6..742a36cbde2 100644 --- a/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_joint.py +++ b/policyengine_us/variables/gov/states/de/tax/income/deductions/de_deduction_joint.py @@ -7,7 +7,8 @@ class de_deduction_joint(Variable): label = "Delaware deduction when married filing jointly" unit = USD definition_period = YEAR - reference = "https://delcode.delaware.gov/title30/c011/sc02/index.html title 30, chapter 11, subchapter II, section 1108" + # Delaware Code title 30, chapter 11, subchapter II, section 1108 + reference = "https://delcode.delaware.gov/title30/c011/sc02/index.html" defined_for = StateCode.DE def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/states/ga/tax/income/deductions/ga_standard_deduction.py b/policyengine_us/variables/gov/states/ga/tax/income/deductions/ga_standard_deduction.py index 37ae7fdfe75..77a7e4ab46c 100644 --- a/policyengine_us/variables/gov/states/ga/tax/income/deductions/ga_standard_deduction.py +++ b/policyengine_us/variables/gov/states/ga/tax/income/deductions/ga_standard_deduction.py @@ -8,8 +8,8 @@ class ga_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://apps.dor.ga.gov/FillableForms/PDFViewer/Index?form=2022GA500" - "https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=fb5db531-a80f-4790-bddb-eefc8327ef60&config=00JAA1MDBlYzczZi1lYjFlLTQxMTgtYWE3OS02YTgyOGM2NWJlMDYKAFBvZENhdGFsb2feed0oM9qoQOMCSJFX5qkd&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A65D2-CDH3-CGX8-044N-00008-00&pdcontentcomponentid=234186&pdteaserkey=sr1&pditab=allpods&ecomp=8s65kkk&earg=sr1&prid=66f02b0a-c5ae-4162-9535-127751546807" + "https://apps.dor.ga.gov/FillableForms/PDFViewer/Index?form=2022GA500", + "https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=fb5db531-a80f-4790-bddb-eefc8327ef60&config=00JAA1MDBlYzczZi1lYjFlLTQxMTgtYWE3OS02YTgyOGM2NWJlMDYKAFBvZENhdGFsb2feed0oM9qoQOMCSJFX5qkd&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A65D2-CDH3-CGX8-044N-00008-00&pdcontentcomponentid=234186&pdteaserkey=sr1&pditab=allpods&ecomp=8s65kkk&earg=sr1&prid=66f02b0a-c5ae-4162-9535-127751546807", ) defined_for = StateCode.GA diff --git a/policyengine_us/variables/gov/states/ga/tax/income/ga_additions.py b/policyengine_us/variables/gov/states/ga/tax/income/ga_additions.py index 53d1e48d044..0d8c99cc422 100644 --- a/policyengine_us/variables/gov/states/ga/tax/income/ga_additions.py +++ b/policyengine_us/variables/gov/states/ga/tax/income/ga_additions.py @@ -8,8 +8,8 @@ class ga_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://houpl.org/wp-content/uploads/2023/01/2022-IT-511_Individual_Income_Tax_-Booklet-compressed.pdf#page=14" - "https://www.zillionforms.com/2021/I2122607361.PDF#page14" + "https://houpl.org/wp-content/uploads/2023/01/2022-IT-511_Individual_Income_Tax_-Booklet-compressed.pdf#page=14", + "https://www.zillionforms.com/2021/I2122607361.PDF#page14", ) defined_for = StateCode.GA diff --git a/policyengine_us/variables/gov/states/ga/tax/income/ga_subtractions.py b/policyengine_us/variables/gov/states/ga/tax/income/ga_subtractions.py index 2b571b48dab..51c9af2f77e 100644 --- a/policyengine_us/variables/gov/states/ga/tax/income/ga_subtractions.py +++ b/policyengine_us/variables/gov/states/ga/tax/income/ga_subtractions.py @@ -8,8 +8,8 @@ class ga_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://houpl.org/wp-content/uploads/2023/01/2022-IT-511_Individual_Income_Tax_-Booklet-compressed.pdf#page=14" - "https://www.zillionforms.com/2021/I2122607361.PDF#page14" + "https://houpl.org/wp-content/uploads/2023/01/2022-IT-511_Individual_Income_Tax_-Booklet-compressed.pdf#page=14", + "https://www.zillionforms.com/2021/I2122607361.PDF#page14", ) defined_for = StateCode.GA diff --git a/policyengine_us/variables/gov/states/hi/tax/income/hi_agi.py b/policyengine_us/variables/gov/states/hi/tax/income/hi_agi.py index bca8db6d5c9..e87a5dc5e35 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/hi_agi.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/hi_agi.py @@ -9,7 +9,7 @@ class hi_agi(Variable): unit = USD definition_period = YEAR # Hawaii Instructions for Form N-11 Rev 2022 (p4) - reference = " https://files.hawaii.gov/tax/forms/2022/n11ins.pdf" + reference = "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf" adds = ["hi_additions", "adjusted_gross_income"] subtracts = ["hi_subtractions"] diff --git a/policyengine_us/variables/gov/states/in/tax/income/credits/elderly_tax_credit/in_unified_elderly_tax_credit.py b/policyengine_us/variables/gov/states/in/tax/income/credits/elderly_tax_credit/in_unified_elderly_tax_credit.py index 219decf5839..a9861de6be3 100644 --- a/policyengine_us/variables/gov/states/in/tax/income/credits/elderly_tax_credit/in_unified_elderly_tax_credit.py +++ b/policyengine_us/variables/gov/states/in/tax/income/credits/elderly_tax_credit/in_unified_elderly_tax_credit.py @@ -8,8 +8,8 @@ class in_unified_elderly_tax_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://iga.in.gov/laws/2021/ic/titles/6#6-3-3-9" - "https://iga.in.gov/laws/2022/ic/titles/6#6-3-3-9" + "https://iga.in.gov/laws/2021/ic/titles/6#6-3-3-9", + "https://iga.in.gov/laws/2022/ic/titles/6#6-3-3-9", ) defined_for = StateCode.IN diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_nonrefundable_eitc.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_nonrefundable_eitc.py index cac80cf4ef0..67dee05b329 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_nonrefundable_eitc.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_nonrefundable_eitc.py @@ -8,7 +8,8 @@ class ks_nonrefundable_eitc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_refundable_eitc.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_refundable_eitc.py index d0c98a33ed7..295cf8bb691 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_refundable_eitc.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_refundable_eitc.py @@ -8,7 +8,8 @@ class ks_refundable_eitc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_total_eitc.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_total_eitc.py index 446daa66a7b..bc28a643966 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_total_eitc.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/eitc/ks_total_eitc.py @@ -8,7 +8,8 @@ class ks_total_eitc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_cdcc.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_cdcc.py index 9b71bffe217..38a080d30c6 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_cdcc.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_cdcc.py @@ -8,7 +8,8 @@ class ks_cdcc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py index 80b7713e316..6e09ebf3fa8 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py @@ -8,7 +8,8 @@ class ks_fstc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_non_refundable_credits.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_non_refundable_credits.py index f6fdb5ee82d..c1fbfca09a7 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_non_refundable_credits.py @@ -8,7 +8,8 @@ class ks_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_refundable_credits.py b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_refundable_credits.py index f102d635ae7..584101a8d13 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/credits/ks_refundable_credits.py @@ -8,7 +8,8 @@ class ks_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS adds = "gov.states.ks.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_itemized_deductions.py b/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_itemized_deductions.py index d07b505cfb8..fd0b8dee13f 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_itemized_deductions.py @@ -8,7 +8,8 @@ class ks_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_standard_deduction.py b/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_standard_deduction.py index af943c5f666..11e3f472523 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_standard_deduction.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/deductions/ks_standard_deduction.py @@ -8,7 +8,8 @@ class ks_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_count_exemptions.py b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_count_exemptions.py index 9c49ed05167..d69c01f2d84 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_count_exemptions.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/exemptions/ks_count_exemptions.py @@ -8,7 +8,8 @@ class ks_count_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_additions.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_additions.py index 3453e5d6b49..8f053c881d6 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_additions.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_additions.py @@ -8,6 +8,7 @@ class ks_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_agi.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_agi.py index 5138f00921b..f3df2e6a496 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_agi.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_agi.py @@ -8,7 +8,8 @@ class ks_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS adds = ["adjusted_gross_income", "ks_additions"] diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax.py index 0502f604ed5..21601ce7ab4 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax.py @@ -8,7 +8,8 @@ class ks_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS adds = ["ks_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_credits.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_credits.py index b7f3e41f497..e24ca092e0b 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_credits.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_credits.py @@ -8,7 +8,8 @@ class ks_income_tax_before_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.py index f5098095199..c2e8b24f0a8 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.py @@ -8,7 +8,8 @@ class ks_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ks/tax/income/ks_taxable_income.py b/policyengine_us/variables/gov/states/ks/tax/income/ks_taxable_income.py index c5afa8682fc..79dba7f7981 100644 --- a/policyengine_us/variables/gov/states/ks/tax/income/ks_taxable_income.py +++ b/policyengine_us/variables/gov/states/ks/tax/income/ks_taxable_income.py @@ -8,7 +8,8 @@ class ks_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf" + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://www.ksrevenue.gov/pdf/ip22.pdf", ) defined_for = StateCode.KS diff --git a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_indiv.py b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_indiv.py index 3fff1def1ae..c5031139e53 100644 --- a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_indiv.py @@ -8,8 +8,8 @@ class ky_itemized_deductions_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf" - "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/" # (2)(i) + "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf", + "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/", # (2)(i) ) defined_for = StateCode.KY diff --git a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_joint.py b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_joint.py index 3a3ab38c790..7c4a167c617 100644 --- a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_joint.py +++ b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deduction_joint.py @@ -8,8 +8,8 @@ class ky_itemized_deductions_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf" - "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/" # (2)(i) + "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf", + "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/", # (2)(i) ) defined_for = StateCode.KY diff --git a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deductions_unit.py b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deductions_unit.py index 7c34678df65..7adcc1154a8 100644 --- a/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deductions_unit.py +++ b/policyengine_us/variables/gov/states/ky/tax/income/deductions/ky_itemized_deductions_unit.py @@ -8,8 +8,8 @@ class ky_itemized_deductions_unit(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf" - "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/" # (2)(i) + "https://revenue.ky.gov/Forms/Form%20740%20Schedule%20A%202022.pdf", + "https://law.justia.com/codes/kentucky/2022/chapter-141/section-141-019/", # (2)(i) ) defined_for = StateCode.KY diff --git a/policyengine_us/variables/gov/states/ky/tax/income/ky_additions.py b/policyengine_us/variables/gov/states/ky/tax/income/ky_additions.py index 2a812785b7e..94360c4773c 100644 --- a/policyengine_us/variables/gov/states/ky/tax/income/ky_additions.py +++ b/policyengine_us/variables/gov/states/ky/tax/income/ky_additions.py @@ -8,10 +8,10 @@ class ky_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=53498" - "https://revenue.ky.gov/Forms/Schedule%20M%202022.pdf#page=1" - "https://revenue.ky.gov/Forms/740%20Packet%20Instructions%205-9-23.pdf#page=23" - "https://revenue.ky.gov/Forms/Schedule%20M-2021.pdf#page=1" - "https://taxsim.nber.org/historical_state_tax_forms/KY/2021/Form%20740%20Packet%20Instructions-2021.pdf#page=27" + "https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=53498", + "https://revenue.ky.gov/Forms/Schedule%20M%202022.pdf#page=1", + "https://revenue.ky.gov/Forms/740%20Packet%20Instructions%205-9-23.pdf#page=23", + "https://revenue.ky.gov/Forms/Schedule%20M-2021.pdf#page=1", + "https://taxsim.nber.org/historical_state_tax_forms/KY/2021/Form%20740%20Packet%20Instructions-2021.pdf#page=27", ) defined_for = StateCode.KY diff --git a/policyengine_us/variables/gov/states/ky/tax/income/ky_subtractions.py b/policyengine_us/variables/gov/states/ky/tax/income/ky_subtractions.py index a6c481c4966..f3e88bc5ca9 100644 --- a/policyengine_us/variables/gov/states/ky/tax/income/ky_subtractions.py +++ b/policyengine_us/variables/gov/states/ky/tax/income/ky_subtractions.py @@ -8,11 +8,11 @@ class ky_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=53498" - "https://revenue.ky.gov/Forms/Schedule%20M%202022.pdf#page=1" - "https://revenue.ky.gov/Forms/740%20Packet%20Instructions%205-9-23.pdf#page=23" - "https://revenue.ky.gov/Forms/Schedule%20M-2021.pdf#page=1" - "https://taxsim.nber.org/historical_state_tax_forms/KY/2021/Form%20740%20Packet%20Instructions-2021.pdf#page=27" + "https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=53498", + "https://revenue.ky.gov/Forms/Schedule%20M%202022.pdf#page=1", + "https://revenue.ky.gov/Forms/740%20Packet%20Instructions%205-9-23.pdf#page=23", + "https://revenue.ky.gov/Forms/Schedule%20M-2021.pdf#page=1", + "https://taxsim.nber.org/historical_state_tax_forms/KY/2021/Form%20740%20Packet%20Instructions-2021.pdf#page=27", ) defined_for = StateCode.KY diff --git a/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_dependent_care_subtraction.py b/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_dependent_care_subtraction.py index 341cca2fc03..07531410798 100644 --- a/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_dependent_care_subtraction.py +++ b/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_dependent_care_subtraction.py @@ -8,9 +8,9 @@ class md_dependent_care_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://casetext.com/statute/code-of-maryland/article-tax-general/title-10-income-tax/subtitle-2-maryland-taxable-income-calculations-for-individual/part-ii-maryland-adjusted-gross-income/section-10-208-effective-until-712024-subtractions-from-federal-adjusted-gross-income-state-adjustments" - "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=13" - "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=13" + "https://casetext.com/statute/code-of-maryland/article-tax-general/title-10-income-tax/subtitle-2-maryland-taxable-income-calculations-for-individual/part-ii-maryland-adjusted-gross-income/section-10-208-effective-until-712024-subtractions-from-federal-adjusted-gross-income-state-adjustments", + "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=13", + "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=13", ) defined_for = StateCode.MD diff --git a/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_two_income_subtraction.py b/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_two_income_subtraction.py index a5e8c75409b..543782c4c7f 100644 --- a/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_two_income_subtraction.py +++ b/policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_two_income_subtraction.py @@ -8,8 +8,8 @@ class md_two_income_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=16" - "https://govt.westlaw.com/mdc/Document/NF93A7BD2E6C811ECA065A3F5EAA0E5C9?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)" + "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=16", + "https://govt.westlaw.com/mdc/Document/NF93A7BD2E6C811ECA065A3F5EAA0E5C9?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)", ) defined_for = StateCode.MD diff --git a/policyengine_us/variables/gov/states/md/tax/income/deductions/md_deductions.py b/policyengine_us/variables/gov/states/md/tax/income/deductions/md_deductions.py index 484cbed6e35..ac2549f168c 100644 --- a/policyengine_us/variables/gov/states/md/tax/income/deductions/md_deductions.py +++ b/policyengine_us/variables/gov/states/md/tax/income/deductions/md_deductions.py @@ -8,9 +8,9 @@ class md_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://govt.westlaw.com/mdc/Document/N05479690A64A11DBB5DDAC3692B918BC?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)" - "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=5" - "https://www.marylandtaxes.gov/forms/22_forms/Resident_Booklet.pdf#page=5" + "https://govt.westlaw.com/mdc/Document/N05479690A64A11DBB5DDAC3692B918BC?viewType=FullText&originationContext=documenttoc&transitionType=CategoryPageItem&contextData=(sc.Default)", + "https://www.marylandtaxes.gov/forms/21_forms/Resident_Booklet.pdf#page=5", + "https://www.marylandtaxes.gov/forms/22_forms/Resident_Booklet.pdf#page=5", ) defined_for = StateCode.MD diff --git a/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.py b/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.py index dc6df3d63f9..f59bf859f4e 100644 --- a/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.py +++ b/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.py @@ -11,8 +11,8 @@ class mi_alternate_home_heating_credit(Variable): definition_period = YEAR reference = ( - "https://www.michigan.gov/-/media/Project/Websites/taxes/2022RM/IIT/MI-1040CR7.pdf?rev=84f72df3f8664b96903aa6b655dc34d2" - "http://www.legislature.mi.gov/(S(keapvg1h2vndkn25rtmpyyse))/mileg.aspx?page=getObject&objectName=mcl-206-527a" + "https://www.michigan.gov/-/media/Project/Websites/taxes/2022RM/IIT/MI-1040CR7.pdf?rev=84f72df3f8664b96903aa6b655dc34d2", + "http://www.legislature.mi.gov/(S(keapvg1h2vndkn25rtmpyyse))/mileg.aspx?page=getObject&objectName=mcl-206-527a", ) # Calculated from https://drive.google.com/file/d/1-bCwQn3nV9W-bIPlrVViTHes0ovWgLBr/view?usp=sharing diff --git a/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.py b/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.py index f2fce8b14e7..f2b3cba5129 100644 --- a/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.py +++ b/policyengine_us/variables/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.py @@ -9,8 +9,8 @@ class mi_home_heating_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.michigan.gov/taxes/iit/accordion/credits/table-a-2022-home-heating-credit-mi-1040cr-7-standard-allowance" - "http://www.legislature.mi.gov/(S(keapvg1h2vndkn25rtmpyyse))/mileg.aspx?page=getObject&objectName=mcl-206-527a" + "https://www.michigan.gov/taxes/iit/accordion/credits/table-a-2022-home-heating-credit-mi-1040cr-7-standard-allowance", + "http://www.legislature.mi.gov/(S(keapvg1h2vndkn25rtmpyyse))/mileg.aspx?page=getObject&objectName=mcl-206-527a", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/mn/tax/income/additions/mn_additions.py b/policyengine_us/variables/gov/states/mn/tax/income/additions/mn_additions.py index 722228330d5..82844f05851 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/additions/mn_additions.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/additions/mn_additions.py @@ -8,8 +8,8 @@ class mn_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf" + "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf", ) defined_for = StateCode.MN adds = "gov.states.mn.tax.income.additions.sources" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt.py b/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt.py index 01fe1d96265..64de249c87c 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt.py @@ -8,8 +8,8 @@ class mn_amt(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1mt_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1mt_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1mt_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1mt_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt_taxable_income.py b/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt_taxable_income.py index b6e50b9691e..50dc8cc7602 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt_taxable_income.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/amt/mn_amt_taxable_income.py @@ -8,8 +8,8 @@ class mn_amt_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1mt_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1mt_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1mt_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1mt_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py index 85e9d76c0cd..857fd81224c 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py @@ -8,8 +8,8 @@ class mn_cdcc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf", ) defined_for = "mn_cdcc_eligible" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py index f8a5afce6ea..d24b60e56ec 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py @@ -8,8 +8,8 @@ class mn_cdcc_dependent_count(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf", ) defined_for = "mn_cdcc_eligible" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py index dad14d5b4ce..07be1da84f5 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py @@ -7,8 +7,8 @@ class mn_cdcc_eligible(Variable): label = "Eligible for the Minnesota child and dependent care expense credit" definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py index ba11794e178..96ed0644fe6 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py @@ -8,8 +8,8 @@ class mn_cdcc_phase_out(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-02/m1cd_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1cd_22_0.pdf", ) defined_for = "mn_cdcc_eligible" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py index bede2b80156..77034a7320d 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py @@ -8,9 +8,9 @@ class mn_child_and_working_families_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revisor.mn.gov/statutes/cite/290.0661#stat.290.0661.4" - "https://www.revisor.mn.gov/statutes/cite/290.0671" - "https://www.revenue.state.mn.us/sites/default/files/2025-01/m1cwfc-23.pdf" + "https://www.revisor.mn.gov/statutes/cite/290.0661#stat.290.0661.4", + "https://www.revisor.mn.gov/statutes/cite/290.0671", + "https://www.revenue.state.mn.us/sites/default/files/2025-01/m1cwfc-23.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_marriage_credit.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_marriage_credit.py index 1db36bfefa6..ba00a35528b 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_marriage_credit.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_marriage_credit.py @@ -8,8 +8,8 @@ class mn_marriage_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ma_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ma_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ma_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ma_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_non_refundable_credits.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_non_refundable_credits.py index 36d3604fff6..83c82ee342d 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_non_refundable_credits.py @@ -8,8 +8,8 @@ class mn_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1c_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1c_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1c_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1c_22.pdf", ) defined_for = StateCode.MN adds = "gov.states.mn.tax.income.credits.nonrefundable" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_refundable_credits.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_refundable_credits.py index a2641981f0c..f05f9c128ea 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_refundable_credits.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_refundable_credits.py @@ -8,8 +8,8 @@ class mn_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1ref_22.pdf", ) defined_for = StateCode.MN adds = "gov.states.mn.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc.py index e27d5eaaf9b..453e99d7b22 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc.py @@ -8,8 +8,8 @@ class mn_wfc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revisor.mn.gov/statutes/2021/cite/290.0671" - "https://www.revisor.mn.gov/statutes/cite/290.0671" + "https://www.revisor.mn.gov/statutes/2021/cite/290.0671", + "https://www.revisor.mn.gov/statutes/cite/290.0671", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc_eligible.py b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc_eligible.py index c66eba57944..d9527fa1857 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc_eligible.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/credits/mn_wfc_eligible.py @@ -7,8 +7,8 @@ class mn_wfc_eligible(Variable): label = "Minnesota working family credit eligibilty status" definition_period = YEAR reference = ( - "https://www.revisor.mn.gov/statutes/2021/cite/290.0671" - "https://www.revisor.mn.gov/statutes/cite/290.0671" + "https://www.revisor.mn.gov/statutes/2021/cite/290.0671", + "https://www.revisor.mn.gov/statutes/cite/290.0671", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_deductions.py b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_deductions.py index 1764bf5e1a2..95c2caa4fa0 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_deductions.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_deductions.py @@ -8,10 +8,10 @@ class mn_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemized_deductions.py b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemized_deductions.py index f161dbe51a7..e546800aae6 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemized_deductions.py @@ -8,10 +8,10 @@ class mn_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemizing.py b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemizing.py index 2a3fe95906a..3443203340f 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemizing.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_itemizing.py @@ -8,10 +8,10 @@ class mn_itemizing(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_standard_deduction.py b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_standard_deduction.py index 78b71884034..39cd0ba10c4 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_standard_deduction.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/deductions/mn_standard_deduction.py @@ -8,8 +8,8 @@ class mn_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/exemptions/mn_exemptions.py b/policyengine_us/variables/gov/states/mn/tax/income/exemptions/mn_exemptions.py index 8c56db08f35..1861b923877 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/exemptions/mn_exemptions.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/exemptions/mn_exemptions.py @@ -9,10 +9,10 @@ class mn_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/mn_basic_tax.py b/policyengine_us/variables/gov/states/mn/tax/income/mn_basic_tax.py index 23c04bc540b..69e2a422721 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/mn_basic_tax.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/mn_basic_tax.py @@ -8,8 +8,8 @@ class mn_basic_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax.py b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax.py index 135c4d04dca..494d06e7409 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax.py @@ -8,10 +8,10 @@ class mn_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN adds = ["mn_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_credits.py b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_credits.py index 5d68c4a46b8..ebf3597b473 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_credits.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_credits.py @@ -8,8 +8,8 @@ class mn_income_tax_before_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.py index 21bff4fa4f9..019c8e57434 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.py @@ -8,10 +8,10 @@ class mn_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/mn_taxable_income.py b/policyengine_us/variables/gov/states/mn/tax/income/mn_taxable_income.py index 8079582af35..68835018941 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/mn_taxable_income.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/mn_taxable_income.py @@ -8,10 +8,10 @@ class mn_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/niit/mn_niit.py b/policyengine_us/variables/gov/states/mn/tax/income/niit/mn_niit.py index 821581baef2..a33434afe2c 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/niit/mn_niit.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/niit/mn_niit.py @@ -8,8 +8,8 @@ class mn_niit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2024-12/m1m-24.pdf" - "https://www.revisor.mn.gov/statutes/cite/290.033" + "https://www.revenue.state.mn.us/sites/default/files/2024-12/m1m-24.pdf", + "https://www.revisor.mn.gov/statutes/cite/290.033", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_charity_subtraction.py b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_charity_subtraction.py index b1dcf9fd6ee..49fccf02f7a 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_charity_subtraction.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_charity_subtraction.py @@ -8,8 +8,8 @@ class mn_charity_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf" + "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_elderly_disabled_subtraction.py b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_elderly_disabled_subtraction.py index a6de421fd5e..0f2226338c4 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_elderly_disabled_subtraction.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_elderly_disabled_subtraction.py @@ -8,8 +8,8 @@ class mn_elderly_disabled_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1r_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1r_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1r_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1r_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_public_pension_subtraction.py b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_public_pension_subtraction.py index 1ec19be7456..674b6ea9686 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_public_pension_subtraction.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_public_pension_subtraction.py @@ -8,8 +8,8 @@ class mn_public_pension_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf" + "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_social_security_subtraction.py b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_social_security_subtraction.py index 40f9f5ee967..4c67b46ce02 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_social_security_subtraction.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_social_security_subtraction.py @@ -8,8 +8,8 @@ class mn_social_security_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf" + "https://www.taxformfinder.org/forms/2021/2021-minnesota-form-m1m.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1m_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_subtractions.py b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_subtractions.py index c961c44f870..2bc9ed42cc4 100644 --- a/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_subtractions.py +++ b/policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_subtractions.py @@ -8,10 +8,10 @@ class mn_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf" - "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf" + "https://www.revenue.state.mn.us/sites/default/files/2021-12/m1_21_0.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-01/m1_inst_21.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2022-12/m1_22.pdf", + "https://www.revenue.state.mn.us/sites/default/files/2023-03/m1_inst_22.pdf", ) defined_for = StateCode.MN diff --git a/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_indiv.py b/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_indiv.py index 9ab7d720612..5a06273ad19 100644 --- a/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_indiv.py +++ b/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_indiv.py @@ -8,9 +8,9 @@ class ms_itemized_deductions_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80100221.pdf#page=15" - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf, # Line 7" - "https://casetext.com/statute/mississippi-code-1972/title-27-taxation-and-finance/chapter-7-income-tax-and-withholding/article-1-income-tax/section-27-7-17-deductions-allowed?__cf_chl_rt_tk=8Kelu8kHpIXTp_FnAJLHvqa7rtrZYE1U.NAeBM8L.Nc-1692990420-0-gaNycGzNEmU" + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80100221.pdf#page=15", + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf", # Line 7 + "https://casetext.com/statute/mississippi-code-1972/title-27-taxation-and-finance/chapter-7-income-tax-and-withholding/article-1-income-tax/section-27-7-17-deductions-allowed?__cf_chl_rt_tk=8Kelu8kHpIXTp_FnAJLHvqa7rtrZYE1U.NAeBM8L.Nc-1692990420-0-gaNycGzNEmU", ) defined_for = StateCode.MS diff --git a/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_unit.py b/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_unit.py index 603113c025a..aa8c6b9750e 100644 --- a/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_unit.py +++ b/policyengine_us/variables/gov/states/ms/tax/income/deductions/itemized/ms_itemized_deductions_unit.py @@ -9,9 +9,9 @@ class ms_itemized_deductions_unit(Variable): definition_period = YEAR reference = ( - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80100221.pdf#page=15" - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf, # Line 7" - "https://casetext.com/statute/mississippi-code-1972/title-27-taxation-and-finance/chapter-7-income-tax-and-withholding/article-1-income-tax/section-27-7-17-deductions-allowed?__cf_chl_rt_tk=8Kelu8kHpIXTp_FnAJLHvqa7rtrZYE1U.NAeBM8L.Nc-1692990420-0-gaNycGzNEmU" + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80100221.pdf#page=15", + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf", # Line 7 + "https://casetext.com/statute/mississippi-code-1972/title-27-taxation-and-finance/chapter-7-income-tax-and-withholding/article-1-income-tax/section-27-7-17-deductions-allowed?__cf_chl_rt_tk=8Kelu8kHpIXTp_FnAJLHvqa7rtrZYE1U.NAeBM8L.Nc-1692990420-0-gaNycGzNEmU", ) defined_for = StateCode.MS diff --git a/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_indiv.py b/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_indiv.py index 6e7c560ed92..7fde749a2df 100644 --- a/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_indiv.py +++ b/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_indiv.py @@ -8,8 +8,8 @@ class ms_deductions_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf#page=1" - "https://www.law.cornell.edu/regulations/mississippi/35-Miss-Code-R-SS-3-02-11-103" + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf#page=1", + "https://www.law.cornell.edu/regulations/mississippi/35-Miss-Code-R-SS-3-02-11-103", ) defined_for = StateCode.MS diff --git a/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_joint.py b/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_joint.py index 0fa4af8d4ab..0b056339372 100644 --- a/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_joint.py +++ b/policyengine_us/variables/gov/states/ms/tax/income/deductions/ms_deductions_joint.py @@ -8,8 +8,8 @@ class ms_deductions_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf#page=1" - "https://www.law.cornell.edu/regulations/mississippi/35-Miss-Code-R-SS-3-02-11-103" + "https://www.dor.ms.gov/sites/default/files/Forms/Individual/80108228.pdf#page=1", + "https://www.law.cornell.edu/regulations/mississippi/35-Miss-Code-R-SS-3-02-11-103", ) defined_for = StateCode.MS diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py index 3e0456b2d78..aec210d85f1 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py @@ -8,8 +8,8 @@ class mt_itemized_deductions_for_federal_itemization_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # MT Code § 15-30-2131 (2022) (1) ) defined_for = "mt_married_filing_separately_on_same_return_eligible" diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py index bc95fb35b14..5cf646049bd 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py @@ -8,8 +8,8 @@ class mt_itemized_deductions_for_federal_itemization_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # MT Code § 15-30-2131 (2022) (1) ) defined_for = StateCode.MT diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py index 76959250c13..7dcb20b8917 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py @@ -8,8 +8,8 @@ class mt_itemized_deductions_indiv(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # MT Code § 15-30-2131 (2022) (1) ) defined_for = "mt_married_filing_separately_on_same_return_eligible" diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_joint.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_joint.py index 286eefa22f4..7a5f915cb76 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_joint.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_joint.py @@ -8,8 +8,8 @@ class mt_itemized_deductions_joint(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # MT Code § 15-30-2131 (2022) (1) ) defined_for = StateCode.MT diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_misc_deductions.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_misc_deductions.py index 95aa85af31b..c81e35c9aa5 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_misc_deductions.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_misc_deductions.py @@ -8,8 +8,8 @@ class mt_misc_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # Montana Code Annotated MT Code § 15-30-2131 (2022) (1)(a)&(c) ) defined_for = StateCode.MT diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py index 029045a66e9..90543e9ce5f 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py @@ -8,8 +8,8 @@ class mt_salt_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7" - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/" + "https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf#page=7", + "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", # Montana Code Annotated MT Code § 15-30-2131 (2022) (1)(a) ) defined_for = StateCode.MT diff --git a/policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py b/policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py index 30fdc86e16f..11e31ae9eb2 100644 --- a/policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py +++ b/policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py @@ -6,8 +6,8 @@ class nc_scca_market_rate(Variable): entity = Person label = "North Carolina Subsidized Child Care Assistance (SCCA) program market rate" reference = ( - "https://ncchildcare.ncdhhs.gov/Portals/0/documents/pdf/M/Market_Rates_Centers_Eff_10-1.pdf?ver=9w52alSPhmrmo0N9gGVMEw%3d%3d" - "https://docs.google.com/spreadsheets/d/1y7p8qkiOrMAM42rtSwT_ZXeA5tzew4edNkrTXACxf4M/edit?gid=1339413807#gid=1339413807" + "https://ncchildcare.ncdhhs.gov/Portals/0/documents/pdf/M/Market_Rates_Centers_Eff_10-1.pdf?ver=9w52alSPhmrmo0N9gGVMEw%3d%3d", + "https://docs.google.com/spreadsheets/d/1y7p8qkiOrMAM42rtSwT_ZXeA5tzew4edNkrTXACxf4M/edit?gid=1339413807#gid=1339413807", ) definition_period = MONTH defined_for = "nc_scca_child_eligible" diff --git a/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_itemized_deductions.py b/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_itemized_deductions.py index 04687be937b..994735af1a7 100644 --- a/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_itemized_deductions.py @@ -7,7 +7,7 @@ class nc_itemized_deductions(Variable): label = "North Carolina itemized deductions" unit = USD definition_period = YEAR - reference = "https://www.ncdor.gov/taxes-forms/individual-income-tax/north-carolina-standard-deduction-or-north-carolina-itemized-deductions " + reference = "https://www.ncdor.gov/taxes-forms/individual-income-tax/north-carolina-standard-deduction-or-north-carolina-itemized-deductions" defined_for = StateCode.NC def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_standard_or_itemized_deductions.py b/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_standard_or_itemized_deductions.py index 5854eee63ab..60b67262ac3 100644 --- a/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_standard_or_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/nc/tax/income/deductions/nc_standard_or_itemized_deductions.py @@ -8,8 +8,8 @@ class nc_standard_or_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.ncdor.gov/2021-d-401-individual-income-tax-instructions/open#page=14" - "https://www.ncdor.gov/2022-d-401-individual-income-tax-instructions/open#page=14" + "https://www.ncdor.gov/2021-d-401-individual-income-tax-instructions/open#page=14", + "https://www.ncdor.gov/2022-d-401-individual-income-tax-instructions/open#page=14", ) defined_for = StateCode.NC diff --git a/policyengine_us/variables/gov/states/nd/tax/income/credits/nd_rtrc.py b/policyengine_us/variables/gov/states/nd/tax/income/credits/nd_rtrc.py index 902f3297dd0..b94b3df89bd 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/credits/nd_rtrc.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/credits/nd_rtrc.py @@ -8,10 +8,10 @@ class nd_rtrc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=2" # line 20 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=2" # line 20 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=2", # line 20 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=2", # line 20 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_additions.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_additions.py index 8284ff353f4..3b45da453d8 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_additions.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_additions.py @@ -8,10 +8,10 @@ class nd_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1" # line 5 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1" # line 5 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1", # line 5 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1", # line 5 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14", ) defined_for = StateCode.ND adds = "gov.states.nd.tax.income.taxable_income.additions.sources" diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax.py index d86fd86d8d6..6b2d69b78b1 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax.py @@ -8,10 +8,10 @@ class nd_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf", ) defined_for = StateCode.ND adds = ["nd_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.py index 0376b162350..83b995c74f1 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.py @@ -8,10 +8,10 @@ class nd_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_non_refundable_credits.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_non_refundable_credits.py index e2897df41bb..4ba2d5566f4 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_non_refundable_credits.py @@ -8,10 +8,10 @@ class nd_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=2" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=16" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=2" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=16" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=2", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=16", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=2", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=16", ) defined_for = StateCode.ND adds = "gov.states.nd.tax.income.credits.nonrefundable" diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_refundable_credits.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_refundable_credits.py index 085f5d32619..813c6a0c521 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_refundable_credits.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_refundable_credits.py @@ -8,10 +8,10 @@ class nd_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf", ) defined_for = StateCode.ND # adds = "gov.states.nd.tax.income.credits.refundable" # ND has none diff --git a/policyengine_us/variables/gov/states/nd/tax/income/nd_taxable_income.py b/policyengine_us/variables/gov/states/nd/tax/income/nd_taxable_income.py index e6e6675502a..bce599cae5a 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/nd_taxable_income.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/nd_taxable_income.py @@ -8,10 +8,10 @@ class nd_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1" # line 18 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1" # line 18 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1", # line 18 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1", # line 18 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_ltcg_subtraction.py b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_ltcg_subtraction.py index 26b2172c61b..cadce9d85f4 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_ltcg_subtraction.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_ltcg_subtraction.py @@ -10,10 +10,10 @@ class nd_ltcg_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1" # line 7 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1" # line 7 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1", # line 7 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1", # line 7 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_qdiv_subtraction.py b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_qdiv_subtraction.py index cbf86fa4605..e8c8364f978 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_qdiv_subtraction.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_qdiv_subtraction.py @@ -8,10 +8,10 @@ class nd_qdiv_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1" # line 13 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=15" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1" # line 13 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=15" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1", # line 13 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=15", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1", # line 13 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=15", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_subtractions.py b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_subtractions.py index 5cdff2b6a3c..214f92ea246 100644 --- a/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_subtractions.py +++ b/policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_subtractions.py @@ -8,10 +8,10 @@ class nd_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1" # line 16 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14" - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1" # line 16 - "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14" + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/form-nd-1-2021.pdf#page=1", # line 16 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2021-iit/individual-income-tax-booklet-2021.pdf#page=14", + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/form-nd-1-2022.pdf#page=1", # line 16 + "https://www.tax.nd.gov/sites/www/files/documents/forms/individual/2022-iit/2022-individual-income-tax-booklet.pdf#page=14", ) defined_for = StateCode.ND diff --git a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_additions.py b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_additions.py index 3627bbaf2ae..ac3343ef877 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_additions.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_additions.py @@ -8,7 +8,7 @@ class ne_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi.py b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi.py index 57e72803f27..90fdeb49938 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi.py @@ -8,8 +8,8 @@ class ne_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE adds = ["adjusted_gross_income", "ne_additions"] diff --git a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi_subtractions.py b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi_subtractions.py index 32291f8a902..038f3f5cd01 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi_subtractions.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi_subtractions.py @@ -8,10 +8,10 @@ class ne_agi_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" - "https://revenue.nebraska.gov/about/2023-nebraska-legislative-changes" - "https://www.nebraskalegislature.gov/FloorDocs/108/PDF/Slip/LB754.pdf#page=10" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", + "https://revenue.nebraska.gov/about/2023-nebraska-legislative-changes", + "https://www.nebraskalegislature.gov/FloorDocs/108/PDF/Slip/LB754.pdf#page=10", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_nonrefundable.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_nonrefundable.py index d1416f0abb0..1268181dbcb 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_nonrefundable.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_nonrefundable.py @@ -8,8 +8,8 @@ class ne_cdcc_nonrefundable(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable.py index 98007785608..9e4db316d3d 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable.py @@ -8,8 +8,8 @@ class ne_cdcc_refundable(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_2441n.pdf" - "https://revenue.nebraska.gov/sites/revenue.nebraska.gov/files/doc/Form_2441N_Ne_Child_and_Dependent_Care_Expenses_8-618-2022_final_2.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_2441n.pdf", + "https://revenue.nebraska.gov/sites/revenue.nebraska.gov/files/doc/Form_2441N_Ne_Child_and_Dependent_Care_Expenses_8-618-2022_final_2.pdf", ) defined_for = "ne_cdcc_refundable_eligible" diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable_eligible.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable_eligible.py index 251f6781af3..d0cca2a0831 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable_eligible.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/cdcc/ne_cdcc_refundable_eligible.py @@ -8,8 +8,8 @@ class ne_cdcc_refundable_eligible(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_2441n.pdf" - "https://revenue.nebraska.gov/sites/revenue.nebraska.gov/files/doc/Form_2441N_Ne_Child_and_Dependent_Care_Expenses_8-618-2022_final_2.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_2441n.pdf", + "https://revenue.nebraska.gov/sites/revenue.nebraska.gov/files/doc/Form_2441N_Ne_Child_and_Dependent_Care_Expenses_8-618-2022_final_2.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/ctc/refundable/ne_refundable_ctc_eligible_child.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/ctc/refundable/ne_refundable_ctc_eligible_child.py index acf5559d2b5..62f60a6e2a9 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/ctc/refundable/ne_refundable_ctc_eligible_child.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/ctc/refundable/ne_refundable_ctc_eligible_child.py @@ -7,7 +7,7 @@ class ne_refundable_ctc_eligible_child(Variable): label = "Nebraska refundable Child Tax Credit eligible child" definition_period = YEAR reference = ( - "https://nebraskalegislature.gov/laws/statutes.php?statute=77-7202" + "https://nebraskalegislature.gov/laws/statutes.php?statute=77-7202", "https://revenue.nebraska.gov/businesses/child-care-tax-credit-act", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/eitc/ne_eitc.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/eitc/ne_eitc.py index 6a4c545ec68..a34d58d39b4 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/eitc/ne_eitc.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/eitc/ne_eitc.py @@ -8,8 +8,8 @@ class ne_eitc(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/credits/ne_elderly_disabled_credit.py b/policyengine_us/variables/gov/states/ne/tax/income/credits/ne_elderly_disabled_credit.py index c9050e67e1a..ceb4ad89c73 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/credits/ne_elderly_disabled_credit.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/credits/ne_elderly_disabled_credit.py @@ -8,8 +8,8 @@ class ne_elderly_disabled_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_base_standard_deduction.py b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_base_standard_deduction.py index b8d9871dc36..ae412d5c8f5 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_base_standard_deduction.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_base_standard_deduction.py @@ -8,8 +8,8 @@ class ne_base_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_itemized_deductions.py b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_itemized_deductions.py index df867936771..6205c08b1d3 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_itemized_deductions.py @@ -8,8 +8,8 @@ class ne_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_standard_deduction.py b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_standard_deduction.py index 8e3e4c50b3e..7f9b0402f10 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_standard_deduction.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/deductions/ne_standard_deduction.py @@ -8,8 +8,8 @@ class ne_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/exemptions/ne_exemptions.py b/policyengine_us/variables/gov/states/ne/tax/income/exemptions/ne_exemptions.py index b0e7f024bc9..9e67bcc2c15 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/exemptions/ne_exemptions.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/exemptions/ne_exemptions.py @@ -8,8 +8,8 @@ class ne_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax.py index ed1736e8710..330855586c8 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax.py @@ -8,8 +8,8 @@ class ne_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.NE adds = ["ne_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_credits.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_credits.py index 488a2b4bef8..8bb04a9f2b6 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_credits.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_credits.py @@ -8,8 +8,8 @@ class ne_income_tax_before_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.py index 014ae8555e8..8332dd49a54 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.py @@ -8,8 +8,8 @@ class ne_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_non_refundable_credits.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_non_refundable_credits.py index 8ae6e9f23bf..47e597a3dd4 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_non_refundable_credits.py @@ -8,8 +8,8 @@ class ne_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE adds = "gov.states.ne.tax.income.credits.nonrefundable" diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_refundable_credits.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_refundable_credits.py index 355133339a4..1745e340191 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_refundable_credits.py @@ -8,8 +8,8 @@ class ne_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE adds = "gov.states.ne.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/ne/tax/income/ne_taxable_income.py b/policyengine_us/variables/gov/states/ne/tax/income/ne_taxable_income.py index 2360a04285f..e29d85c40af 100644 --- a/policyengine_us/variables/gov/states/ne/tax/income/ne_taxable_income.py +++ b/policyengine_us/variables/gov/states/ne/tax/income/ne_taxable_income.py @@ -8,8 +8,8 @@ class ne_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf" - "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf" + "https://revenue.nebraska.gov/files/doc/tax-forms/2021/f_1040n_booklet.pdf", + "https://revenue.nebraska.gov/files/doc/2022_Ne_Individual_Income_Tax_Booklet_8-307-2022_final_5.pdf", ) defined_for = StateCode.NE diff --git a/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc.py b/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc.py index 5df5a2d17e5..ad5080093f3 100644 --- a/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc.py +++ b/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc.py @@ -8,10 +8,10 @@ class nj_ctc(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/new-jersey/2022/title-54a/section-54a-4-17-1/" - "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2021/1040i.pdf#page=44" - "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2022/1040i.pdf#page=44" - "https://www.state.nj.us/treasury/taxation/pdf/current/1040i.pdf#page=46" + "https://law.justia.com/codes/new-jersey/2022/title-54a/section-54a-4-17-1/", + "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2021/1040i.pdf#page=44", + "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2022/1040i.pdf#page=44", + "https://www.state.nj.us/treasury/taxation/pdf/current/1040i.pdf#page=46", ) defined_for = "nj_ctc_eligible" diff --git a/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.py b/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.py index fe9c023ab78..5d871fa2f64 100644 --- a/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.py +++ b/policyengine_us/variables/gov/states/nj/tax/income/credits/ctc/nj_ctc_eligible.py @@ -7,10 +7,10 @@ class nj_ctc_eligible(Variable): label = "Eligible for the New Jersey child tax credit" definition_period = YEAR reference = ( - "https://law.justia.com/codes/new-jersey/2022/title-54a/section-54a-4-17-1/" - "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2021/1040i.pdf#page=44" - "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2022/1040i.pdf#page=44" - "https://www.state.nj.us/treasury/taxation/pdf/current/1040i.pdf#page=46" + "https://law.justia.com/codes/new-jersey/2022/title-54a/section-54a-4-17-1/", + "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2021/1040i.pdf#page=44", + "https://www.nj.gov/treasury/taxation/pdf/other_forms/tgi-ee/2022/1040i.pdf#page=44", + "https://www.state.nj.us/treasury/taxation/pdf/current/1040i.pdf#page=46", ) defined_for = StateCode.NJ diff --git a/policyengine_us/variables/gov/states/oh/tax/income/additions/oh_additions.py b/policyengine_us/variables/gov/states/oh/tax/income/additions/oh_additions.py index cfc7822d07e..fa70b09d207 100644 --- a/policyengine_us/variables/gov/states/oh/tax/income/additions/oh_additions.py +++ b/policyengine_us/variables/gov/states/oh/tax/income/additions/oh_additions.py @@ -8,9 +8,9 @@ class oh_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://tax.ohio.gov/static/communications/publications/individual_income_tax_ohio.pdf#page=2" - "https://tax.ohio.gov/static/forms/ohio_individual/individual/2022/it1040-bundle.pdf#page=3" - "https://cms7files1.revize.com/starkcountyoh/Document_center/Offices/Auditor/Services/Homestead%20Exemption/Ohio_Adj_Gross_Income.pdf#page=1" + "https://tax.ohio.gov/static/communications/publications/individual_income_tax_ohio.pdf#page=2", + "https://tax.ohio.gov/static/forms/ohio_individual/individual/2022/it1040-bundle.pdf#page=3", + "https://cms7files1.revize.com/starkcountyoh/Document_center/Offices/Auditor/Services/Homestead%20Exemption/Ohio_Adj_Gross_Income.pdf#page=1", ) defined_for = StateCode.OH adds = "gov.states.oh.tax.income.additions" diff --git a/policyengine_us/variables/gov/states/oh/tax/income/deductions/oh_deductions.py b/policyengine_us/variables/gov/states/oh/tax/income/deductions/oh_deductions.py index 8694dad93c5..a1b7752db0e 100644 --- a/policyengine_us/variables/gov/states/oh/tax/income/deductions/oh_deductions.py +++ b/policyengine_us/variables/gov/states/oh/tax/income/deductions/oh_deductions.py @@ -8,9 +8,9 @@ class oh_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://tax.ohio.gov/static/communications/publications/individual_income_tax_ohio.pdf#page=2" - "https://tax.ohio.gov/static/forms/ohio_individual/individual/2022/it1040-bundle.pdf#page=3" - "https://cms7files1.revize.com/starkcountyoh/Document_center/Offices/Auditor/Services/Homestead%20Exemption/Ohio_Adj_Gross_Income.pdf" + "https://tax.ohio.gov/static/communications/publications/individual_income_tax_ohio.pdf#page=2", + "https://tax.ohio.gov/static/forms/ohio_individual/individual/2022/it1040-bundle.pdf#page=3", + "https://cms7files1.revize.com/starkcountyoh/Document_center/Offices/Auditor/Services/Homestead%20Exemption/Ohio_Adj_Gross_Income.pdf", ) defined_for = StateCode.OH adds = "gov.states.oh.tax.income.deductions.deductions" diff --git a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_gross_income.py b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_gross_income.py index 1f218d9799c..a8ad22ef96e 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_gross_income.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_gross_income.py @@ -8,8 +8,8 @@ class ok_gross_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_non_refundable_credits.py b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_non_refundable_credits.py index c78c27ab10d..99d6a833140 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_non_refundable_credits.py @@ -8,8 +8,8 @@ class ok_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK adds = "gov.states.ok.tax.income.credits.nonrefundable" diff --git a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_refundable_credits.py b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_refundable_credits.py index ec2b3dd9d72..4c874ad8610 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/credits/ok_refundable_credits.py @@ -8,8 +8,8 @@ class ok_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK adds = "gov.states.ok.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_itemized_deductions.py b/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_itemized_deductions.py index 5aa6656b716..c7b1dac3c01 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_itemized_deductions.py @@ -8,8 +8,8 @@ class ok_itemized_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_standard_deduction.py b/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_standard_deduction.py index b3f59372196..f248c114496 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_standard_deduction.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/deductions/ok_standard_deduction.py @@ -8,8 +8,8 @@ class ok_standard_deduction(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/exemptions/ok_exemptions.py b/policyengine_us/variables/gov/states/ok/tax/income/exemptions/ok_exemptions.py index 8a5b7bfd94f..6969e5ab8ce 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/exemptions/ok_exemptions.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/exemptions/ok_exemptions.py @@ -8,8 +8,8 @@ class ok_exemptions(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_additions.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_additions.py index d5731ce03c8..05732f86495 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_additions.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_additions.py @@ -8,7 +8,7 @@ class ok_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_adjustments.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_adjustments.py index 4a11fb52841..0787c6d2b6b 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_adjustments.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_adjustments.py @@ -8,7 +8,7 @@ class ok_adjustments(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_agi.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_agi.py index 9e7f8c5fec8..a3a7a246a32 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_agi.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_agi.py @@ -8,8 +8,8 @@ class ok_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK adds = ["adjusted_gross_income", "ok_additions"] diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_agi_subtractions.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_agi_subtractions.py index c5b90efb466..3508e4953e9 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_agi_subtractions.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_agi_subtractions.py @@ -8,8 +8,8 @@ class ok_agi_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf#page=16" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf#page=16" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf#page=16", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf#page=16", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax.py index d987eda210c..06c5e098a2a 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax.py @@ -8,8 +8,8 @@ class ok_income_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK adds = ["ok_income_tax_before_refundable_credits"] diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.py index f95bdffebd0..7a6f2e3d403 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.py @@ -8,8 +8,8 @@ class ok_income_tax_before_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_taxable_income.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_taxable_income.py index 37afe4b9f54..e9fb2705eb6 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_taxable_income.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_taxable_income.py @@ -8,8 +8,8 @@ class ok_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/ok/tax/income/ok_use_tax.py b/policyengine_us/variables/gov/states/ok/tax/income/ok_use_tax.py index f07ee8ba671..c9a8ad92beb 100644 --- a/policyengine_us/variables/gov/states/ok/tax/income/ok_use_tax.py +++ b/policyengine_us/variables/gov/states/ok/tax/income/ok_use_tax.py @@ -8,8 +8,8 @@ class ok_use_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf" - "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf" + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/past-year/2021/511-Pkt-2021.pdf", + "https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf", ) defined_for = StateCode.OK diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_disabled_child_dependent_exemptions.py b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_disabled_child_dependent_exemptions.py index 417eed3babe..c6e42f61536 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_disabled_child_dependent_exemptions.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_disabled_child_dependent_exemptions.py @@ -7,8 +7,8 @@ class or_disabled_child_dependent_exemptions(Variable): label = "OR disabled child dependent exemptions" definition_period = YEAR reference = ( - "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17" - "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html" # Subsection 316.099(3) + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17", + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", # Subsection 316.099(3) ) defined_for = StateCode.OR diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_exemption_credit.py b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_exemption_credit.py index ab4aee17136..ef094ba19e6 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_exemption_credit.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_exemption_credit.py @@ -8,8 +8,8 @@ class or_exemption_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17" - "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html" # Subsection 316.085 + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17", + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", # Subsection 316.085 ) defined_for = StateCode.OR diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_regular_exemptions.py b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_regular_exemptions.py index f6acfa0539c..9dacd741991 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_regular_exemptions.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_regular_exemptions.py @@ -7,8 +7,8 @@ class or_regular_exemptions(Variable): label = "OR regular exemptions" definition_period = YEAR reference = ( - "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17" - "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html" # Subsection 316.085(5) + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17", + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", # Subsection 316.085(5) ) defined_for = StateCode.OR diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_severely_disabled_exemptions.py b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_severely_disabled_exemptions.py index e492588b679..b21590bc55f 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_severely_disabled_exemptions.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/exemption/or_severely_disabled_exemptions.py @@ -7,8 +7,8 @@ class or_severely_disabled_exemptions(Variable): label = "OR severely disabled exemptions for tax head or spouse" definition_period = YEAR reference = ( - "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17" - "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html" # Subsection 316.758(1)(b) + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2021.pdf#page=17", + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", # Subsection 316.758(1)(b) ) defined_for = StateCode.OR diff --git a/policyengine_us/variables/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction_applicable_percentage.py b/policyengine_us/variables/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction_applicable_percentage.py index c0feadadb84..f2071dfb0b0 100644 --- a/policyengine_us/variables/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction_applicable_percentage.py +++ b/policyengine_us/variables/gov/states/ri/tax/income/deductions/standard/ri_standard_deduction_applicable_percentage.py @@ -8,8 +8,8 @@ class ri_standard_deduction_applicable_percentage(Variable): unit = USD definition_period = YEAR reference = ( - "https://tax.ri.gov/sites/g/files/xkgbur541/files/2021-11/2021-tax-rate-and-worksheets.pdf" - "https://tax.ri.gov/sites/g/files/xkgbur541/files/2022-12/2022%20Tax%20Rate%20and%20Worksheets.pdf" + "https://tax.ri.gov/sites/g/files/xkgbur541/files/2021-11/2021-tax-rate-and-worksheets.pdf", + "https://tax.ri.gov/sites/g/files/xkgbur541/files/2022-12/2022%20Tax%20Rate%20and%20Worksheets.pdf", ) defined_for = StateCode.RI diff --git a/policyengine_us/variables/gov/states/va/tax/income/deductions/va_deductions.py b/policyengine_us/variables/gov/states/va/tax/income/deductions/va_deductions.py index 11f79072e93..01a5493213e 100644 --- a/policyengine_us/variables/gov/states/va/tax/income/deductions/va_deductions.py +++ b/policyengine_us/variables/gov/states/va/tax/income/deductions/va_deductions.py @@ -8,8 +8,8 @@ class va_deductions(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.lis.virginia.gov/vacodefull/title58.1/chapter3/article2/" - "https://www.tax.virginia.gov/sites/default/files/taxforms/individual-income-tax/2022/760-2022.pdf#page=1" + "https://law.lis.virginia.gov/vacodefull/title58.1/chapter3/article2/", + "https://www.tax.virginia.gov/sites/default/files/taxforms/individual-income-tax/2022/760-2022.pdf#page=1", ) defined_for = StateCode.VA diff --git a/policyengine_us/variables/gov/states/va/tax/income/va_taxable_income.py b/policyengine_us/variables/gov/states/va/tax/income/va_taxable_income.py index 991181b87e2..47c1b126cca 100644 --- a/policyengine_us/variables/gov/states/va/tax/income/va_taxable_income.py +++ b/policyengine_us/variables/gov/states/va/tax/income/va_taxable_income.py @@ -8,8 +8,8 @@ class va_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.lis.virginia.gov/vacodefull/title58.1/chapter3/article2/" - "https://www.tax.virginia.gov/sites/default/files/taxforms/individual-income-tax/2022/760-2022.pdf#page=1" + "https://law.lis.virginia.gov/vacodefull/title58.1/chapter3/article2/", + "https://www.tax.virginia.gov/sites/default/files/taxforms/individual-income-tax/2022/760-2022.pdf#page=1", ) defined_for = StateCode.VA diff --git a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption.py b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption.py index 05831a62751..9acee73c214 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption.py @@ -8,7 +8,7 @@ class vt_retirement_income_exemption(Variable): label = "Vermont retirement income exemption" reference = ( "https://legislature.vermont.gov/statutes/section/32/151/05811", # Titl. 32 V.S.A. § 5811(21)(B)(iv) - "https://legislature.vermont.gov/statutes/section/32/151/05830e" # Titl. 32 V.S.A. § 5830e + "https://legislature.vermont.gov/statutes/section/32/151/05830e", # Titl. 32 V.S.A. § 5830e "https://tax.vermont.gov/sites/tax/files/documents/IN-112%20Instr-2022.pdf#page=3", # Instruction for 2022 SCHEDULE IN-112 - RETIREMENT INCOME EXEMPTION WORKSHEET "https://tax.vermont.gov/individuals/seniors-and-retirees", # Instruction for exemption from different retirement system ) diff --git a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption_eligible.py b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption_eligible.py index f399af53cdc..e9a1bfa329f 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption_eligible.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/retirement_income_exemption/vt_retirement_income_exemption_eligible.py @@ -8,7 +8,7 @@ class vt_retirement_income_exemption_eligible(Variable): label = "Vermont retirement income exemption eligibility status" reference = ( "https://legislature.vermont.gov/statutes/section/32/151/05811", # Titl. 32 V.S.A. § 5811(21)(B)(iv) - "https://legislature.vermont.gov/statutes/section/32/151/05830e" # Titl. 32 V.S.A. § 5830e + "https://legislature.vermont.gov/statutes/section/32/151/05830e", # Titl. 32 V.S.A. § 5830e "https://tax.vermont.gov/sites/tax/files/documents/IN-112%20Instr-2022.pdf#page=3", # Instruction for 2022 SCHEDULE IN-112 - RETIREMENT INCOME EXEMPTION WORKSHEET "https://tax.vermont.gov/individuals/seniors-and-retirees", # Instruction for exemption from different retirement system ) diff --git a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/vt_medical_expense_deduction.py b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/vt_medical_expense_deduction.py index ea9ace44893..f2387f67610 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/vt_medical_expense_deduction.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/vt_medical_expense_deduction.py @@ -7,7 +7,7 @@ class vt_medical_expense_deduction(Variable): definition_period = YEAR label = "Vermont medical expense deduction" reference = ( - "https://legislature.vermont.gov/statutes/section/32/151/05811" # Titl. 32 V.S.A. § 5811(21)(C)(iv) + "https://legislature.vermont.gov/statutes/section/32/151/05811", # Titl. 32 V.S.A. § 5811(21)(C)(iv) "https://tax.vermont.gov/sites/tax/files/documents/IN-112%20Instr-2022.pdf#page=2", # Instruction for 2022 SCHEDULE IN-112 - MEDICAL DEDUCTION WORKSHEET ) unit = USD diff --git a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_additions.py b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_additions.py index 2047cb5dd43..a434ad17bb6 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_additions.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_additions.py @@ -10,8 +10,8 @@ class vt_additions(Variable): definition_period = YEAR defined_for = StateCode.VT reference = ( - "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2022.pdf#page=1" - "https://legislature.vermont.gov/statutes/section/32/151/05811" + "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2022.pdf#page=1", + "https://legislature.vermont.gov/statutes/section/32/151/05811", ) adds = ["tax_exempt_interest_income"] diff --git a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_agi.py b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_agi.py index 39b4232b888..cc60d27b181 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_agi.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/vt_agi.py @@ -9,7 +9,7 @@ class vt_agi(Variable): definition_period = YEAR defined_for = StateCode.VT reference = ( - "https://tax.vermont.gov/sites/tax/files/documents/IN-111-2022.pdf (Line 3)" + "https://tax.vermont.gov/sites/tax/files/documents/IN-111-2022.pdf" # Line 3 ) adds = ["adjusted_gross_income", "vt_additions"] diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc.py index 2ee5fc89db3..785c5aa8485 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc.py @@ -8,8 +8,8 @@ class vt_low_income_cdcc(Variable): unit = USD definition_period = YEAR reference = ( - "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2021.pdf#page=2" - "https://law.justia.com/codes/vermont/2021/title-32/chapter-151/section-5828c/" + "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2021.pdf#page=2", + "https://law.justia.com/codes/vermont/2021/title-32/chapter-151/section-5828c/", ) defined_for = "vt_low_income_cdcc_eligible" diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc_eligible.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc_eligible.py index 407131734ba..5299936f491 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc_eligible.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/cdcc/vt_low_income_cdcc_eligible.py @@ -7,8 +7,8 @@ class vt_low_income_cdcc_eligible(Variable): label = "Eligible for the Vermont low-income child care and dependent care credit" definition_period = YEAR reference = ( - "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2021.pdf#page=2" - "https://law.justia.com/codes/vermont/2021/title-32/chapter-151/section-5828c/" + "https://tax.vermont.gov/sites/tax/files/documents/IN-112-2021.pdf#page=2", + "https://law.justia.com/codes/vermont/2021/title-32/chapter-151/section-5828c/", ) defined_for = StateCode.VT diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit.py index 9f9491aa200..c8fd1ec7368 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit.py @@ -8,10 +8,10 @@ class vt_renter_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/vermont/2022/title-32/chapter-154/section-6066/" # b - "https://tax.vermont.gov/sites/tax/files/documents/Income%20Booklet-2022.pdf#page=35" + "https://law.justia.com/codes/vermont/2022/title-32/chapter-154/section-6066/", # b + "https://tax.vermont.gov/sites/tax/files/documents/Income%20Booklet-2022.pdf#page=35", # the formula used in this file is based on the excel sheet provided on the official Vermont government website - "https://tax.vermont.gov/individuals/renter-credit/calculator-and-credit-amounts" # link for the excel sheet + "https://tax.vermont.gov/individuals/renter-credit/calculator-and-credit-amounts", # link for the excel sheet ) defined_for = StateCode.VT diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/vt_charitable_contributions_credit.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/vt_charitable_contributions_credit.py index 63bfa725efc..0c20767d7c7 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/vt_charitable_contributions_credit.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/vt_charitable_contributions_credit.py @@ -8,8 +8,8 @@ class vt_charitable_contribution_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://law.justia.com/codes/vermont/2022/title-32/chapter-151/section-5822/" - "https://tax.vermont.gov/sites/tax/files/documents/IN-111-2022.pdf#page=1" + "https://law.justia.com/codes/vermont/2022/title-32/chapter-151/section-5822/", + "https://tax.vermont.gov/sites/tax/files/documents/IN-111-2022.pdf#page=1", ) defined_for = StateCode.VT diff --git a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_additions.py b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_additions.py index 1def93fedd0..4f18cea6869 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_additions.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_additions.py @@ -8,10 +8,10 @@ class wi_additions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD-inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleADf.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleAD-Inst.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD-inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleADf.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleAD-Inst.pdf", ) defined_for = StateCode.WI adds = "gov.states.wi.tax.income.additions.sources" diff --git a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_gain_loss_addition.py b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_gain_loss_addition.py index 313924c99dd..7c60d2c5408 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_gain_loss_addition.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_gain_loss_addition.py @@ -8,8 +8,8 @@ class wi_capital_gain_loss_addition(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD-inst.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleAD-Inst.pdf#page=2" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleAD-inst.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleAD-Inst.pdf#page=2", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_loss.py b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_loss.py index 6f4dc07be22..da97129c235 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_loss.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/additions/wi_capital_loss.py @@ -8,8 +8,8 @@ class wi_capital_loss(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleWDf.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleWDf.pdf#page=2" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleWDf.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleWDf.pdf#page=2", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/earned_income/wi_earned_income_credit.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/earned_income/wi_earned_income_credit.py index 7531b4480d5..11de29bc655 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/earned_income/wi_earned_income_credit.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/earned_income/wi_earned_income_credit.py @@ -8,11 +8,11 @@ class wi_earned_income_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=26" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=26" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=26", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=26", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_credit.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_credit.py index 0066a6242e4..05feda55343 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_credit.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_credit.py @@ -8,11 +8,11 @@ class wi_homestead_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=3" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=27" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=3" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=28" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=3", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=27", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=3", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=28", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = "wi_homestead_eligible" diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py index feca6ddd86d..d40b07f45a7 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py @@ -8,8 +8,8 @@ class wi_homestead_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleH.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleH.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleH.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleH.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_property_tax.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_property_tax.py index 72b07ff53b5..f5d30fed3b6 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_property_tax.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_property_tax.py @@ -8,8 +8,8 @@ class wi_homestead_property_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleH.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleH.pdf#page=2" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleH.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleH.pdf#page=2", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit.py index 16e153b0a7b..acb56191afc 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit.py @@ -11,9 +11,9 @@ class wi_itemized_deduction_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit_potential.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit_potential.py index d93f0cd5ec6..da76fe63638 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit_potential.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit_potential.py @@ -8,9 +8,9 @@ class wi_itemized_deduction_credit_potential(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py index 15a677aacfe..bf73ca4e674 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py @@ -11,11 +11,11 @@ class wi_married_couple_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=21" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=21" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=21", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=21", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit_potential.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit_potential.py index c37da5869a7..af71a836ab5 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit_potential.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit_potential.py @@ -8,11 +8,11 @@ class wi_married_couple_credit_potential(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=21" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=21" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=21", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=4", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=21", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit.py index da6d6d90248..bde79d63361 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit.py @@ -11,11 +11,11 @@ class wi_property_tax_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=17" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=17" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=17", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=17", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit_potential.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit_potential.py index 196c13340b0..1f811ea2f74 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit_potential.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit_potential.py @@ -8,11 +8,11 @@ class wi_property_tax_credit_potential(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=17" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=17" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf#page=17", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf#page=17", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf#page=19", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_non_refundable_credits.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_non_refundable_credits.py index 6b01ff826fa..2d29bc5b060 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_non_refundable_credits.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_non_refundable_credits.py @@ -11,11 +11,11 @@ class wi_non_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_refundable_credits.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_refundable_credits.py index b03e11e7561..daf50dfc0bd 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_refundable_credits.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/wi_refundable_credits.py @@ -8,11 +8,11 @@ class wi_refundable_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI adds = "gov.states.wi.tax.income.credits.refundable" diff --git a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_additional_exemption.py b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_additional_exemption.py index bafb57f489f..c270c849cba 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_additional_exemption.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_additional_exemption.py @@ -8,11 +8,11 @@ class wi_additional_exemption(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_base_exemption.py b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_base_exemption.py index 87f3b253eb6..2a89784ba80 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_base_exemption.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_base_exemption.py @@ -8,11 +8,11 @@ class wi_base_exemption(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_exemption.py b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_exemption.py index f207e917134..f8289db84ab 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_exemption.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_exemption.py @@ -8,11 +8,11 @@ class wi_exemption(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_capital_gain_loss_subtraction.py b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_capital_gain_loss_subtraction.py index 1a642f2a81e..3c001340416 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_capital_gain_loss_subtraction.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_capital_gain_loss_subtraction.py @@ -8,8 +8,8 @@ class wi_capital_gain_loss_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleWDf.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleWDf.pdf#page=2" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleWDf.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleWDf.pdf#page=2", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_income_subtractions.py b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_income_subtractions.py index 664f8a0f487..b11879fe327 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_income_subtractions.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_income_subtractions.py @@ -8,10 +8,10 @@ class wi_income_subtractions(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSBf.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSBf.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_retirement_income_subtraction_agi_eligible.py b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_retirement_income_subtraction_agi_eligible.py index c49ecf9cd12..54744a2d602 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_retirement_income_subtraction_agi_eligible.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_retirement_income_subtraction_agi_eligible.py @@ -8,10 +8,10 @@ class wi_retirement_income_subtraction_agi_eligible(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf#page=9" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSBf.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf#page=7" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf#page=9", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSBf.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf#page=7", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_unemployment_compensation_subtraction.py b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_unemployment_compensation_subtraction.py index f065cb0b6f4..051d59a80cf 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_unemployment_compensation_subtraction.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_unemployment_compensation_subtraction.py @@ -8,8 +8,8 @@ class wi_unemployment_compensation_subtraction(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf#page=2" - "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf#page=1" + "https://www.revenue.wi.gov/TaxForms2021/2021-ScheduleSB-inst.pdf#page=2", + "https://www.revenue.wi.gov/TaxForms2022/2022-ScheduleSB-Inst.pdf#page=1", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/wi_agi.py b/policyengine_us/variables/gov/states/wi/tax/income/wi_agi.py index e85ceb554bc..9687018dec6 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/wi_agi.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/wi_agi.py @@ -8,10 +8,10 @@ class wi_agi(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", ) defined_for = StateCode.WI adds = ["adjusted_gross_income", "wi_additions"] diff --git a/policyengine_us/variables/gov/states/wi/tax/income/wi_income_before_credits.py b/policyengine_us/variables/gov/states/wi/tax/income/wi_income_before_credits.py index 097b9075c6a..3c4f5217c76 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/wi_income_before_credits.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/wi_income_before_credits.py @@ -8,11 +8,11 @@ class wi_income_tax_before_credits(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wi/tax/income/wi_taxable_income.py b/policyengine_us/variables/gov/states/wi/tax/income/wi_taxable_income.py index ce3630602e4..a38fceae209 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/wi_taxable_income.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/wi_taxable_income.py @@ -8,11 +8,11 @@ class wi_taxable_income(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf" - "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf" - "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf" + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2021/2021-Form1-Inst.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", + "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", + "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", ) defined_for = StateCode.WI diff --git a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_gross_household_income.py b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_gross_household_income.py index a488c15ca43..32ef349ec68 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_gross_household_income.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_gross_household_income.py @@ -6,9 +6,9 @@ class wv_gross_household_income(Variable): entity = TaxUnit label = "West Virginia gross household income" reference = ( - "https://code.wvlegislature.gov/11-21-23/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13" - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14" + "https://code.wvlegislature.gov/11-21-23/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14", ) definition_period = YEAR defined_for = StateCode.WV diff --git a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py index b9fc6473d2c..b2d867a112c 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py @@ -9,9 +9,9 @@ class wv_homestead_excess_property_tax_credit(Variable): unit = USD definition_period = YEAR reference = ( - "https://code.wvlegislature.gov/11-21-23/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13" - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14" + "https://code.wvlegislature.gov/11-21-23/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py index 861aabb4c12..37fb3cb7e99 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py @@ -6,9 +6,9 @@ class wv_homestead_excess_property_tax_credit_eligible(Variable): entity = TaxUnit label = "Eligible for the West Virginia homestead excess property tax credit" reference = ( - "https://code.wvlegislature.gov/11-21-23/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13" - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14" + "https://code.wvlegislature.gov/11-21-23/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=13", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=14", ) definition_period = YEAR defined_for = StateCode.WV diff --git a/policyengine_us/variables/gov/states/wv/tax/income/credits/sctc/wv_sctc_eligible.py b/policyengine_us/variables/gov/states/wv/tax/income/credits/sctc/wv_sctc_eligible.py index 3e2c3586904..799ff4210c3 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/credits/sctc/wv_sctc_eligible.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/credits/sctc/wv_sctc_eligible.py @@ -6,9 +6,9 @@ class wv_sctc_eligible(Variable): entity = TaxUnit label = "Eligible for the West Virginia senior citizens tax credit" reference = ( - "https://code.wvlegislature.gov/11-21-21/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=27 " - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=35" + "https://code.wvlegislature.gov/11-21-21/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=27", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=35", ) definition_period = YEAR defined_for = StateCode.WV diff --git a/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion.py b/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion.py index 616595a3bc1..6494e173b69 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion.py @@ -9,9 +9,9 @@ class wv_low_income_earned_income_exclusion(Variable): unit = USD definition_period = YEAR reference = ( - "https://code.wvlegislature.gov/11-21-10/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=20" - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=27" + "https://code.wvlegislature.gov/11-21-10/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=20", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=27", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion_eligible.py b/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion_eligible.py index 8a36b1a41cf..4e927aaf70e 100644 --- a/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion_eligible.py +++ b/policyengine_us/variables/gov/states/wv/tax/income/subtractions/low_income_earned_income/wv_low_income_earned_income_exclusion_eligible.py @@ -8,9 +8,9 @@ class wv_low_income_earned_income_exclusion_eligible(Variable): defined_for = StateCode.WV definition_period = YEAR reference = ( - "https://code.wvlegislature.gov/11-21-10/" - "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=20" - "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=27" + "https://code.wvlegislature.gov/11-21-10/", + "https://tax.wv.gov/Documents/TaxForms/2021/it140.pdf#page=20", + "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=27", ) def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py b/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py index 4b21fc7c2d7..4b64f63cd5a 100644 --- a/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py +++ b/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py @@ -8,8 +8,8 @@ class pr_refundable_ctc(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.irs.gov/pub/irs-pdf/f1040s8.pdf" - "https://www.law.cornell.edu/uscode/text/26/24#h_4_A" + "https://www.irs.gov/pub/irs-pdf/f1040s8.pdf", + "https://www.law.cornell.edu/uscode/text/26/24#h_4_A", ) # This provision is part of the federal CTC legal code diff --git a/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py b/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py index dec8a83bf8c..105f3bc114e 100644 --- a/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py +++ b/policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py @@ -10,8 +10,8 @@ class pr_refundable_ctc_social_security_tax(Variable): unit = USD definition_period = YEAR reference = ( - "https://www.irs.gov/pub/irs-pdf/f1040s8.pdf" - "https://www.law.cornell.edu/uscode/text/26/24#h_4_A" + "https://www.irs.gov/pub/irs-pdf/f1040s8.pdf", + "https://www.law.cornell.edu/uscode/text/26/24#h_4_A", ) # line 23 diff --git a/policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py b/policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py index 964fb8afee4..745223d7717 100644 --- a/policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +++ b/policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py @@ -8,8 +8,8 @@ class snap_countable_earner(Variable): documentation = "Whether this person's earned income is counted for SNAP" definition_period = MONTH reference = ( - "https://www.law.cornell.edu/uscode/text/7/2014, " - "https://www.law.cornell.edu/cfr/text/7/273.9#c_3" + "https://www.law.cornell.edu/uscode/text/7/2014", + "https://www.law.cornell.edu/cfr/text/7/273.9#c_3", ) def formula(person, period, parameters): diff --git a/policyengine_us/variables/household/demographic/person/is_executive_administrative_professional.py b/policyengine_us/variables/household/demographic/person/is_executive_administrative_professional.py index 0fb1be20b0c..f1020105a85 100644 --- a/policyengine_us/variables/household/demographic/person/is_executive_administrative_professional.py +++ b/policyengine_us/variables/household/demographic/person/is_executive_administrative_professional.py @@ -7,5 +7,8 @@ class is_executive_administrative_professional(Variable): label = ( "is employed in a bona fide executive, administrative, or professional capacity" ) - reference = "https://www.law.cornell.edu/uscode/text/29/213 ; https://www.congress.gov/crs-product/IF12480" + reference = ( + "https://www.law.cornell.edu/uscode/text/29/213", + "https://www.congress.gov/crs-product/IF12480", + ) definition_period = YEAR diff --git a/policyengine_us/variables/household/income/person/is_eligible_for_fsla_overtime.py b/policyengine_us/variables/household/income/person/is_eligible_for_fsla_overtime.py index 787c7ca3bdf..212b68a35bd 100644 --- a/policyengine_us/variables/household/income/person/is_eligible_for_fsla_overtime.py +++ b/policyengine_us/variables/household/income/person/is_eligible_for_fsla_overtime.py @@ -5,7 +5,10 @@ class is_eligible_for_fsla_overtime(Variable): value_type = bool entity = Person label = "is eligible for overtime pay" - reference = "https://www.law.cornell.edu/cfr/text/29/541.600 ; https://www.law.cornell.edu/uscode/text/29/213" + reference = ( + "https://www.law.cornell.edu/cfr/text/29/541.600", + "https://www.law.cornell.edu/uscode/text/29/213", + ) definition_period = YEAR def formula_2014(person, period, parameters): From e11a9d2e2eb4592dd6751b6e0a8ca5ad23dbdcd1 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 24 Sep 2026 22:22:25 -0400 Subject: [PATCH 2/5] Correct Arkansas DFA page anchors and citation titles Every changed anchor was checked by extracting the anchored PDF page: - Low income tax tables: 2023 and 2024 booklet anchors used printed page numbers; point them at the tables (2023 p29/p30, 2024 p28/p29) and name the standalone TaxTables_FI PDFs as tax tables, not instructions. - Retirement/disability cap: 2021 booklet LINE 18A is on p12, not p13. - Exemptions: add each booklet's item 12 page next to the item 1-7 page. - Itemized deduction sources: 2021 AR3 instructions are on p20. - AR AGI: cite the 2022 booklet LINE 23-25 page (p14), not the proration page (p22). - Miscellaneous deduction: cite AR3 lines 20-25 and its instructions instead of the AR1075 tuition form. - Disabled dependent credit: the 2023 and 2024 $500 amount is on the AR1000TC instructions (LINE 8 and LINE 7), not the 2023 AR1000F page 1 or the 2024 booklet LINE 7 page. - Non-refundable credits: the credit lines 34-37 are on AR1000F p2 and booklet p15. - 2025 booklet: the rate schedule anchor used the tax table's printed page number (26, now PDF p30), and the additional credit reduction start pointed at the e-file page (p5) instead of the worksheet (p25). - Fix three titles that cite the wrong document or line and the "Tution"/"eduction" typos, replace a third-party AR1000D mirror with DFA's copy, and add the 2025 AR1000D to the capital gains exemption parameters. Co-Authored-By: Claude Opus 5.5 --- changelog.d/ar-reference-hygiene.fixed.md | 1 + .../gov/contrib/states/ar/dependent_credit/amount.yaml | 2 +- .../reduction/start.yaml | 2 +- .../states/ar/tax/income/credits/non_refundable.yaml | 10 +++++----- .../ar/tax/income/credits/personal/age_threshold.yaml | 2 +- .../ar/tax/income/credits/personal/amount/base.yaml | 2 +- .../credits/personal/amount/disabled_dependent.yaml | 8 ++++---- .../income/deductions/itemized/sources/individual.yaml | 2 +- .../tax/income/deductions/itemized/sources/joint.yaml | 2 +- .../tax/income/deductions/itemized/tuition/rate.yaml | 10 +++++----- .../weighted_average_tuition/four_year_college.yaml | 10 +++++----- .../weighted_average_tuition/technical_institutes.yaml | 10 +++++----- .../weighted_average_tuition/two_year_college.yaml | 10 +++++----- .../states/ar/tax/income/exemptions/exemptions.yaml | 8 ++++++++ .../retirement_or_disability_benefits/cap.yaml | 2 +- .../income/gross_income/capital_gains/exempt/cap.yaml | 4 +++- .../income/gross_income/capital_gains/exempt/rate.yaml | 4 +++- .../income/gross_income/capital_gains/loss_cap.yaml | 2 +- .../head_of_household/no_or_one_dependent.yaml | 6 +++--- .../head_of_household/two_or_more_dependents.yaml | 6 +++--- .../joint/no_or_one_dependent.yaml | 6 +++--- .../joint/two_or_more_dependents.yaml | 6 +++--- .../tax/income/rates/low_income_tax_tables/single.yaml | 6 +++--- .../surviving_spouse/no_or_one_dependent.yaml | 6 +++--- .../surviving_spouse/two_or_more_dependents.yaml | 6 +++--- .../gov/states/ar/tax/income/rates/main/rate.yaml | 2 +- .../gov/states/ar/tax/income/rates/main/reduction.yaml | 2 +- .../variables/gov/states/ar/tax/income/ar_agi_indiv.py | 2 +- .../variables/gov/states/ar/tax/income/ar_agi_joint.py | 2 +- .../ar/tax/income/ar_taxable_capital_gains_indiv.py | 2 +- .../ar/tax/income/ar_taxable_capital_gains_joint.py | 2 +- .../deductions/itemized/ar_misc_deduction_indiv.py | 5 ++++- .../deductions/itemized/ar_misc_deduction_joint.py | 5 ++++- 33 files changed, 87 insertions(+), 68 deletions(-) create mode 100644 changelog.d/ar-reference-hygiene.fixed.md diff --git a/changelog.d/ar-reference-hygiene.fixed.md b/changelog.d/ar-reference-hygiene.fixed.md new file mode 100644 index 00000000000..0cb52c9cf7e --- /dev/null +++ b/changelog.d/ar-reference-hygiene.fixed.md @@ -0,0 +1 @@ +Split variable references whose URLs Python had fused into one dead link (missing commas between string literals) into separate entries repo-wide, add a code-health test that every reference entry is a single bare URL, and correct Arkansas DFA #page anchors that pointed at the wrong booklet or form page. diff --git a/policyengine_us/parameters/gov/contrib/states/ar/dependent_credit/amount.yaml b/policyengine_us/parameters/gov/contrib/states/ar/dependent_credit/amount.yaml index d10259ed9b9..402d832f838 100644 --- a/policyengine_us/parameters/gov/contrib/states/ar/dependent_credit/amount.yaml +++ b/policyengine_us/parameters/gov/contrib/states/ar/dependent_credit/amount.yaml @@ -6,7 +6,7 @@ metadata: period: year label: Arkansas dependent credit amount reference: - - title: Arkansas 2022 Individual Income Tax Forms and Instructions, LINE 7A. + - title: Arkansas 2022 Individual Income Tax Forms and Instructions, LINE 7B. href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=12 - title: 2022 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/start.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/start.yaml index f420bc06b93..e41e0dec650 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/start.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/start.yaml @@ -8,7 +8,7 @@ metadata: - title: Arkansas 2024 Additional Tax Credit for Qualified Individuals Worksheet href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_Final_AdditionalTaxCreditforQualifiedIndividuals_FI.pdf - title: Arkansas 2025 AR1000F and AR1000NR Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=5 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=25 - title: Arkansas Code of 1987 Title 26 Subtitle 5 Chapter 51 Subchapter 5 Section 26-51-501 href: https://law.justia.com/codes/arkansas/title-26/subtitle-5/chapter-51/subchapter-5/section-26-51-501/ label: Arkansas additional tax credit for qualified individuals reduction start diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/credits/non_refundable.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/credits/non_refundable.yaml index 829e2be194a..446ed12b094 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/credits/non_refundable.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/credits/non_refundable.yaml @@ -16,12 +16,12 @@ metadata: reference: - title: Inflationary relief income-tax credit worksheet href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_Final_InflationaryReliefIncomeTaxCredit_FI.pdf#page=1 - - title: personal credit tax form - 2022 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident - href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 + - title: 2022 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident, lines 34-37 (tax credits) + href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=2 - title: 2023 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - - title: 2024 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=2 + - title: Arkansas 2024 Individual Income Tax Forms and Instructions, LINES 34-37 (tax credits) + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=15 unit: list period: year diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/age_threshold.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/age_threshold.yaml index ece43fdb2e2..9f9f42a1b58 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/age_threshold.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/age_threshold.yaml @@ -17,5 +17,5 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - title: 2023 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - - title: 2024 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident + - title: Arkansas 2024 Individual Income Tax Forms and Instructions, LINE 7A. href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=12 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/base.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/base.yaml index 5ed82e345b6..502c4cb699e 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/base.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/base.yaml @@ -15,7 +15,7 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - title: 2023 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - - title: 2024 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident + - title: Arkansas 2024 Individual Income Tax Forms and Instructions, LINE 7A. href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=12 # § 26-51-501(a)(1)(A) assigns the "adjusted individual credit". # § 26-51-501(d)(1) assigns the $20 amount diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/disabled_dependent.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/disabled_dependent.yaml index fbd88b2f430..bf8adfda49f 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/disabled_dependent.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/credits/personal/amount/disabled_dependent.yaml @@ -15,7 +15,7 @@ metadata: href: https://casetext.com/statute/arkansas-code-of-1987/title-26-taxation/subtitle-5-state-taxes/chapter-51-income-taxes/subchapter-5-tax-credits-generally/section-26-51-503-effective-for-tax-years-beginning-on-or-after-january-1-2022-support-of-a-child-with-a-developmental-disability-definitions - title: 2021 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - - title: 2023 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=1 - - title: 2024 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=12 + - title: 2023 AR1000TC Instructions, LINE 8 (Credit for Individuals with Developmental Disabilities) + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000TC_Schedule_of_TaxCredits_andBusiness_IncentiveCredits_Instructions.pdf#page=2 + - title: 2024 AR1000TC Instructions, LINE 7 (Credit for Individuals with Developmental Disabilities) + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000TC_Instructions.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/individual.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/individual.yaml index 2fe78fc8ce5..e429685c366 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/individual.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/individual.yaml @@ -16,7 +16,7 @@ metadata: - title: Arkansas 2022 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=21 - title: Arkansas 2021 Individual Income Tax Forms and Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=21 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=20 - title: Code of Arkansas-26-51-447. Deductions — Tuition to postsecondary educational institutions — Definition. href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=f2d18e4b-014e-4a5e-a816-20c21fc92ee8&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&indicator=true&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=bgf5kkk&prid=0e852b49-2c9b-4c19-b9ae-e52267babbe1 - title: Code of Arkansas-26-51-437. Miscellaneous itemized deductions — Definition. diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/joint.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/joint.yaml index c1148965070..782556c5f58 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/joint.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/sources/joint.yaml @@ -16,7 +16,7 @@ metadata: - title: Arkansas 2022 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=21 - title: Arkansas 2021 Individual Income Tax Forms and Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=21 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=20 - title: Code of Arkansas-26-51-447. Deductions — Tuition to postsecondary educational institutions — Definition. href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=f2d18e4b-014e-4a5e-a816-20c21fc92ee8&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&indicator=true&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=bgf5kkk&prid=0e852b49-2c9b-4c19-b9ae-e52267babbe1 - title: Code of Arkansas-26-51-437. Miscellaneous itemized deductions — Definition. diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/rate.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/rate.yaml index 81ecc094502..95579099cc7 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/rate.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/rate.yaml @@ -1,4 +1,4 @@ -description: Arkansas calculates this rate of education tuition expenses under the post secondary eduction tuition deduction. +description: Arkansas calculates this rate of education tuition expenses under the postsecondary education tuition deduction. values: 2021-01-01: 0.5 @@ -9,13 +9,13 @@ metadata: reference: - title: Arkansas 2022 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=21 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2021.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 - title: Code of Arkansas Public Access A.C.A. Subchapter 4. § 26-51-447.(a) href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=0954ab2a-1066-40fc-aa88-6afd57a184fa&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=7gf5kkk&prid=408f4fea-f101-4bf2-8722-f2b4fb0ba181 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml index 8d81deb6185..b4e5c64a8dc 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml @@ -10,16 +10,16 @@ metadata: period: year unit: currency-USD uprating: gov.irs.uprating - label: Arkansas post secondary eduction tuition deduction four-year college weighted average tuition + label: Arkansas postsecondary education tuition deduction four-year college weighted average tuition reference: - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2021.pdf#page=1 # The legal code gives three classifications of post-secondary institutions but doesn't give the exact values of weighted average tuition for each one of them - title: Code of Arkansas Public Access A.C.A. Subchapter 4. § 26-51-447. href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=0954ab2a-1066-40fc-aa88-6afd57a184fa&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=7gf5kkk&prid=408f4fea-f101-4bf2-8722-f2b4fb0ba181 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml index 7ae19c1289f..be92897e419 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml @@ -6,15 +6,15 @@ values: metadata: period: year unit: currency-USD - label: Arkansas post secondary eduction tuition deduction technical institutes weighted average tuition + label: Arkansas postsecondary education tuition deduction technical institutes weighted average tuition reference: - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2021.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 # The legal code gives three classifications of post-secondary institutions but doesn't give the exact values of weighted average tuition for each one of them - title: Code of Arkansas Public Access A.C.A. Subchapter 4. § 26-51-447. diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml index 97e5cb642b1..06e0bec9e51 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml @@ -9,16 +9,16 @@ metadata: period: year unit: currency-USD uprating: gov.irs.uprating - label: Arkansas post secondary eduction tuition deduction two-year college weighted average tuition + label: Arkansas postsecondary education tuition deduction two-year college weighted average tuition reference: - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2022 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2021 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2021.pdf#page=1 # The legal code gives three classifications of post-secondary institutions but doesn't give the exact values of weighted average tuition for each one of them - title: Code of Arkansas Public Access A.C.A. Subchapter 4. § 26-51-447. href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=0954ab2a-1066-40fc-aa88-6afd57a184fa&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=7gf5kkk&prid=408f4fea-f101-4bf2-8722-f2b4fb0ba181 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2023 href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - - title: Arkansas Individual Income Tax Return Deduction for Tution Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/exemptions.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/exemptions.yaml index 953895bc5a4..819fc8e1004 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/exemptions.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/exemptions.yaml @@ -11,12 +11,20 @@ metadata: reference: - title: Arkansas 2025 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=10 + - title: Arkansas 2025 Individual Income Tax Forms and Instructions, Exempt From Income Tax item 12 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=11 - title: Arkansas 2024 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=10 + - title: Arkansas 2024 Individual Income Tax Forms and Instructions, Exempt From Income Tax item 12 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=11 - title: Arkansas 2022 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=10 + - title: Arkansas 2022 Individual Income Tax Forms and Instructions, Exempt From Income Tax item 12 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=11 - title: Arkansas 2021 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=9 + - title: Arkansas 2021 Individual Income Tax Forms and Instructions, Exempt From Income Tax item 12 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=10 - title: 2020 Arkansas Code § 26-51-301 ~ 316 href: https://law.justia.com/codes/arkansas/2020/title-26/subtitle-5/chapter-51/subchapter-3/ # The legal code does not give detailed description on each exemption. diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/retirement_or_disability_benefits/cap.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/retirement_or_disability_benefits/cap.yaml index e87170b79af..41eab80ffda 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/retirement_or_disability_benefits/cap.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/exemptions/retirement_or_disability_benefits/cap.yaml @@ -14,7 +14,7 @@ metadata: - title: Arkansas 2022 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=13 - title: Arkansas 2021 Individual Income Tax Forms and Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=13 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=12 - title: 2022 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_FullYearResidentIndividualIncomeTaxReturn.pdf#page=2 - title: 2021 AR1000F ARKANSAS INDIVIDUAL INCOME TAX RETURN Full Year Resident diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/cap.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/cap.yaml index 973055bc4f6..38b9a89e438 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/cap.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/cap.yaml @@ -11,11 +11,13 @@ metadata: - title: Arkansas 2022 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2023 AR1000D - href: https://www.taxformfinder.org/forms/2023/2023-arkansas-form-ar1000d.pdf#page=1 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2024 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2025 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=13 + - title: Arkansas 2025 AR1000D + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000D_CapitalGains.pdf#page=1 values: 2014-01-01: 10_000_000 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/rate.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/rate.yaml index df35851ff60..fa993325717 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/rate.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/exempt/rate.yaml @@ -11,11 +11,13 @@ metadata: - title: Arkansas 2022 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2023 AR1000D - href: https://www.taxformfinder.org/forms/2023/2023-arkansas-form-ar1000d.pdf#page=1 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2024 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2025 Individual Income Tax Forms and Instructions href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=13 + - title: Arkansas 2025 AR1000D + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000D_CapitalGains.pdf#page=1 values: 1999-01-01: 0.3 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/loss_cap.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/loss_cap.yaml index 74c342d07a0..d641af9cc09 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/loss_cap.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/gross_income/capital_gains/loss_cap.yaml @@ -15,7 +15,7 @@ metadata: - title: Arkansas 2022 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2023 AR1000D - href: https://www.taxformfinder.org/forms/2023/2023-arkansas-form-ar1000d.pdf#page=1 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2024 AR1000D href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000D_CapitalGains.pdf#page=1 - title: Arkansas 2025 Individual Income Tax Forms and Instructions diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/no_or_one_dependent.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/no_or_one_dependent.yaml index 31bfad12a3e..cd18cbb5aa6 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/no_or_one_dependent.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/no_or_one_dependent.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=26 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=25 - - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=29 + - title: Arkansas Tax Tables, 2024, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2024.pdf#page=2 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=2 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/two_or_more_dependents.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/two_or_more_dependents.yaml index a2c0f68184b..5b3d6ad2710 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/two_or_more_dependents.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/two_or_more_dependents.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=26 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=25 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=29 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=24 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=28 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=2 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/no_or_one_dependent.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/no_or_one_dependent.yaml index 2e72a5a137c..25ece2e0f8d 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/no_or_one_dependent.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/no_or_one_dependent.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=27 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=26 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=30 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=25 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=29 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=3 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/two_or_more_dependents.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/two_or_more_dependents.yaml index 1a564b5a2c5..56d25516781 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/two_or_more_dependents.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/joint/two_or_more_dependents.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=27 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=26 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=30 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=25 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=29 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=3 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/single.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/single.yaml index 997a3d1d734..df3ce908a70 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/single.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/single.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=26 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=25 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=29 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=24 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=28 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=2 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/no_or_one_dependent.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/no_or_one_dependent.yaml index 132c1b91abc..1a335ff5d13 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/no_or_one_dependent.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/no_or_one_dependent.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=26 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=25 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=29 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=24 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=28 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=2 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/two_or_more_dependents.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/two_or_more_dependents.yaml index edd4d863e66..6d19663321a 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/two_or_more_dependents.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/two_or_more_dependents.yaml @@ -14,10 +14,10 @@ metadata: - title: Arkansas Income Tax Instructions, 2021, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/2021_AR1000F_and_AR1000NR_Instructions.pdf#page=26 - title: Arkansas Income Tax Instructions, 2023, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=25 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000F_and_AR1000NR_Instructions.pdf#page=29 - title: Arkansas Income Tax Instructions, 2024, Low Income Tax Tables - href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=24 - - title: Arkansas Income Tax Instructions, 2025, Low Income Tax Tables + href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1000F_and_AR1000NR_Instructions.pdf#page=28 + - title: Arkansas Tax Tables, 2025, Low Income Tax Tables href: https://www.dfa.arkansas.gov/wp-content/uploads/TaxTables_FI_2025.pdf#page=2 brackets: - threshold: diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml index b90beb0ff0a..21aaa19049d 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml @@ -27,7 +27,7 @@ metadata: - title: 2024 Indexed Tax Brackets href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_TaxBrackets.pdf#page=1 - title: Arkansas 2025 Individual Income Tax Forms and Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=26 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=30 - title: Arkansas Act 1 of 2026 (HB1001, 1st Extraordinary Session), Section 1 amending A.C.A. § 26-51-201(a)(4) href: https://www.arkleg.state.ar.us/Home/FTPDocument?path=%2FBills%2F2026S1%2FPublic%2FHB1001.pdf#page=2 - title: Arkansas Legislature HB1001 status page (enacted as Act 1, 2026 1st Extraordinary Session) diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml index 3a25a6b4f85..bb434197fab 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml @@ -16,7 +16,7 @@ metadata: - title: 2024 Indexed Tax Brackets href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_TaxBrackets.pdf#page=1 - title: Arkansas 2025 Individual Income Tax Forms and Instructions - href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=26 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1000F_and_AR1000NR_Instructions.pdf#page=30 - title: Arkansas Act 1 of 2026 (HB1001, 1st Extraordinary Session), Section 1 amending A.C.A. § 26-51-201(a)(4)(C) href: https://www.arkleg.state.ar.us/Home/FTPDocument?path=%2FBills%2F2026S1%2FPublic%2FHB1001.pdf#page=2 - title: Arkansas Legislature HB1001 status page (enacted as Act 1, 2026 1st Extraordinary Session) diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_indiv.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_indiv.py index ecde19bb81a..bd630daeb90 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_indiv.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_indiv.py @@ -7,7 +7,7 @@ class ar_agi_indiv(Variable): label = "Arkansas adjusted gross income for each individual" unit = USD definition_period = YEAR - reference = "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=22" + reference = "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=14" defined_for = StateCode.AR def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_joint.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_joint.py index 950df9eb884..8ef5fe055a6 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_joint.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_agi_joint.py @@ -7,7 +7,7 @@ class ar_agi_joint(Variable): label = "Arkansas adjusted gross income for each individual" unit = USD definition_period = YEAR - reference = "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=22" + reference = "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=14" defined_for = StateCode.AR def formula(person, period, parameters): diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_indiv.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_indiv.py index 9223c8b6061..b29b8d60151 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_indiv.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_indiv.py @@ -8,7 +8,7 @@ class ar_taxable_capital_gains_indiv(Variable): unit = USD reference = ( "https://codes.findlaw.com/ar/title-26-taxation/ar-code-sect-26-51-815.html", - "https://www.taxformfinder.org/forms/2023/2023-arkansas-form-ar1000d.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000D_CapitalGains.pdf#page=1", ) definition_period = YEAR defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_joint.py b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_joint.py index 2d36653793a..10526777c8a 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_joint.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/ar_taxable_capital_gains_joint.py @@ -8,7 +8,7 @@ class ar_taxable_capital_gains_joint(Variable): unit = USD reference = ( "https://codes.findlaw.com/ar/title-26-taxation/ar-code-sect-26-51-815.html", - "https://www.taxformfinder.org/forms/2023/2023-arkansas-form-ar1000d.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2023_AR1000D_CapitalGains.pdf#page=1", ) definition_period = YEAR defined_for = StateCode.AR diff --git a/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_indiv.py b/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_indiv.py index 1b9b3549995..b3b3207ea8a 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_indiv.py @@ -7,7 +7,10 @@ class ar_misc_deduction_indiv(Variable): label = "Arkansas miscellaneous deduction when married filing separately" unit = USD definition_period = YEAR - reference = "https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1" + reference = ( + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR3_ItemizedDeduction.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=21", + ) defined_for = StateCode.AR def formula(tax_unit, period, parameters): diff --git a/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_joint.py b/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_joint.py index 4dc2e5dc25d..27373c2e6e4 100644 --- a/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_joint.py +++ b/policyengine_us/variables/gov/states/ar/tax/income/deductions/itemized/ar_misc_deduction_joint.py @@ -7,7 +7,10 @@ class ar_misc_deduction_joint(Variable): label = "Arkansas miscellaneous deduction when married filing jointly" unit = USD definition_period = YEAR - reference = "https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2022.pdf#page=1" + reference = ( + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR3_ItemizedDeduction.pdf#page=1", + "https://www.dfa.arkansas.gov/wp-content/uploads/2022_AR1000F_and_AR1000NR_Instructions.pdf#page=21", + ) defined_for = StateCode.AR def formula(tax_unit, period, parameters): From 6a7b430ef8af7b43415b4643f534290f2756a322 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 24 Sep 2026 22:41:07 -0400 Subject: [PATCH 3/5] Load parameter references that sat outside metadata policyengine-core only reads `reference` from a parameter's `metadata` block (or a dated value's `metadata`); a top-level or per-value `reference` key is accepted for legacy compatibility and then dropped. Move these under `metadata` so they load and are covered by the reference URL test: the Arizona family tax credit cap and college savings cap, the Indiana aged low-AGI exemption threshold, the Massachusetts HECS prior-year cost threshold, and the 14 Rev. Proc. citations on dated values of the federal exemption amount. No values change. Co-Authored-By: Claude Opus 5.5 --- changelog.d/ar-reference-hygiene.fixed.md | 2 +- .../gov/irs/income/exemption/amount.yaml | 98 +++++++++++-------- .../family_tax_credits/amount/cap.yaml | 26 ++--- .../subtractions/college_savings/cap.yaml | 26 ++--- .../exemptions/aged_low_agi/threshold.yaml | 18 ++-- .../prior_year_cost_threshold.yaml | 23 +++-- 6 files changed, 103 insertions(+), 90 deletions(-) diff --git a/changelog.d/ar-reference-hygiene.fixed.md b/changelog.d/ar-reference-hygiene.fixed.md index 0cb52c9cf7e..a694f184def 100644 --- a/changelog.d/ar-reference-hygiene.fixed.md +++ b/changelog.d/ar-reference-hygiene.fixed.md @@ -1 +1 @@ -Split variable references whose URLs Python had fused into one dead link (missing commas between string literals) into separate entries repo-wide, add a code-health test that every reference entry is a single bare URL, and correct Arkansas DFA #page anchors that pointed at the wrong booklet or form page. +Split variable references whose URLs Python had fused into one dead link (missing commas between string literals) into separate entries repo-wide, load parameter references that sat outside metadata, add a code-health test that every reference entry is a single bare URL, and correct Arkansas DFA #page anchors that pointed at the wrong booklet or form page. diff --git a/policyengine_us/parameters/gov/irs/income/exemption/amount.yaml b/policyengine_us/parameters/gov/irs/income/exemption/amount.yaml index 6ba62395b9d..6e889331291 100644 --- a/policyengine_us/parameters/gov/irs/income/exemption/amount.yaml +++ b/policyengine_us/parameters/gov/irs/income/exemption/amount.yaml @@ -17,71 +17,85 @@ metadata: values: 2013-01-01: value: 3_900 - reference: - - title: Rev. Proc. 2013-15 - href: https://www.irs.gov/pub/irs-drop/rp-13-15.pdf + metadata: + reference: + - title: Rev. Proc. 2013-15 + href: https://www.irs.gov/pub/irs-drop/rp-13-15.pdf 2014-01-01: value: 3_950 - reference: - - title: Rev. Proc. 2013-35 - href: https://www.irs.gov/pub/irs-drop/rp-13-35.pdf + metadata: + reference: + - title: Rev. Proc. 2013-35 + href: https://www.irs.gov/pub/irs-drop/rp-13-35.pdf 2015-01-01: value: 4_000 - reference: - - title: Rev. Proc. 2014-61 - href: https://www.irs.gov/pub/irs-drop/rp-14-61.pdf + metadata: + reference: + - title: Rev. Proc. 2014-61 + href: https://www.irs.gov/pub/irs-drop/rp-14-61.pdf 2016-01-01: value: 4_050 - reference: - - title: Rev. Proc. 2015-53 - href: https://www.irs.gov/pub/irs-drop/rp-15-53.pdf + metadata: + reference: + - title: Rev. Proc. 2015-53 + href: https://www.irs.gov/pub/irs-drop/rp-15-53.pdf 2017-01-01: value: 4_050 - reference: - - title: Rev. Proc. 2016-55 - href: https://www.irs.gov/pub/irs-drop/rp-16-55.pdf + metadata: + reference: + - title: Rev. Proc. 2016-55 + href: https://www.irs.gov/pub/irs-drop/rp-16-55.pdf 2018-01-01: value: 4_150 - reference: - - title: Rev. Proc. 2017-58 - href: https://www.irs.gov/pub/irs-drop/rp-17-58.pdf + metadata: + reference: + - title: Rev. Proc. 2017-58 + href: https://www.irs.gov/pub/irs-drop/rp-17-58.pdf 2019-01-01: value: 4_200 - reference: - - title: Rev. Proc. 2018-57 - href: https://www.irs.gov/pub/irs-drop/rp-18-57.pdf + metadata: + reference: + - title: Rev. Proc. 2018-57 + href: https://www.irs.gov/pub/irs-drop/rp-18-57.pdf 2020-01-01: value: 4_300 - reference: - - title: Rev. Proc. 2019-44 - href: https://www.irs.gov/pub/irs-drop/rp-19-44.pdf + metadata: + reference: + - title: Rev. Proc. 2019-44 + href: https://www.irs.gov/pub/irs-drop/rp-19-44.pdf 2021-01-01: value: 4_300 - reference: - - title: Rev. Proc. 2020-45 - href: https://www.irs.gov/pub/irs-drop/rp-20-45.pdf + metadata: + reference: + - title: Rev. Proc. 2020-45 + href: https://www.irs.gov/pub/irs-drop/rp-20-45.pdf 2022-01-01: value: 4_400 - reference: - - title: Rev. Proc. 2021-45 - href: https://www.irs.gov/pub/irs-drop/rp-21-45.pdf + metadata: + reference: + - title: Rev. Proc. 2021-45 + href: https://www.irs.gov/pub/irs-drop/rp-21-45.pdf 2023-01-01: value: 4_700 - reference: - - title: Rev. Proc. 2022-38 - href: https://www.irs.gov/pub/irs-drop/rp-22-38.pdf + metadata: + reference: + - title: Rev. Proc. 2022-38 + href: https://www.irs.gov/pub/irs-drop/rp-22-38.pdf 2024-01-01: value: 5_050 - reference: - - title: Rev. Proc. 2023-34 - href: https://www.irs.gov/pub/irs-drop/rp-23-34.pdf + metadata: + reference: + - title: Rev. Proc. 2023-34 + href: https://www.irs.gov/pub/irs-drop/rp-23-34.pdf 2025-01-01: value: 5_200 - reference: - - title: Rev. Proc. 2024-40 - href: https://www.irs.gov/pub/irs-drop/rp-24-40.pdf + metadata: + reference: + - title: Rev. Proc. 2024-40 + href: https://www.irs.gov/pub/irs-drop/rp-24-40.pdf 2026-01-01: value: 5_300 - reference: - - title: Rev. Proc. 2025-32 - href: https://www.irs.gov/pub/irs-drop/rp-25-32.pdf + metadata: + reference: + - title: Rev. Proc. 2025-32 + href: https://www.irs.gov/pub/irs-drop/rp-25-32.pdf diff --git a/policyengine_us/parameters/gov/states/az/tax/income/credits/family_tax_credits/amount/cap.yaml b/policyengine_us/parameters/gov/states/az/tax/income/credits/family_tax_credits/amount/cap.yaml index 82b0dc1bd03..b23d730a432 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/credits/family_tax_credits/amount/cap.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/credits/family_tax_credits/amount/cap.yaml @@ -6,6 +6,19 @@ metadata: label: Arizona family tax credit maximum amount breakdown: - filing_status + reference: + - title: 2025 Arizona Form 140 Resident Personal Income Tax Instructions + href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2025_140i.pdf#page=23 + - title: 43-1073. Family income tax credit (B) + href: https://www.azleg.gov/ars/43/01073.htm + - title: 2022 Arizona Tax Form Instructions Line50 + href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140i-2D.pdf#page=23 + - title: 2021 Arizona Tax Form Instructions Line50 + href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140i-2D.pdf#page=21 + - title: 2023 Arizona Form 140A - Arizona Resident Personal Income Tax Booklet + href: https://azdor.gov/forms/individual/form-140a-arizona-resident-personal-income-tax-booklet + - title: 2024 Arizona Form 140A - Arizona Resident Personal Income Tax Booklet + href: https://azdor.gov/forms/individual/form-140a-arizona-resident-personal-income-tax-booklet SINGLE: 2021-01-01: 120 HEAD_OF_HOUSEHOLD: @@ -16,16 +29,3 @@ SURVIVING_SPOUSE: 2021-01-01: 240 SEPARATE: 2021-01-01: 120 -reference: - - title: 2025 Arizona Form 140 Resident Personal Income Tax Instructions - href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2025_140i.pdf#page=23 - - title: 43-1073. Family income tax credit (B) - href: https://www.azleg.gov/ars/43/01073.htm - - title: 2022 Arizona Tax Form Instructions Line50 - href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140i-2D.pdf#page=23 - - title: 2021 Arizona Tax Form Instructions Line50 - href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140i-2D.pdf#page=21 - - title: 2023 Arizona Form 140A - Arizona Resident Personal Income Tax Booklet - href: https://azdor.gov/forms/individual/form-140a-arizona-resident-personal-income-tax-booklet - - title: 2024 Arizona Form 140A - Arizona Resident Personal Income Tax Booklet - href: https://azdor.gov/forms/individual/form-140a-arizona-resident-personal-income-tax-booklet diff --git a/policyengine_us/parameters/gov/states/az/tax/income/subtractions/college_savings/cap.yaml b/policyengine_us/parameters/gov/states/az/tax/income/subtractions/college_savings/cap.yaml index 1710fec9799..9ed00fa3a82 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/subtractions/college_savings/cap.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/subtractions/college_savings/cap.yaml @@ -6,6 +6,19 @@ metadata: label: Arizona college savings plan subtraction cap breakdown: - az_filing_status + reference: + - title: 43-1022. Subtractions from Arizona gross income (27) + href: https://www.azleg.gov/ars/43/01022.htm + - title: 2025 Arizona Form 140 Resident Personal Income Tax Instructions + href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2025_140i.pdf#page=16 + - title: 2024 Arizona Form 140 Resident Personal Income Tax Booklet, Line 34 + href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2024_140Booklet.pdf#page=22 + - title: 2023 Arizona Form 140 Resident Personal Income Tax Booklet, Line 34 + href: https://azdor.gov/sites/default/files/2023-12/FORMS_INDIVIDUAL_2023_140Booklet.pdf#page=22 + - title: 2022 Arizona Resident Personal Income Tax Form140 Instructions + href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140i.pdf#page=15 + - title: 2021 Arizona Resident Personal Income Tax Form140 Instructions + href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140i.pdf#page=14 SINGLE: 2021-01-01: 2_000 HEAD_OF_HOUSEHOLD: @@ -14,16 +27,3 @@ JOINT: 2021-01-01: 4_000 SEPARATE: 2021-01-01: 4_000 -reference: - - title: 43-1022. Subtractions from Arizona gross income (27) - href: https://www.azleg.gov/ars/43/01022.htm - - title: 2025 Arizona Form 140 Resident Personal Income Tax Instructions - href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2025_140i.pdf#page=16 - - title: 2024 Arizona Form 140 Resident Personal Income Tax Booklet, Line 34 - href: https://azdor.gov/sites/default/files/document/FORMS_INDIVIDUAL_2024_140Booklet.pdf#page=22 - - title: 2023 Arizona Form 140 Resident Personal Income Tax Booklet, Line 34 - href: https://azdor.gov/sites/default/files/2023-12/FORMS_INDIVIDUAL_2023_140Booklet.pdf#page=22 - - title: 2022 Arizona Resident Personal Income Tax Form140 Instructions - href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140i.pdf#page=15 - - title: 2021 Arizona Resident Personal Income Tax Form140 Instructions - href: https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2021_140i.pdf#page=14 diff --git a/policyengine_us/parameters/gov/states/in/tax/income/exemptions/aged_low_agi/threshold.yaml b/policyengine_us/parameters/gov/states/in/tax/income/exemptions/aged_low_agi/threshold.yaml index 26e1136a7c9..d71958f8c2b 100644 --- a/policyengine_us/parameters/gov/states/in/tax/income/exemptions/aged_low_agi/threshold.yaml +++ b/policyengine_us/parameters/gov/states/in/tax/income/exemptions/aged_low_agi/threshold.yaml @@ -6,6 +6,15 @@ metadata: label: Indiana low AGI aged exemption income limit breakdown: - filing_status + reference: + - title: IC 6-3-1-3.5 "Adjusted gross income" (a)(5)(C) + href: http://iga.in.gov/legislative/laws/2021/ic/titles/006#6-3-1-3.5 + - title: 2023 IT-40 Income Tax Form Instruction Booklet, pg. 25 + href: https://forms.in.gov/Download.aspx?id=15792 + - title: 2024 IT-40 Income Tax Form Instruction Booklet, pg. 26 + href: https://forms.in.gov/Download.aspx?id=16379 + - title: 2025 IT-40 Income Tax Form Instruction Booklet, pg. 25 + href: https://forms.in.gov/Download.aspx?id=16915 SINGLE: 2021-01-01: 40_000 HEAD_OF_HOUSEHOLD: @@ -16,12 +25,3 @@ SURVIVING_SPOUSE: 2021-01-01: 40_000 SEPARATE: 2021-01-01: 20_000 -reference: - - title: IC 6-3-1-3.5 "Adjusted gross income" (a)(5)(C) - href: http://iga.in.gov/legislative/laws/2021/ic/titles/006#6-3-1-3.5 - - title: 2023 IT-40 Income Tax Form Instruction Booklet, pg. 25 - href: https://forms.in.gov/Download.aspx?id=15792 - - title: 2024 IT-40 Income Tax Form Instruction Booklet, pg. 26 - href: https://forms.in.gov/Download.aspx?id=16379 - - title: 2025 IT-40 Income Tax Form Instruction Booklet, pg. 25 - href: https://forms.in.gov/Download.aspx?id=16915 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..1d87335996c 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 @@ -42,15 +42,14 @@ metadata: label: Massachusetts LIHEAP HECS payment threshold breakdown: - ma_liheap_heating_type - -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 - - 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 - - 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 + 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 + - 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 + - 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 From fff6e635c7d795840e187fdf1de79228f1160bb8 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 6 Oct 2026 03:21:20 -0400 Subject: [PATCH 4/5] Split the CPUC D.01-06-010 reference on the CARE gas discount #9656 added this parameter after the branch was cut, with one href ending "#page=1, 20", which this branch's reference test rejects. Cite the Summary (p1) and Ordering Paragraph 2 (p20), the two places the decision raises the CARE discount from 15% to 20%, as separate entries. Co-Authored-By: Claude Opus 5.5 --- .../parameters/gov/states/ca/cpuc/care/gas_discount.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/policyengine_us/parameters/gov/states/ca/cpuc/care/gas_discount.yaml b/policyengine_us/parameters/gov/states/ca/cpuc/care/gas_discount.yaml index b7b451b4887..1b1704e38e9 100644 --- a/policyengine_us/parameters/gov/states/ca/cpuc/care/gas_discount.yaml +++ b/policyengine_us/parameters/gov/states/ca/cpuc/care/gas_discount.yaml @@ -6,8 +6,10 @@ metadata: reference: - title: CPUC Resolution E-3375, Low-Income Ratepayer Assistance program under D.89-07-062 and D.89-09-044, discount beginning November 1, 1989 href: https://files.cpuc.ca.gov/gopher-data/energy_division/BandH/Scanned%20Resolutions/E-3375.pdf#page=1 - - title: CPUC Decision 01-06-010, Summary and Ordering Paragraph 2, discount increase for electric and gas customers - href: https://docs.cpuc.ca.gov/word_pdf/FINAL_DECISION/7673.pdf#page=1, 20 + - title: CPUC Decision 01-06-010, Summary, discount increase for electric and gas customers + href: https://docs.cpuc.ca.gov/word_pdf/FINAL_DECISION/7673.pdf#page=1 + - title: CPUC Decision 01-06-010, Ordering Paragraph 2, discount increase for electric and gas customers + href: https://docs.cpuc.ca.gov/word_pdf/FINAL_DECISION/7673.pdf#page=20 - title: California Public Utilities Code 739.1(a) href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PUC§ionNum=739.1 - title: CPUC CARE/FERA Program From f065f0113b70e955dab3bd76f442a683e42681c4 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 6 Oct 2026 03:21:21 -0400 Subject: [PATCH 5/5] Drop the fused-URL split from this branch's changelog entry That half of the branch landed on main as #9786, which has its own changelog entry. Co-Authored-By: Claude Opus 5.5 --- changelog.d/ar-reference-hygiene.fixed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/ar-reference-hygiene.fixed.md b/changelog.d/ar-reference-hygiene.fixed.md index a694f184def..1e2c24e18f1 100644 --- a/changelog.d/ar-reference-hygiene.fixed.md +++ b/changelog.d/ar-reference-hygiene.fixed.md @@ -1 +1 @@ -Split variable references whose URLs Python had fused into one dead link (missing commas between string literals) into separate entries repo-wide, load parameter references that sat outside metadata, add a code-health test that every reference entry is a single bare URL, and correct Arkansas DFA #page anchors that pointed at the wrong booklet or form page. +Load parameter references that sat outside metadata, add a code-health test that every variable, reform and parameter reference entry is a single bare URL, and correct Arkansas DFA #page anchors that pointed at the wrong booklet or form page.