Commit d57b33e
Rename OH TANF to OH OWF and add initial eligibility test
**Major Refactoring:**
- Rename all folders, files, variables, and tests from TANF to OWF (Ohio Works First)
- Update all parameter paths: .tanf. → .owf.
- Update all labels: "Ohio TANF" → "Ohio OWF"
**Parameter Improvements (per plugin rules):**
- Split earned_income_disregard.yaml into separate files:
- income/deductions/earned_income_disregard/flat_amount.yaml ($250)
- income/deductions/earned_income_disregard/percent_of_remainder.yaml (0.5)
- Add metadata (unit, period, label) to ALL parameters
- Delete max_size_in_table.yaml (hard-code 8 in formula)
- Delete minimum_benefit.yaml (simplified implementation)
**New Feature - Initial Eligibility Test:**
- Created oh_owf_initial_income_eligible.py variable
- Created initial_eligibility/income_limit_percent.yaml (0.5 = 50% FPL)
- Uses tanf_fpg to check gross income < 50% of current year FPL
- Updated oh_owf_income_eligible.py to apply both tests:
- New applicants: initial (50% FPL) AND ongoing (countable < payment std)
- Enrolled recipients: only ongoing test
**Bug Fixes:**
- Fixed federal TANF parameter typo: employment_income_before_lrs → employment_income_before_lsr
- Updated all tests to use employment_income_before_lsr
- Added is_tanf_enrolled to all tests (true for enrolled, false for new applicants)
**Test Updates:**
- Added 2 new test cases for new applicants (is_tanf_enrolled: false)
- Updated 1 test expectation (removed minimum benefit threshold)
- All tests use proper inline YAML format: members: [parent, child]
**Results:**
- All 65 tests passing (63 original + 2 new)
- Zero hard-coded values (except max table size = 8)
- Complete metadata on all parameters
- Proper federal/state separation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 78f646b commit d57b33e
File tree
23 files changed
+338
-254
lines changed- policyengine_us
- parameters/gov
- hhs/tanf/cash/income/sources
- states/oh/odjfs
- owf
- income/deductions/earned_income_disregard
- initial_eligibility
- payment_standard
- tanf
- income/deductions
- payment_standard
- tests/policy/baseline/gov/states/oh/odjfs/owf
- variables/gov/states/oh/odjfs
- owf
- eligibility
- income
- tanf/eligibility
23 files changed
+338
-254
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
policyengine_us/parameters/gov/states/oh/odjfs/tanf/income/deductions/earned_income_disregard.yaml
Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
This file was deleted.
0 commit comments