policyengine-us 1.424.1__py3-none-any.whl → 1.424.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of policyengine-us might be problematic. Click here for more details.

@@ -26,3 +26,50 @@
26
26
  output:
27
27
  ga_subtractions: 0
28
28
  ga_income_tax: 0
29
+
30
+ - name: 0-GA.yaml
31
+ absolute_error_margin: 2
32
+ period: 2024
33
+ input:
34
+ people:
35
+ person1:
36
+ age: 70
37
+ employment_income: 0.0
38
+ ssi: 0
39
+ wic: 0
40
+ head_start: 0
41
+ early_head_start: 0
42
+ commodity_supplemental_food_program: 0
43
+ partnership_s_corp_income: 17545.654
44
+ taxable_interest_income: 181.88306
45
+ is_tax_unit_head: true
46
+ person2:
47
+ age: 12
48
+ employment_income: 0
49
+ ssi: 0
50
+ wic: 0
51
+ head_start: 0
52
+ early_head_start: 0
53
+ commodity_supplemental_food_program: 0
54
+ is_tax_unit_dependent: true
55
+ is_tax_unit_head: false
56
+ is_tax_unit_spouse: false
57
+ tax_units:
58
+ tax_unit:
59
+ members: [person1, person2]
60
+ premium_tax_credit: 0
61
+ local_income_tax: 0
62
+ state_sales_tax: 0
63
+ spm_units:
64
+ spm_unit:
65
+ members: [person1, person2]
66
+ snap: 0
67
+ tanf: 0
68
+ free_school_meals: 0
69
+ reduced_price_school_meals: 0
70
+ households:
71
+ household:
72
+ members: [person1, person2]
73
+ state_fips: 13
74
+ output:
75
+ ga_income_tax: 0
@@ -0,0 +1,17 @@
1
+ - name: Combined income is capped
2
+ period: 2024
3
+ input:
4
+ state_code: GA
5
+ earned_income: 4_000
6
+ partnership_s_corp_income: 3_000
7
+ output:
8
+ ga_retirement_exclusion_countable_earned_income: 5_000
9
+
10
+ - name: Income below cap
11
+ period: 2024
12
+ input:
13
+ state_code: GA
14
+ earned_income: 4_000
15
+ partnership_s_corp_income: 500
16
+ output:
17
+ ga_retirement_exclusion_countable_earned_income: 4_500
@@ -0,0 +1,48 @@
1
+ - name: 0-WI.yaml
2
+ absolute_error_margin: 2
3
+ period: 2024
4
+ input:
5
+ people:
6
+ person1:
7
+ age: 40
8
+ employment_income: 0.0
9
+ ssi: 0
10
+ wic: 0
11
+ head_start: 0
12
+ early_head_start: 0
13
+ commodity_supplemental_food_program: 0
14
+ short_term_capital_gains: -896056.95
15
+ partnership_s_corp_income: -727887.75
16
+ taxable_interest_income: 0.012324943
17
+ is_tax_unit_head: true
18
+ person2:
19
+ age: 40
20
+ employment_income: 0.0
21
+ ssi: 0
22
+ wic: 0
23
+ head_start: 0
24
+ early_head_start: 0
25
+ commodity_supplemental_food_program: 0
26
+ short_term_capital_gains: -896056.95
27
+ partnership_s_corp_income: -727887.75
28
+ taxable_interest_income: 0.012324943
29
+ is_tax_unit_spouse: true
30
+ tax_units:
31
+ tax_unit:
32
+ members: [person1, person2]
33
+ premium_tax_credit: 0
34
+ local_income_tax: 0
35
+ state_sales_tax: 0
36
+ spm_units:
37
+ spm_unit:
38
+ members: [person1, person2]
39
+ snap: 0
40
+ tanf: 0
41
+ free_school_meals: 0
42
+ reduced_price_school_meals: 0
43
+ households:
44
+ household:
45
+ members: [person1, person2]
46
+ state_fips: 55
47
+ output:
48
+ wi_income_tax: 0
@@ -10,7 +10,7 @@ class ga_retirement_exclusion_countable_earned_income(Variable):
10
10
  reference = (
11
11
  "https://dor.georgia.gov/document/booklet/2021-it-511-individual-income-tax-booklet/download", # Page 15
12
12
  "https://dor.georgia.gov/document/document/2022-it-511-individual-income-tax-booklet/download", # Page 15
13
- "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",
13
+ "https://law.justia.com/codes/georgia/title-48/chapter-7/article-2/section-48-7-27/", # (a)(5)(E)(i)
14
14
  )
15
15
  defined_for = StateCode.GA
16
16
 
@@ -18,5 +18,8 @@ class ga_retirement_exclusion_countable_earned_income(Variable):
18
18
  p = parameters(
19
19
  period
20
20
  ).gov.states.ga.tax.income.agi.exclusions.retirement.cap
21
- earned_income = person("earned_income", period)
21
+ # Business income is included in the earned income concept for the Georgia retirement income exclusion
22
+ earned_income = add(
23
+ person, period, ["earned_income", "partnership_s_corp_income"]
24
+ )
22
25
  return min_(p.earned_income, earned_income)
@@ -20,11 +20,13 @@ class wi_married_couple_credit(Variable):
20
20
  fstatus = tax_unit("filing_status", period)
21
21
  eligible = fstatus == fstatus.possible_values.JOINT
22
22
  p = parameters(period).gov.states.wi.tax.income.credits
23
- income = add(tax_unit.members, period, p.married_couple.income_sources)
24
- is_head = tax_unit.members("is_tax_unit_head", period)
25
- is_spouse = tax_unit.members("is_tax_unit_spouse", period)
26
- head_income = tax_unit.sum(is_head * income)
27
- spouse_income = tax_unit.sum(is_spouse * income)
23
+ person = tax_unit.members
24
+ income = add(person, period, p.married_couple.income_sources)
25
+ floored_income = max_(0, income)
26
+ is_head = person("is_tax_unit_head", period)
27
+ is_spouse = person("is_tax_unit_spouse", period)
28
+ head_income = tax_unit.sum(is_head * floored_income)
29
+ spouse_income = tax_unit.sum(is_spouse * floored_income)
28
30
  lower_income = min_(head_income, spouse_income)
29
31
  return min_(
30
32
  eligible * lower_income * p.married_couple.rate,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.424.1
3
+ Version: 1.424.3
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -4170,7 +4170,7 @@ policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/ga_income_tax_bef
4170
4170
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/ga_income_tax_before_refundable_credits.yaml,sha256=wy6wSMxo8c_ndrrqeq173hZhaIKQjTC1mmiMuAaVeAo,421
4171
4171
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/ga_taxable_income.yaml,sha256=0XpZG0b6-NuB0meZWHpIv5aHtjJnUv-qdhaQRnDUmYM,178
4172
4172
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/ga_withheld_income_tax.yaml,sha256=swbVs4VvJf7qCu---JmZQapVUdTp8-iJ7I3Ly1a1TVA,711
4173
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/integration.yaml,sha256=0IheNjijQnDBcJ_jEAkGEVwlZhcioEurbStOOxmzoQ4,632
4173
+ policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/integration.yaml,sha256=sOXvKGLMChWeLP9aDbnEhM21nOB8YlsQLEhNVlTkjrw,1752
4174
4174
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_ctc.yaml,sha256=17PQ1v6V5AUHOaLcQrjQt_SEmi0JCI-c68lkrp2ztWs,2310
4175
4175
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_low_income_credit.yaml,sha256=Zfsw-JB6s6IJeeVP-WPi3-_0sBu71JBauVyxA72pwgo,1870
4176
4176
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.yaml,sha256=UWTMmN9xUFwXuVmhnkORd3TmxyaJuBM3PHjG8apf9Wg,703
@@ -4179,6 +4179,7 @@ policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/deductions/standa
4179
4179
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/deductions/standard/ga_standard_deduction.yaml,sha256=5Jb-nIuJWS1u4gmU81hZmcv8X6Gp7nosQeGMGwhNb2s,1366
4180
4180
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/exemptions/ga_exemptions.yaml,sha256=-x2iNcv5nSYpVtJMgPO9NsdLdCSnxEvP7PTPdC3DH54,1222
4181
4181
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/ga_exclusion_countable_earned_income.yaml,sha256=6HCUS6MpOVeYhCwGAlsT_vQUejThniiTOvhDPIODlPA,338
4182
+ policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.yaml,sha256=LHVFFvWJeTvi6PMvMnZS64mQ1j42A1uldWeREmTwjCk,406
4182
4183
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_eligible_person_younger_cap.yaml,sha256=NlaF5CoPt_HR-dTn26ZhHspZsRRNTcTddcbzB_LgEkE,1728
4183
4184
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_person.yaml,sha256=35xsUwoo1MZ-slSAojSG8vqk1Ye8QkGb-SmrOhS8vjs,970
4184
4185
  policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/military/ga_military_retirement_exclusion_eligible_person.yaml,sha256=7AX5hn68ixHYDpum4mNtQvU16jn1R3M1LNjgM_lFfNo,1018
@@ -5274,6 +5275,7 @@ policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_
5274
5275
  policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/wa_capital_gains_tax.yaml,sha256=X_Iw0T96PfRa3ZlicJD82_X54mIo0D8aYPbejLqlVis,606
5275
5276
  policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/wa_income_tax.yaml,sha256=dZJUrOdPucb2lt2pCp_B8JYhs-p4XMbG59_3P-MFXKU,246
5276
5277
  policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/credits/wa_working_families_tax_credit.yaml,sha256=rmvFm8gGJnmft6FqTKH4JcCPSC2uwjRS4vhsHh52awo,661
5278
+ policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/integration.yaml,sha256=sIFZbpS2HfD49pB907Pl0Pr_dz2_HU3O7CLc58T1CZw,1236
5277
5279
  policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_additional_exemption.yaml,sha256=8DvJWWNTF3-oX_SZbgYc1GyVgHdAcNt6WAjd40nidOA,435
5278
5280
  policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_base_exemption.yaml,sha256=k9OFbFeMGvtwPUXm1fL06899cYqEG7m1w_uhXD4YQJs,141
5279
5281
  policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_capital_gain_loss_addition.yaml,sha256=VPQY_6bSRGGQxVqOLIYjbX1DDSn96WEESF2p0nkPdvA,870
@@ -6740,7 +6742,7 @@ policyengine_us/variables/gov/states/ga/tax/income/deductions/ga_standard_deduct
6740
6742
  policyengine_us/variables/gov/states/ga/tax/income/exemptions/ga_exemptions.py,sha256=ybY-txhuICI3vtbBgvOyVkvDzuMrUIKH1AAEHLPkFNI,1392
6741
6743
  policyengine_us/variables/gov/states/ga/tax/income/subtractions/ga_investment_in_529_plan_deduction.py,sha256=HZQNPQ01uskfgURjxRwHwgbaK0Qqj4Y0N_Ub_QyrQfk,662
6742
6744
  policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion.py,sha256=FrjyDlAwygmtjTNvfVYDhRP_bAUa69qNOGp_EeGzum4,984
6743
- policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.py,sha256=QhEfYTdRJgst-Cnbo-4bG8CgPqvQdv3TbLwx_nLARNU,1270
6745
+ policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.py,sha256=XjuFXcwG2DgnyfeWmnjfYDc5zVcpfqjGSVrghiN9Ir4,1110
6744
6746
  policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_eligible_person.py,sha256=fEYvXldnjCca1pAIgeaAWkkdyXU3N0iZjJIEca6pLEo,1483
6745
6747
  policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_person.py,sha256=ewy5uvWsdVTqiTrOIVd6sixeArfNnqYLnHuxPNlN1n4,1517
6746
6748
  policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_income_exclusion_retirement_income.py,sha256=AtzGcepwEgfIqYAjF1qL-EF_6lumTU0QPMGAS2fSQ64,1067
@@ -8193,7 +8195,7 @@ policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestea
8193
8195
  policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py,sha256=4Edv0IB2qRMl-wvVXzM6ElvtoK46Lipu1cmCZxskQ8U,714
8194
8196
  policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_property_tax.py,sha256=hoDjQ7RUQlFNhRHN6oReQ8WtBQGPBwZdhjZMRQGVivw,771
8195
8197
  policyengine_us/variables/gov/states/wi/tax/income/credits/itemized_deduction/wi_itemized_deduction_credit.py,sha256=fsyA38gH1xOdFg004PYcwD7CJcWljTZoqbCNaV9jAs8,930
8196
- policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py,sha256=eGJwJsWs2Z9K-AaQJl8s_lkwY6LE0oXVuod5C-16kNM,1440
8198
+ policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py,sha256=_WUS1sZcu88Fb51dF5XDIhHa0JhQL-T4zcCSDnIgYuc,1501
8197
8199
  policyengine_us/variables/gov/states/wi/tax/income/credits/property_tax/wi_property_tax_credit.py,sha256=tWMVjvAIvHbuSNgmABnPp82XpFSkWWClx69y0ao4-B0,1043
8198
8200
  policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_additional_exemption.py,sha256=HJ-w3A1oGaAUpO_gk115t6xthUH3Gx8GBz29ZTEbqXg,1120
8199
8201
  policyengine_us/variables/gov/states/wi/tax/income/exemptions/wi_base_exemption.py,sha256=JPc7qm8VSEjkeJX0SRkavyy6QFlnhHX49yM9nR4I81w,885
@@ -8838,8 +8840,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8838
8840
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8839
8841
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8840
8842
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8841
- policyengine_us-1.424.1.dist-info/METADATA,sha256=r4-PjHqTjyHASd7TZYQ1-ASzA-K9BkDQhViJ04Q2Cwc,1649
8842
- policyengine_us-1.424.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8843
- policyengine_us-1.424.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8844
- policyengine_us-1.424.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8845
- policyengine_us-1.424.1.dist-info/RECORD,,
8843
+ policyengine_us-1.424.3.dist-info/METADATA,sha256=Xdc-GA_qLWDqo_DN0mPwVI7qEtvv5yQTL_p5am3QO7E,1649
8844
+ policyengine_us-1.424.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8845
+ policyengine_us-1.424.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8846
+ policyengine_us-1.424.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8847
+ policyengine_us-1.424.3.dist-info/RECORD,,