From 7269711691761a04c6fe6c882923181546622d9d Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 3 Oct 2026 22:42:54 -0400 Subject: [PATCH 1/3] Separate concatenated URLs in reference and documentation strings Adjacent string literals with no comma between them were joined into one reference such as ip21.pdfhttps://...ip22.pdf. Put one URL per tuple element, and add line breaks between URLs (and the lines they were glued to) in documentation strings. 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 ++++++++--------- .../gov/aca/eligibility/aca_magi_fraction.py | 12 ++++----- .../is_early_head_start_eligible.py | 4 +-- .../hhs/head_start/is_head_start_eligible.py | 4 +-- .../eligibility/is_medicare_eligible.py | 8 +++--- .../capped_qualified_tuition_expenses_ald.py | 4 +-- ...d_income_for_social_security_taxability.py | 4 +-- ...lified_business_income_deduction_person.py | 4 +-- .../deductions/tuition_and_fees_deduction.py | 4 +-- .../tuition_and_fees_deduction_eligible.py | 4 +-- .../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_filing_status.py | 2 +- .../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 +-- .../co/tax/income/credits/cdcc/co_cdcc.py | 2 +- .../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 +-- .../deductions/ga_standard_deduction.py | 4 +-- .../gov/states/ga/tax/income/ga_additions.py | 4 +-- .../states/ga/tax/income/ga_subtractions.py | 4 +-- .../hi/tax/income/deductions/hi_deductions.py | 2 +- .../itemized/hi_casualty_loss_deduction.py | 2 +- .../itemized/hi_interest_deduction.py | 2 +- .../itemized/hi_itemized_deductions.py | 2 +- .../itemized/hi_medical_expense_deduction.py | 2 +- .../hi_reduced_itemized_deductions.py | 2 +- .../itemized/hi_total_itemized_deductions.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 +++---- .../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 +++--- .../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 +-- .../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/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 | 4 +-- .../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 +-- 231 files changed, 602 insertions(+), 586 deletions(-) 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/variables/gov/aca/eligibility/aca_magi_fraction.py b/policyengine_us/variables/gov/aca/eligibility/aca_magi_fraction.py index cae084d9478..863fa84d810 100644 --- a/policyengine_us/variables/gov/aca/eligibility/aca_magi_fraction.py +++ b/policyengine_us/variables/gov/aca/eligibility/aca_magi_fraction.py @@ -6,12 +6,12 @@ class aca_magi_fraction(Variable): entity = TaxUnit label = "ACA-related modified AGI as fraction of prior-year FPL" documentation = ( - "ACA-related MAGI as fraction of federal poverty line." - "Documentation on use of prior-year FPL in the following reference:" - " title: 2022 IRS Form 8962 (ACA PTC) instructions, Line 4" - " href: https://www.irs.gov/pub/irs-pdf/i8962.pdf#page=7" - "Documentation on truncation of fraction in the following reference:" - " title: 2022 IRS Form 8962 instructions, Line 5 Worksheet 2" + "ACA-related MAGI as fraction of federal poverty line.\n" + "Documentation on use of prior-year FPL in the following reference:\n" + " title: 2022 IRS Form 8962 (ACA PTC) instructions, Line 4\n" + " href: https://www.irs.gov/pub/irs-pdf/i8962.pdf#page=7\n" + "Documentation on truncation of fraction in the following reference:\n" + " title: 2022 IRS Form 8962 instructions, Line 5 Worksheet 2\n" " href: https://www.irs.gov/pub/irs-pdf/i8962.pdf#page=8" ) definition_period = YEAR 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/hhs/medicare/eligibility/is_medicare_eligible.py b/policyengine_us/variables/gov/hhs/medicare/eligibility/is_medicare_eligible.py index 5c0ddb6e399..fd5a6ce2fbf 100644 --- a/policyengine_us/variables/gov/hhs/medicare/eligibility/is_medicare_eligible.py +++ b/policyengine_us/variables/gov/hhs/medicare/eligibility/is_medicare_eligible.py @@ -7,10 +7,10 @@ class is_medicare_eligible(Variable): label = "Person is eligible for Medicare" definition_period = YEAR documentation = ( - "CMS, Original Medicare (Part A and B) Eligibility and Enrollment" - "https://www.cms.gov/medicare/enrollment-renewal/health-plans/original-part-a-b" - "Above link includes the following text:" - " Part A coverage begins the month the individual turns age 65" + "CMS, Original Medicare (Part A and B) Eligibility and Enrollment\n" + "https://www.cms.gov/medicare/enrollment-renewal/health-plans/original-part-a-b\n" + "Above link includes the following text:\n" + " Part A coverage begins the month the individual turns age 65\n" "Only the age-65 and 24-month SSDI routes are modeled. The immediate " "entitlement routes for ALS (42 U.S.C. 426(h)) and ESRD " "(42 U.S.C. 426-1) are not, as the model has no inputs for those " 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_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/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 07e8810ce18..6a8bd7885e0 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 @@ -11,8 +11,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 de48f8af0f8..708fb778983 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 @@ -13,8 +13,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 478a48722f1..5e14d415af9 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_filing_status.py b/policyengine_us/variables/gov/states/az/tax/income/az_filing_status.py index 2899305d6f8..15939508d84 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/az_filing_status.py +++ b/policyengine_us/variables/gov/states/az/tax/income/az_filing_status.py @@ -15,7 +15,7 @@ class az_filing_status(Variable): default_value = ArizonaFilingStatus.SINGLE definition_period = YEAR documentation = ( - "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm" # Section 43-1001(5) + "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm\n" # Section 43-1001(5) "https://azdor.gov/forms/individual/form-140a-arizona-resident-personal-income-tax-booklet" # Page 5 (page 9 of pdf), Box 5. ) 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..0d694ce24a2 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" + documentation = "https://azdor.gov/sites/default/files/2023-03/FORMS_INDIVIDUAL_2022_140Ai.pdf#page=8\nhttps://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/co/tax/income/credits/cdcc/co_cdcc.py b/policyengine_us/variables/gov/states/co/tax/income/credits/cdcc/co_cdcc.py index 935e7c2f591..158651c4217 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/credits/cdcc/co_cdcc.py +++ b/policyengine_us/variables/gov/states/co/tax/income/credits/cdcc/co_cdcc.py @@ -7,7 +7,7 @@ class co_cdcc(Variable): label = "Colorado Child Care Expenses Credit" unit = USD documentation = ( - "https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=d14880b7-7410-4295-bcf1-2e099e57d8f3&pdistocdocslideraccess=true&config=014FJAAyNGJkY2Y4Zi1mNjgyLTRkN2YtYmE4OS03NTYzNzYzOTg0OGEKAFBvZENhdGFsb2d592qv2Kywlf8caKqYROP5&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A65HV-06G3-CGX8-050B-00008-00&pdcomponentid=234177&pdtocnodeidentifier=ABPAACAACAABAACABA&ecomp=k2vckkk&prid=e2e32763-f8fa-4832-8191-f70124d877f6" + "https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=d14880b7-7410-4295-bcf1-2e099e57d8f3&pdistocdocslideraccess=true&config=014FJAAyNGJkY2Y4Zi1mNjgyLTRkN2YtYmE4OS03NTYzNzYzOTg0OGEKAFBvZENhdGFsb2d592qv2Kywlf8caKqYROP5&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A65HV-06G3-CGX8-050B-00008-00&pdcomponentid=234177&pdtocnodeidentifier=ABPAACAACAABAACABA&ecomp=k2vckkk&prid=e2e32763-f8fa-4832-8191-f70124d877f6\n" "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2022.pdf#page=46" ) reference = ( 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/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/deductions/hi_deductions.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/hi_deductions.py index 9d4590b9a6e..5e84412ac6c 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/hi_deductions.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/hi_deductions.py @@ -7,7 +7,7 @@ class hi_deductions(Variable): label = "Hawaii deductions" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15" # Itemized Deduction + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15\n" # Itemized Deduction "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=20" # Standard Deduction ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_casualty_loss_deduction.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_casualty_loss_deduction.py index 74b9eee10bb..29ec2090d92 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_casualty_loss_deduction.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_casualty_loss_deduction.py @@ -7,7 +7,7 @@ class hi_casualty_loss_deduction(Variable): label = "Hawaii casualty loss deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=18" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=18\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_interest_deduction.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_interest_deduction.py index 0d2e38f656a..4a58a37629d 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_interest_deduction.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_interest_deduction.py @@ -7,7 +7,7 @@ class hi_interest_deduction(Variable): label = "Hawaii interest deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=17" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=17\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_itemized_deductions.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_itemized_deductions.py index a2f1ab3f111..2358892da1a 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_itemized_deductions.py @@ -7,7 +7,7 @@ class hi_itemized_deductions(Variable): label = "Hawaii itemized deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_medical_expense_deduction.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_medical_expense_deduction.py index 4e85acfad2f..fea377e4596 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_medical_expense_deduction.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_medical_expense_deduction.py @@ -7,7 +7,7 @@ class hi_medical_expense_deduction(Variable): label = "Hawaii medical expense deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_reduced_itemized_deductions.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_reduced_itemized_deductions.py index 72c901dccbc..c68fabcfe61 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_reduced_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_reduced_itemized_deductions.py @@ -7,7 +7,7 @@ class hi_reduced_itemized_deductions(Variable): label = "Hawaii reduced itemized deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_total_itemized_deductions.py b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_total_itemized_deductions.py index e020d8823a9..b4524d6ef82 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_total_itemized_deductions.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/deductions/itemized/hi_total_itemized_deductions.py @@ -7,7 +7,7 @@ class hi_total_itemized_deductions(Variable): label = "Hawaii total itemized deduction" unit = USD documentation = ( - "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15" + "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=15\n" "https://files.hawaii.gov/tax/forms/2022/n11ins.pdf#page=32" # total itemized deduction worksheet ) definition_period = YEAR 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_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/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_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/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..cf44005c58a 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://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://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 From a407083247d326a675da76b00270e3ccfb1c4ddc Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 4 Oct 2026 08:07:09 -0400 Subject: [PATCH 2/3] Split remaining multi-URL reference strings and guard them Two URLs in one literal (joined by ' ; ', ', ' or a space), stray leading/trailing spaces and notes inside the URL string now become one bare URL per tuple element, with notes moved to comments. The new AST code-health test flags glued URLs in reference and documentation strings, and reference strings that contain a URL but are not exactly one bare URL. Co-Authored-By: Claude Opus 5.5 --- .../fix-concatenated-reference-urls.fixed.md | 1 + .../test_no_concatenated_reference_urls.py | 228 ++++++++++++++++++ .../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 +- .../states/ca/cpuc/fera/ca_fera_eligible.py | 3 +- .../income/deductions/de_deduction_indv.py | 3 +- .../income/deductions/de_deduction_joint.py | 3 +- .../gov/states/hi/tax/income/hi_agi.py | 2 +- .../deductions/nc_itemized_deductions.py | 2 +- .../income/adjusted_gross_income/vt_agi.py | 2 +- .../income/credits/sctc/wv_sctc_eligible.py | 2 +- .../usda/snap/income/snap_countable_earner.py | 4 +- ...s_executive_administrative_professional.py | 5 +- .../person/is_eligible_for_fsla_overtime.py | 5 +- 15 files changed, 252 insertions(+), 14 deletions(-) create mode 100644 changelog.d/fix-concatenated-reference-urls.fixed.md create mode 100644 policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py diff --git a/changelog.d/fix-concatenated-reference-urls.fixed.md b/changelog.d/fix-concatenated-reference-urls.fixed.md new file mode 100644 index 00000000000..6448a9b60bd --- /dev/null +++ b/changelog.d/fix-concatenated-reference-urls.fixed.md @@ -0,0 +1 @@ +Separated URLs that were joined in Variable reference and documentation strings, so each reference entry is one bare URL, and added a code-health test that keeps them separate. diff --git a/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py b/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py new file mode 100644 index 00000000000..b19106e1296 --- /dev/null +++ b/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py @@ -0,0 +1,228 @@ +"""Keep URLs in `reference` and `documentation` attributes separate. + +Python joins adjacent string literals, so a missing comma in + + reference = ( + "https://www.ksrevenue.gov/pdf/ip21.pdf" + "https://www.ksrevenue.gov/pdf/ip22.pdf" + ) + +produces the single, broken reference +"https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf". +This check parses every module in the package with `ast` (no simulation +import) and flags + +- any string in a class's `reference` or `documentation` attribute in which a + URL scheme is glued to the character before it, and +- any string in a class's `reference` attribute that contains a URL but is not + exactly one bare URL: two URLs joined by " ; ", ", " or a space, stray + leading or trailing spaces, or a note such as "(Line 3)" (put notes in a + Python comment). + +A scheme may follow whitespace, an opening bracket or quote, or "=" (a URL +passed as a query value, as in azleg.gov's viewdocument/?docName=https://...). +It may follow "/" only when that slash closes an archive.org wrapper such as +https://web.archive.org/web//https://... +""" + +import ast +import re +from pathlib import Path + +import pytest + + +PACKAGE = Path(__file__).resolve().parents[2] +ATTRIBUTES = {"reference", "documentation"} +SCHEME = re.compile(r"https?://", re.IGNORECASE) +ALLOWED_BEFORE_SCHEME = set("([{<\"'`=") +BARE_URL = re.compile(r"https?://\S+", re.IGNORECASE) +ARCHIVE_WRAPPER = re.compile( + r"(?:^|[\s(\[{<\"'`=])(?:https?://)?(?:web\.)?archive\.org/web/[^\s/]+/$", + re.IGNORECASE, +) + + +def glued_url_offsets(text: str) -> list[int]: + """Offsets in `text` of URL schemes glued to the character before them.""" + offsets = [] + for match in SCHEME.finditer(text): + start = match.start() + if start == 0: + continue + before = text[start - 1] + if before.isspace() or before in ALLOWED_BEFORE_SCHEME: + continue + if before == "/" and ARCHIVE_WRAPPER.search(text, 0, start): + continue + offsets.append(start) + return offsets + + +def class_attribute_strings(tree: ast.AST): + """Yield (attribute, str constant) for each string in a class's + `reference` or `documentation` attribute, at any depth (tuple and list + elements, dict values).""" + for node in ast.walk(tree): + if not isinstance(node, ast.ClassDef): + continue + for statement in node.body: + if isinstance(statement, ast.Assign): + targets = statement.targets + elif isinstance(statement, ast.AnnAssign) and statement.value: + targets = [statement.target] + else: + continue + for target in targets: + if isinstance(target, ast.Name) and target.id in ATTRIBUTES: + for child in ast.walk(statement.value): + if isinstance(child, ast.Constant) and isinstance( + child.value, str + ): + yield target.id, child + + +def is_bare_url_or_has_none(text: str) -> bool: + """True if `text` contains no URL, or is exactly one URL with nothing + before or after it.""" + return not SCHEME.search(text) or bool(BARE_URL.fullmatch(text)) + + +def find_glued_urls(source: str, filename: str = "") -> list[str]: + violations = [] + for attribute, constant in class_attribute_strings( + ast.parse(source, filename=filename) + ): + location = f"{filename}:{constant.lineno} {attribute}:" + for offset in glued_url_offsets(constant.value): + context = constant.value[max(offset - 40, 0) : offset + 40] + violations.append(f"{location} glued URLs ...{context}...") + if attribute == "reference" and not is_bare_url_or_has_none(constant.value): + violations.append(f"{location} not one bare URL {constant.value!r}") + return violations + + +@pytest.mark.parametrize( + "text", + [ + "https://www.ksrevenue.gov/pdf/ip21.pdfhttps://www.ksrevenue.gov/pdf/ip22.pdf", + "https://example.gov/a.pdf#page=3http://example.gov/b.pdf", + "https://law.justia.com/codes/alabama/2022/title-40/section-40-18-15/" + "https://www.revenue.alabama.gov/forms.pdf", + "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm" + "https://azdor.gov/forms/individual/form-140a", + "Eligibility and Enrollmenthttps://www.cms.gov/medicare/enrollment", + "https://example.gov/a)https://example.gov/b", + "HTTPS://EXAMPLE.GOV/A.PDFHTTPS://EXAMPLE.GOV/B.PDF", + "https://example.gov/web/2024/https://example.gov/b", + ], +) +def test_glued_urls_are_flagged(text): + assert len(glued_url_offsets(text)) == 1 + + +@pytest.mark.parametrize( + "text", + [ + "https://www.ksrevenue.gov/pdf/ip21.pdf", + "https://example.gov/a.pdf https://example.gov/b.pdf", + "https://example.gov/a.pdf\nhttps://example.gov/b.pdf", + "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm", + "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/heap", + "https://web.archive.org/web/20211208060516id_/https://dese.mo.gov/childhood", + "web.archive.org/web/2025*/https://www.tax.ny.gov/pit/", + "See the manual (https://example.gov/manual.pdf).", + "[IT-201-I](https://www.tax.ny.gov/it201i.pdf)", + '"https://example.gov/a"', + "https://www.cbo.gov/system/files/2026-02/51138-2026-02-Revenue.xlsx", + ], +) +def test_separated_and_wrapped_urls_are_not_flagged(text): + assert glued_url_offsets(text) == [] + + +@pytest.mark.parametrize( + "text", + [ + "https://example.gov/a ; https://example.gov/b", + "https://example.gov/a, https://example.gov/b", + "https://example.gov/a.pdf#page=27 https://example.gov/b.pdf", + " https://example.gov/a.htm", + "https://example.gov/a.htm ", + "https://example.gov/a.pdf (Line 3)", + "https://example.gov/a.pdf#page=1, 2", + "See https://example.gov/a.pdf", + ], +) +def test_reference_entries_that_are_not_one_bare_url_are_flagged(text): + assert not is_bare_url_or_has_none(text) + + +@pytest.mark.parametrize( + "text", + [ + "https://example.gov/a.pdf#page=3", + "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm", + "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/heap", + "26 U.S.C. 32(b)", + "IRS Publication 596, page 3", + "", + ], +) +def test_bare_urls_and_text_citations_pass(text): + assert is_bare_url_or_has_none(text) + + +def test_implicit_concatenation_in_a_class_attribute_is_found(): + source = ( + "class v:\n" + " reference = (\n" + ' "https://example.gov/a.pdf"\n' + ' "https://example.gov/b.pdf",\n' + ' {"href": "https://example.gov/c.pdfhttps://example.gov/d.pdf"},\n' + " )\n" + ' documentation: str = "See https://example.gov/e.htmlhttps://f.gov"\n' + ' label = "https://example.gov/g.pdfhttps://example.gov/h.pdf"\n' + "class w:\n" + ' reference = "https://example.gov/k.pdf ; https://example.gov/l.pdf"\n' + ' documentation = "https://example.gov/m.pdf (Line 3)"\n' + "def f():\n" + ' reference = "https://example.gov/i.pdfhttps://example.gov/j.pdf"\n' + ) + violations = find_glued_urls(source, "v.py") + assert [v.split(" ")[:3] for v in violations] == [ + ["v.py:3", "reference:", "glued"], + ["v.py:5", "reference:", "glued"], + ["v.py:7", "documentation:", "glued"], + ["v.py:10", "reference:", "not"], + ] + + +def test_separated_class_attribute_urls_pass(): + source = ( + "class v:\n" + " reference = (\n" + ' "https://example.gov/a.pdf",\n' + ' "https://example.gov/b.pdf",\n' + " )\n" + ' documentation = "https://example.gov/c.pdf\\nhttps://example.gov/d.pdf"\n' + ' label = "Title, not a URL"\n' + "class w:\n" + ' reference = ({"title": "Form 1, line 3", "href": "https://x.gov/f.pdf"},)\n' + ) + assert find_glued_urls(source) == [] + + +def test_package_reference_urls_are_not_concatenated(): + violations = [] + for path in sorted(PACKAGE.rglob("*.py")): + source = path.read_text(encoding="utf-8") + if "http" not in source: + continue + violations.extend(find_glued_urls(source, str(path.relative_to(PACKAGE)))) + assert not violations, ( + "Malformed reference or documentation URLs. Put each reference URL " + "in its own tuple element (with a comma after it), move notes into a " + "Python comment, and separate URLs in documentation with a space or " + "line break:\n" + "\n".join(violations) + ) 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/ca/cpuc/fera/ca_fera_eligible.py b/policyengine_us/variables/gov/states/ca/cpuc/fera/ca_fera_eligible.py index 8df5a51ce38..b551a3299bd 100644 --- a/policyengine_us/variables/gov/states/ca/cpuc/fera/ca_fera_eligible.py +++ b/policyengine_us/variables/gov/states/ca/cpuc/fera/ca_fera_eligible.py @@ -24,7 +24,8 @@ class ca_fera_eligible(Variable): # residences and sub-metered tenants; bars master-metered customers # without sub-metering. Page 2, Special Condition 3 (certification): # other qualifying applicants in individually metered units. - "https://www.pge.com/tariffs/assets/pdf/tariffbook/ELEC_SCHEDS_E-FERA.pdf#page=1, 2", + "https://www.pge.com/tariffs/assets/pdf/tariffbook/ELEC_SCHEDS_E-FERA.pdf#page=1", + "https://www.pge.com/tariffs/assets/pdf/tariffbook/ELEC_SCHEDS_E-FERA.pdf#page=2", ) defined_for = StateCode.CA 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/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/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/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/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 cf44005c58a..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 @@ -7,7 +7,7 @@ class wv_sctc_eligible(Variable): 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/TaxForms/2021/it140.pdf#page=27", "https://tax.wv.gov/Documents/PIT/2022/PersonalIncomeTaxFormsAndInstructions.2022.pdf#page=35", ) definition_period = YEAR 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 4f20834eaffe15e314f9459a4a8766120a34ec8a Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 4 Oct 2026 14:54:35 -0400 Subject: [PATCH 3/3] Tighten the reference URL guard per review A reference string may hold a second URL scheme only inside the first URL (as a query value or after an archive.org wrapper), so quotes or brackets can no longer hide two URLs in one entry. The package scan's prefilter is now case-insensitive, with a regression test for a module whose URLs are upper case. Co-Authored-By: Claude Opus 5.5 --- .../test_no_concatenated_reference_urls.py | 59 ++++++++++++++++--- 1 file changed, 51 insertions(+), 8 deletions(-) diff --git a/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py b/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py index b19106e1296..33f50c9a9de 100644 --- a/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py +++ b/policyengine_us/tests/code_health/test_no_concatenated_reference_urls.py @@ -82,10 +82,25 @@ def class_attribute_strings(tree: ast.AST): yield target.id, child +def is_wrapped_url(text: str, start: int) -> bool: + """True if the URL scheme at `start` sits inside another URL: as a query + value (`...?docName=https://...`) or after an archive.org wrapper.""" + before = text[start - 1] + return before == "=" or ( + before == "/" and bool(ARCHIVE_WRAPPER.search(text, 0, start)) + ) + + def is_bare_url_or_has_none(text: str) -> bool: """True if `text` contains no URL, or is exactly one URL with nothing - before or after it.""" - return not SCHEME.search(text) or bool(BARE_URL.fullmatch(text)) + before or after it. A second scheme is allowed only inside the first URL, + as a query value or after an archive.org wrapper.""" + starts = [match.start() for match in SCHEME.finditer(text)] + if not starts: + return True + return bool(BARE_URL.fullmatch(text)) and all( + is_wrapped_url(text, start) for start in starts[1:] + ) def find_glued_urls(source: str, filename: str = "") -> list[str]: @@ -94,10 +109,15 @@ def find_glued_urls(source: str, filename: str = "") -> list[str]: ast.parse(source, filename=filename) ): location = f"{filename}:{constant.lineno} {attribute}:" - for offset in glued_url_offsets(constant.value): + glued = glued_url_offsets(constant.value) + for offset in glued: context = constant.value[max(offset - 40, 0) : offset + 40] violations.append(f"{location} glued URLs ...{context}...") - if attribute == "reference" and not is_bare_url_or_has_none(constant.value): + if ( + attribute == "reference" + and not glued + and not is_bare_url_or_has_none(constant.value) + ): violations.append(f"{location} not one bare URL {constant.value!r}") return violations @@ -152,6 +172,10 @@ def test_separated_and_wrapped_urls_are_not_flagged(text): "https://example.gov/a.pdf (Line 3)", "https://example.gov/a.pdf#page=1, 2", "See https://example.gov/a.pdf", + 'https://example.gov/a.pdf"https://example.gov/b.pdf"', + "https://example.gov/a.pdf(https://example.gov/b.pdf)", + "https://example.gov/a.pdf[https://example.gov/b.pdf]", + "https://example.gov/web/2024/https://example.gov/b", ], ) def test_reference_entries_that_are_not_one_bare_url_are_flagged(text): @@ -164,6 +188,7 @@ def test_reference_entries_that_are_not_one_bare_url_are_flagged(text): "https://example.gov/a.pdf#page=3", "https://www.azleg.gov/viewdocument/?docName=https://www.azleg.gov/ars/43/01001.htm", "https://web.archive.org/web/20250720165524/https://www.mass.gov/doc/heap", + "https://web.archive.org/web/2021id_/https://example.gov/a?url=https://b.gov", "26 U.S.C. 32(b)", "IRS Publication 596, page 3", "", @@ -213,13 +238,31 @@ def test_separated_class_attribute_urls_pass(): assert find_glued_urls(source) == [] -def test_package_reference_urls_are_not_concatenated(): +def find_package_violations(root: Path) -> list[str]: violations = [] - for path in sorted(PACKAGE.rglob("*.py")): + for path in sorted(root.rglob("*.py")): source = path.read_text(encoding="utf-8") - if "http" not in source: + if "http" not in source.lower(): continue - violations.extend(find_glued_urls(source, str(path.relative_to(PACKAGE)))) + violations.extend(find_glued_urls(source, str(path.relative_to(root)))) + return violations + + +def test_package_scan_reads_upper_case_urls(tmp_path): + (tmp_path / "v.py").write_text( + "class v:\n" + " reference = (\n" + ' "HTTPS://EXAMPLE.GOV/A.PDF"\n' + ' "HTTPS://EXAMPLE.GOV/B.PDF"\n' + " )\n" + ) + assert [v.split(" ")[:3] for v in find_package_violations(tmp_path)] == [ + ["v.py:3", "reference:", "glued"], + ] + + +def test_package_reference_urls_are_not_concatenated(): + violations = find_package_violations(PACKAGE) assert not violations, ( "Malformed reference or documentation URLs. Put each reference URL " "in its own tuple element (with a comma after it), move notes into a "