-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'id' of https://github.com/sydneybeutler/fiscalsim-us in…
…to id
- Loading branch information
Showing
78 changed files
with
976 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: fiscalsim-us-dev | ||
dependencies: | ||
- python=3.10 | ||
- python>=3.10,<3.12 | ||
- pip |
24 changes: 24 additions & 0 deletions
24
...alsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/itemized_deductions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
description: Montana deductions from taxable income if itemizing (that are not available if not itemizing). | ||
values: | ||
2022-01-01: | ||
- mt_medical_and_dental_expenses_deduction | ||
- mt_medical_premiums_deduction | ||
- mt_long_term_care_premiums_deduction | ||
- mt_federal_income_tax_deduction | ||
- mt_state_local_tax_deduction | ||
- mt_light_vehicle_registration_deduction | ||
- mt_per_capita_livestock_deduction | ||
- mt_other_taxes_paid_deduction | ||
- mt_home_mortage_interest_deduction | ||
- mt_investment_interest_deduction | ||
- mt_charitable_cash_deduction | ||
- mt_charitable_noncash_deduction | ||
- mt_charitable_carryover_deduction | ||
- mt_child_care_expense_deduction | ||
- mt_casualty_loss_deduction | ||
- mt_political_contributions_deduction | ||
- mt_gambling_loss_deduction | ||
- mt_other_deduction | ||
metadata: | ||
unit: variable | ||
label: montana itemized deductions |
9 changes: 9 additions & 0 deletions
9
...alsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/medical_dental/rate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
description: Montana percentage of adjusted gross income that your medical and dental expenses are subject to. | ||
values: | ||
2022-01-01: 0.075 | ||
metadata: | ||
unit: year | ||
label: Montana itemized medical and dental rate | ||
reference: | ||
title: Montana Individual Tax Return Form 2 | Itemized Deductions Scedule | Line 1c | ||
href: https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf |
9 changes: 9 additions & 0 deletions
9
...meters/gov/states/mt/tax/income/deductions/itemized/misc/political_contributions_cap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
description: Montana cap that the political contributions and limited by per taxpayer | ||
values: | ||
2022-01-01: 100 | ||
metadata: | ||
unit: year | ||
label: Montana political contributions cap | ||
reference: | ||
title: Montana Individual Tax Return Form 2 | Itemized Deductions Scedule | Line 16 | ||
href: https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf |
21 changes: 21 additions & 0 deletions
21
fiscalsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/misc/salt_cap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
description: Maximum amount of state and local income, sales and real estate tax deductions allowed in montana. | ||
metadata: | ||
unit: currency-USD | ||
period: year | ||
name: mt_salt_cap | ||
label: Montana SALT cap | ||
HEAD_OF_HOUSEHOLD: | ||
values: | ||
2022-01-01: 10_000 | ||
JOINT: | ||
values: | ||
2022-01-01: 10_000 | ||
SEPARATE: | ||
values: | ||
2022-01-01: 5_000 | ||
SINGLE: | ||
values: | ||
2022-01-01: 10000 | ||
WIDOW: | ||
values: | ||
2022-01-01: 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
fiscalsim_us/parameters/gov/states/mt/tax/income/deductions/standard/min.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
fiscalsim_us/tests/policy/baseline/gov/states/la/tax/income/la_agi_subtractions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: LA subtractions from income | ||
period: 2021 | ||
absolute_error_margin: 0 | ||
input: | ||
filing_status: SINGLE | ||
adjusted_gross_income: 100_000 | ||
us_govt_interest: 1_000 | ||
tax_unit_taxable_social_security: 1_000 | ||
la_state_employee_retirement_benefits: 1_000 | ||
la_state_teacher_retirement_benefits: 1_000 | ||
la_federal_retirement_benefits: 1_000 | ||
la_other_subtractions: 1_000 | ||
la_exemptions: 0 | ||
state_code: LA | ||
output: | ||
la_taxable_income: 94_000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...alsim_us/variables/gov/states/mt/tax/income/additions_subtractions/mt_income_additions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_additions_to_income(Variable): | ||
""" | ||
Line 12 on Montana 2022 Individual Income Tax return form 2. These | ||
additions to income include the categories that are listed | ||
in Montana Additions Schedule on page 4 of Montana 2022 Individual Income Tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "MT additions to income" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
16 changes: 16 additions & 0 deletions
16
...im_us/variables/gov/states/mt/tax/income/additions_subtractions/mt_income_subtractions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_subtractions_to_income(Variable): | ||
""" | ||
Line 13 on Montana 2022 Individual Income Tax return form 2. These | ||
subtractions to income include the categories that are listed | ||
in Montana Subtractions Schedule on page 5 of Montana 2022 Individual Income Tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "MT subtractions to income" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
fiscalsim_us/variables/gov/states/mt/tax/income/credits/mt_nonrefundable_credits.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_nonrefundable_credits(Variable): | ||
""" | ||
Line 19 of Montana state individual tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana refundable credits" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
adds = "gov.states.mt.tax.income.credits.non_refundable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...alsim_us/variables/gov/states/mt/tax/income/credits/mt_tax_after_nonrefundable_credits.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_tax_after_nonrefundable_credits(Variable): | ||
""" | ||
Line 20 on Montana individual tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana refundable credits" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameter): | ||
nonrefundable = tax_unit("mt_nonrefundable_credits") | ||
incometaxbeforecredits = tax_unit( | ||
"mt_income_tax_before_refundable_credits" | ||
) | ||
return incometaxbeforecredits - nonrefundable |
Oops, something went wrong.