policyengine-us 1.398.0__py3-none-any.whl → 1.398.1__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.

@@ -7,7 +7,6 @@ values:
7
7
  - snap_child_support_deduction
8
8
  - snap_excess_medical_expense_deduction
9
9
  - snap_excess_shelter_expense_deduction
10
- - snap_self_employment_expense_deduction
11
10
  metadata:
12
11
  reference:
13
12
  - title: United States Code, Title 7, Subsection 2014(e)
@@ -58,3 +58,61 @@
58
58
  snap_self_employment_income_after_expense_deduction: 0
59
59
  snap_self_employment_expense_deduction: 0
60
60
  snap: 71.75
61
+
62
+ - name: Self-employment income deduction integration test
63
+ period: 2025
64
+ absolute_error_margin: 1
65
+ input:
66
+ people:
67
+ person1:
68
+ age: 55
69
+ self_employment_income: 10_000
70
+ households:
71
+ household:
72
+ members: [person1]
73
+ state_code: OH
74
+ spm_units:
75
+ spm_unit:
76
+ members: [person1]
77
+ snap_standard_deduction: 0
78
+ snap_earned_income_deduction: 0
79
+ output:
80
+ snap_self_employment_income_after_expense_deduction: 5_000
81
+ snap_self_employment_expense_deduction: 5_000
82
+ # The self-employment income deduction is applied to gross income
83
+ # and not in the list of deductions.
84
+ # This also allows for proper earned income deduction calculation.
85
+ snap_deductions: 0
86
+ snap_earned_income: 5_000
87
+ snap_gross_income: 5_000
88
+ snap_net_income: 5_000
89
+ snap: 2_028
90
+
91
+ - name: Counterfactual test, self-employment income deduction allowed
92
+ period: 2025
93
+ absolute_error_margin: 1
94
+ input:
95
+ gov.usda.snap.income.deductions.allowed: [snap_standard_deduction, snap_earned_income_deduction, snap_dependent_care_deduction, snap_child_support_deduction, snap_excess_medical_expense_deduction, snap_excess_shelter_expense_deduction, snap_self_employment_expense_deduction]
96
+ people:
97
+ person1:
98
+ age: 55
99
+ self_employment_income: 10_000
100
+ households:
101
+ household:
102
+ members: [person1]
103
+ state_code: OH
104
+ spm_units:
105
+ spm_unit:
106
+ members: [person1]
107
+ snap_standard_deduction: 0
108
+ snap_earned_income_deduction: 0
109
+ output:
110
+ snap_self_employment_income_after_expense_deduction: 5_000
111
+ snap_self_employment_expense_deduction: 5_000
112
+ # In the counterfactual, the self-employment income deduction is first applied to earned income.
113
+ snap_gross_income: 5_000
114
+ snap_earned_income: 5_000
115
+ snap_deductions: 5_000
116
+ # And then again subtracted as a deduction from gross income.
117
+ snap_net_income: 0
118
+ snap: 3_525
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.398.0
3
+ Version: 1.398.1
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3049,7 +3049,7 @@ policyengine_us/parameters/gov/usda/snap/emergency_allotment/allowed.yaml,sha256
3049
3049
  policyengine_us/parameters/gov/usda/snap/emergency_allotment/in_effect.yaml,sha256=scGNcKkui593vmvpQtKr7X6rR1r7QeZTQvIHLvmfByo,2155
3050
3050
  policyengine_us/parameters/gov/usda/snap/emergency_allotment/minimum.yaml,sha256=6F7w3rbd93uee68sC_Ao7abJN4PvbOgG_SC95mk0SG8,438
3051
3051
  policyengine_us/parameters/gov/usda/snap/income/child_income_exclusion_age.yaml,sha256=_WZz7hR4BXl6ilpUmLf55A0fgVJMGvoDjGc6-EwabVc,479
3052
- policyengine_us/parameters/gov/usda/snap/income/deductions/allowed.yaml,sha256=NHambVNl5AHdSd7ctX2xhHJvu-K5is5wheBZd5QWWdM,552
3052
+ policyengine_us/parameters/gov/usda/snap/income/deductions/allowed.yaml,sha256=3La0dTETi6AjWAZrg46e_yMJDJF5NpqYEGwYpzpeCLU,507
3053
3053
  policyengine_us/parameters/gov/usda/snap/income/deductions/child_support.yaml,sha256=83hYi6xVBycFGgB0D3WV_qyE3G5K-I5yM1kQWyi80Gk,2932
3054
3054
  policyengine_us/parameters/gov/usda/snap/income/deductions/earned_income.yaml,sha256=qpTvdH3qYrgp6DjuC01YD0QzTMuSHt7AQvmnJKcyjVY,289
3055
3055
  policyengine_us/parameters/gov/usda/snap/income/deductions/standard.yaml,sha256=9QdqctSzEKi_LSbZIMuWTu2MFrLIz_5HqEpJBK_6y8w,4877
@@ -5059,7 +5059,7 @@ policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_net_subs
5059
5059
  policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_paid_daily_subsidy.yaml,sha256=6bUsc4xFDAvT7cK1vNB1SSkermTd5gb-qECZHOcOsPk,138
5060
5060
  policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_tier.yaml,sha256=xCRm9JQd5H1VKTvaOWr6EM4v7SZg2HASoasjlTggYSg,833
5061
5061
  policyengine_us/tests/policy/baseline/gov/usda/snap/integration.yaml,sha256=-ypJgph27nJXFOMI7fRJQt1rQ8mQIw74DTpEtzC8ptI,4542
5062
- policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml,sha256=8CsJootLiJmI-rEiFW48qmwbjZnd40XZDDaQLbQm-BU,1341
5062
+ policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml,sha256=vkpnP2ePpEIv2SJZKtMMSC-XPVY8jgfP8RAbygI1LdE,3301
5063
5063
  policyengine_us/tests/policy/baseline/gov/usda/snap/snap_emergency_allotment.yaml,sha256=2psS38VMAU-_UdBmKwI6OtaMTiQ2gTuUSzT8aEhAY2U,1233
5064
5064
  policyengine_us/tests/policy/baseline/gov/usda/snap/snap_expected_contribution.yaml,sha256=UoJF9UxonhMco0w6ic5BK9eDzFJiop9W6KOeAM8K2uc,1868
5065
5065
  policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml,sha256=OLeZWfkZdpexuT3-tVO2dqGMGHsRbrpQqbZugKEJ6mI,1850
@@ -8397,8 +8397,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8397
8397
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8398
8398
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8399
8399
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8400
- policyengine_us-1.398.0.dist-info/METADATA,sha256=BlFC8-0Y6rzeR8wIiXMNyea7wqFzZ5qzmteFqTG9Yms,1649
8401
- policyengine_us-1.398.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8402
- policyengine_us-1.398.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8403
- policyengine_us-1.398.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8404
- policyengine_us-1.398.0.dist-info/RECORD,,
8400
+ policyengine_us-1.398.1.dist-info/METADATA,sha256=eOuhWMBL-iVq-hS7VbSeRcMTy1qcRIPvQo3cPQIaZ_w,1649
8401
+ policyengine_us-1.398.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8402
+ policyengine_us-1.398.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8403
+ policyengine_us-1.398.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8404
+ policyengine_us-1.398.1.dist-info/RECORD,,