Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 7 bankruptcy means test #5323

Draft
wants to merge 43 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
334145a
Chapter 7 bankruptcy means test
hua7450 Nov 12, 2024
c6e4343
add parameters
hua7450 Nov 18, 2024
f17b3a8
upstream master
hua7450 Nov 18, 2024
497b3ad
Chapter 7 bankruptcy means test
hua7450 Nov 19, 2024
88eb9cd
minor
hua7450 Nov 19, 2024
3f0973f
draft
hua7450 Nov 21, 2024
3b7ec64
Chapter 7 bankruptcy means test
hua7450 Nov 25, 2024
52ca648
minor
hua7450 Nov 25, 2024
877ec8c
draft
hua7450 Dec 3, 2024
2aebdef
upstream master
hua7450 Dec 3, 2024
be7f70b
adjust description, add formula
hua7450 Dec 4, 2024
9c2dbdf
format
hua7450 Dec 4, 2024
fefb69d
undo some formattings
hua7450 Dec 4, 2024
6c19cef
minor change
hua7450 Dec 5, 2024
58aed6a
upstream master
hua7450 Dec 5, 2024
02713d7
add test cases
hua7450 Dec 5, 2024
4ce7947
move county and region folder to houshold/demo/geo
hua7450 Dec 6, 2024
699bcb3
move folder, add formula, parameters, and tests
hua7450 Dec 9, 2024
0c34830
upstream master
hua7450 Dec 9, 2024
437dce8
fix regions formula and add test cases
hua7450 Dec 9, 2024
bef0e8f
adjustment on parameters
hua7450 Dec 12, 2024
2c52eec
fix the error of county_region. make format
hua7450 Dec 19, 2024
d42c1cc
upstream master
hua7450 Dec 19, 2024
ba25732
add test files
hua7450 Dec 20, 2024
bd36b43
add test cases and fix formula
hua7450 Dec 27, 2024
6334972
upstream master
hua7450 Dec 27, 2024
97b36d6
minor change
hua7450 Dec 27, 2024
0e0d1eb
minor
hua7450 Dec 27, 2024
24f940b
format
hua7450 Dec 28, 2024
95da2f2
make format
hua7450 Dec 28, 2024
b5f0947
upstream master
hua7450 Dec 28, 2024
df612b9
apply clip() function
hua7450 Dec 28, 2024
22e3c5a
try to fix error with clip(size,1,6)
hua7450 Jan 6, 2025
2a7b0b6
upstream master
hua7450 Jan 6, 2025
1704818
minor change on vehicle operation expenses
hua7450 Jan 6, 2025
8fdd7fe
minor
hua7450 Jan 6, 2025
01da907
upstream master
hua7450 Jan 6, 2025
796cf51
minor change on local standards deductions
hua7450 Jan 6, 2025
75f1a34
minor
hua7450 Jan 7, 2025
69fb730
minor
hua7450 Jan 7, 2025
4dfbc74
adejustment on formula and labels
hua7450 Jan 13, 2025
e45d39f
upstream master
hua7450 Jan 13, 2025
c6e084d
add integration test
hua7450 Jan 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
added:
- Chapter 7 bankruptcy means test.
1 change: 1 addition & 0 deletions policyengine_us/parameters/gov/bankruptcy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Chapter 7 Bankruptcy Means Test
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
description: The Chapter 7 bankruptcy means test limits the expense of insurance and operating by the local standards to this amount, based on household size.
values:
AL:
1:
2024-01-01: 594
2:
2024-01-01: 698
3:
2024-01-01: 736
4:
2024-01-01: 820
5:
2024-01-01: 834
AL:
1:
2024-01-01: 705
2:
2024-01-01: 828
3:
2024-01-01: 872
4:
2024-01-01: 973
5:
2024-01-01: 988
AZ:
1:
2024-01-01: 547
2:
2024-01-01: 642
3:
2024-01-01: 676
4:
2024-01-01: 754
5:
2024-01-01: 766
AR:
1:
2024-01-01: 563
2:
2024-01-01: 661
3:
2024-01-01: 696
4:
2024-01-01: 776
5:
2024-01-01: 789
CA:
1:
2024-01-01: 579
2:
2024-01-01: 680
3:
2024-01-01: 716
4:
2024-01-01: 799
5:
2024-01-01: 812
CO:
1:
2024-01-01: 560
2:
2024-01-01: 658
3:
2024-01-01: 693
4:
2024-01-01: 773
5:
2024-01-01: 785
CT:
1:
2024-01-01: 627
2:
2024-01-01: 736
3:
2024-01-01: 775
4:
2024-01-01: 864
5:
2024-01-01: 878
DE:
1:
2024-01-01: 586
2:
2024-01-01: 688
3:
2024-01-01: 725
4:
2024-01-01: 809
5:
2024-01-01: 822
DC:
1:
2024-01-01: 638
2:
2024-01-01: 749
3:
2024-01-01: 789
4:
2024-01-01: 880
5:
2024-01-01: 894
FL:
1:
2024-01-01: 549
2:
2024-01-01: 645
3:
2024-01-01: 680
4:
2024-01-01: 758
5:
2024-01-01: 770
GA:
1:
2024-01-01: 578
2:
2024-01-01: 679
3:
2024-01-01: 716
4:
2024-01-01: 798
5:
2024-01-01: 811
HI:
1:
2024-01-01: 602
2:
2024-01-01: 706
3:
2024-01-01: 744
4:
2024-01-01: 830
5:
2024-01-01: 843
metadata:
unit: currency-USD
period: year
label: Local standards of insurance and operating expense
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
breakdown:
- state_code
- list(range(1,6))
reference:
# We use average state level values while the amount can vary based on county
- title: Local standards -- Housing and Utilities and Transportation
href: https://www.justice.gov/ust/means-testing/20221101
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
description: The Chapter 7 bankruptcy means test limits the expense of mortgage or rent by the local standards to this amount, based on household size.
values:
AL:
1:
2024-01-01: 677
2:
2024-01-01: 796
3:
2024-01-01: 838
4:
2024-01-01: 935
5:
2024-01-01: 950
AL:
1:
2024-01-01: 1_049
2:
2024-01-01: 1_232
3:
2024-01-01: 1_298
4:
2024-01-01: 1_448
5:
2024-01-01: 1_471
AZ:
1:
2024-01-01: 840
2:
2024-01-01: 987
3:
2024-01-01: 1_040
4:
2024-01-01: 1_160
5:
2024-01-01: 1_178
AR:
1:
2024-01-01: 614
2:
2024-01-01: 721
3:
2024-01-01: 759
4:
2024-01-01: 847
5:
2024-01-01: 860
CA:
1:
2024-01-01: 1_558
2:
2024-01-01: 1_830
3:
2024-01-01: 1_928
4:
2024-01-01: 2_150
5:
2024-01-01: 2_184
CO:
1:
2024-01-01: 1_063
2:
2024-01-01: 1_248
3:
2024-01-01: 1_315
4:
2024-01-01: 1_466
5:
2024-01-01: 1_490
CT:
1:
2024-01-01: 1_507
2:
2024-01-01: 1_770
3:
2024-01-01: 1_865
4:
2024-01-01: 2_080
5:
2024-01-01: 2_114
DE:
1:
2024-01-01: 1_107
2:
2024-01-01: 1_301
3:
2024-01-01: 1_371
4:
2024-01-01: 1_528
5:
2024-01-01: 1_553
DC:
1:
2024-01-01: 1_958
2:
2024-01-01: 2_300
3:
2024-01-01: 2_424
4:
2024-01-01: 2_702
5:
2024-01-01: 2_746
FL:
1:
2024-01-01: 935
2:
2024-01-01: 1_098
3:
2024-01-01: 1_157
4:
2024-01-01: 1_290
5:
2024-01-01: 1_311
GA:
1:
2024-01-01: 790
2:
2024-01-01: 928
3:
2024-01-01: 978
4:
2024-01-01: 1_090
5:
2024-01-01: 1_108
HI:
1:
2024-01-01: 1_733
2:
2024-01-01: 2_036
3:
2024-01-01: 2_145
4:
2024-01-01: 2_392
5:
2024-01-01: 2_431
metadata:
unit: currency-USD
period: year
label: Local standards of mortgage or rent expense
breakdown:
- state_code
- list(range(1,6))
reference:
# We use average state level values while the amount can vary based on county
- title: Local standards -- Housing and Utilities and Transportation
href: https://www.justice.gov/ust/means-testing/20221101
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
description: The following counties belongs to Chicago area by Metropolitan Statistical Area definitions.
hua7450 marked this conversation as resolved.
Show resolved Hide resolved

metadata:
unit: list
period: year
label: IRS Metropolitan Statistical Area Chicago area counties
reference:
- title: Internal Revenue Service, Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- COOK_COUNTY_IL
- DEKALB_COUNTY_IL
- DUPAGE_COUNTY_IL
- GRUNDY_COUNTY_IL
- KANE_COUNTY_IL
- KENDALL_COUNTY_IL
- LAKE_COUNTY_IL
- MCHENRY_COUNTY_IL
- WILL_COUNTY_IL
- JASPER_COUNTY_IN
- LAKE_COUNTY_IN
- NEWTON_COUNTY_IN
- PORTER_COUNTY_IN
- KENOSHA_COUNTY_WI

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
description: The following counties belongs to Cleveland area by Metropolitan Statistical Area definitions.

metadata:
unit: list
period: year
label: IRS Metropolitan Statistical Area Cleveland area counties
reference:
- title: Internal Revenue Service, Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- ASHTABULA_COUNTY_OH
- CUYAHOGA_COUNTY_OH
- GEAUGA_COUNTY_OH
- LAKE_COUNTY_OH
- LORAIN_COUNTY_OH
- MEDINA_COUNTY_OH
- PORTAGE_COUNTY_OH
- SUMMIT_COUNTY_OH


Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: The following counties belongs to Detroit area by Metropolitan Statistical Area definitions.

metadata:
unit: list
period: year
label: IRS Metropolitan Statistical Area Detroit area counties
reference:
- title: Internal Revenue Service, Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- LAPEER_COUNTY_MI
- LIVINGSTON_COUNTY_MI
- MACOMB_COUNTY_MI
- OAKLAND_COUNTY_MI
- ST_CLAIR_COUNTY_MI
- WAYNE_COUNTY_MI

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description: The following counties belongs to Minneapolis-St.Paul area by Metropolitan Statistical Area definitions.

metadata:
unit: list
period: year
label: IRS Metropolitan Statistical Area Minneapolis-St.Paul area counties
reference:
- title: Internal Revenue Service, Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- ANOKA_COUNTY_MN
- CARVER_COUNTY_MN
- CHISAGO_COUNTY_MN
- DAKOTA_COUNTY_MN
- HENNEPIN_COUNTY_MN
- ISANTI_COUNTY_MN
- LESUEUR_COUNTY_MN
- MILLE_LACS_COUNTY_MN
- RAMSEY_COUNTY_MN
- SCOTT_COUNTY_MN
- SHERBURNE_COUNTY_MN
- SIBLEY_COUNTY_MN
- WASHINGTON_COUNTY_MN
- WRIGHT_COUNTY_MN
- PIERCE_COUNTY_WI
- ST_CROIX_WI
Loading
Loading