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 32 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
32 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
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.
# The excle sheets have the values for all counties, the follwoing values are the average value based on state level.
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
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:
- title: Local standards -- Housing and Utilities and Transportation
href: https://www.justice.gov/ust/means-testing/20221101
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
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.
# The excle sheets have the values for all counties, the follwoing values are the average value based on state level.
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:
- 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,18 @@
description: The following counties belongs to Boston area by Metropolitan Statistical Area definitions.

metadata:
unit: list
period: year
label: Boston area counties by MSA definitions
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
reference:
- title: Local standards -- Transportation
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- ESSEXE_COUNTY_MA
- MIDDLESEX_COUNTY_MA
- NORFOLK_COUNTY_MA
- PLYMOUTH_COUNTY_MA
- SUFFOLK_COUNTY_MA
- ROCKINGHAM_COUNTY_NH
- STRAFFORD_COUNTY_NH
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
description: The following counties belongs to Philadelphia area by Metropolitan Statistical Area definitions.

metadata:
unit: list
period: year
label: Philadelphia area counties by MSA definitions
reference:
- title: Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
values:
2024-01-01:
- BUCKS_COUNTY_PA
- CHESTER_COUNTY_PA
- DELAWARE_COUNTY_PA
- MONTGOMERY_COUNTY_PA
- PHILADELPHIA_COUNTY_PA
- BURLINGTON_COUNTY_NJ
- CAMDEN_COUNTY_NJ
- GLOUCESTER_COUNTY_NJ
- SALEM_COUNTY_NJ
- NEW_CASTLE_COUNTY_DE
- CECIL_COUNTY_MD

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: The Chapter 7 bankruptcy means test limits the ownership costs by the local standards to this amount, based on the number of owned vehicle.

values:
1:
2024-01-01: 619
2:
2024-01-01: 1_238

metadata:
unit: currency-USD
period: year
label: Local standards of ownership costs
breakdown:
- list(range(1,3))
reference:
- title: Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: The Chapter 7 bankruptcy means test limits the expense of public transportation by the local standards to this amount.

values:
2024-01-01: 215

metadata:
unit: currency-USD
period: year
label: Local standards of public transportation amount
reference:
- title: Local standards -- Transportation
href: https://www.irs.gov/businesses/small-businesses-self-employed/local-standards-transportation
Loading
Loading