-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
60 additions
and
13 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
policyengine_us/parameters/gov/bankruptcy/dependent_expense.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,13 @@ | ||
description: The IRS limits the expense of dependent children education to this amount to each child under the chapter 7 bankruptcy means test. | ||
|
||
values: | ||
2024-01-01: 2275 | ||
|
||
metadata: | ||
unit: currency-USD | ||
period: year | ||
label: Dependent children education expense per child | ||
reference: | ||
# The number, $189.58,comes from line 28 of the form, multiply by 12 and get the annual amount. | ||
- title: Official Form 122A-2 Chapter 7 Means Test Calculation | ||
href: https://www.cacb.uscourts.gov/sites/cacb/files/documents/forms/122A2.pdf#page=6 |
Empty file.
20 changes: 20 additions & 0 deletions
20
policyengine_us/tests/policy/baseline/gov/bankruptcy/region/is_west_region.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,20 @@ | ||
- name: New Mexico is in west region. | ||
period: 2024 | ||
input: | ||
state_code_str: NM | ||
output: | ||
is_west_region: true | ||
|
||
- name: California is in west region. | ||
period: 2024 | ||
input: | ||
state_code_str: CA | ||
output: | ||
is_west_region: true | ||
|
||
- name: Massachusetts is not in west region. | ||
period: 2024 | ||
input: | ||
state_code_str: MA | ||
output: | ||
is_west_region: false |
Empty file.
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
11 changes: 11 additions & 0 deletions
11
policyengine_us/variables/household/demographic/person/is_vehicle_loaned.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,11 @@ | ||
from policyengine_us.model_api import * | ||
|
||
|
||
class is_vehicle_loaned(Variable): | ||
value_type = bool | ||
entity = Person | ||
label = "Is the vehicel loaned or leased" | ||
definition_period = YEAR | ||
|
||
def formula(person, period, parameters): | ||
return person("vehicle_mortgage_expense",period) > 0 |