Skip to content

Apply Alaska ATAP disregards using individual earnings and receipt history - #11367

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
ak-atap-earned-income-disregard-tiers
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
ak-atap-earned-income-disregard-tiers

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

What and why

Apply Alaska ATAP’s earned income disregard schedule from the verified December 31, 2013 plan date. The flat deduction is $150. The percentage of remaining earnings falls from 33% to 25% in the 13th qualifying earnings month and reaches 0% after 60 qualifying months. Alaska TANF State Plan, §12.2, pp. 18–19 · 7 AAC 45.480(b)–(d)

The model uses Alaska receipt during the preceding four months to decide which individuals qualify for the work incentive. It uses historical state, receipt, earnings, and reported case status to count qualifying months. A supplied case-record count can set the tier. Legacy inputs without any history still use current enrollment as an estimate. Alaska Temporary Assistance Program

The gross-income case adds monthly wages and unemployment compensation before applying deductions. 7 AAC 45.470(b)

The 13th-month YAML case asserts countable income. The grant calculation at ak_atap.py:46 returns $611.23. The companion grant change would round it down to $611. 7 AAC 45.525(d)

PR #10639 changes the separate ATAP resource-limit comparison. PR #11229 changes heating assistance ZIP code and borough fallbacks. Both touch files outside this patch.

Test plan

January 2026 case Output Comparison base (50756f2) Branch
Continuing recipient in the 13th earnings month Countable earned income per person [$435.50, $0] [$487.50, $0]
Continuing recipient in the 13th earnings month Countable income $435.50 $487.50
Continuing recipient in the 13th earnings month Grant before whole-dollar rounding $633.61 $611.23
Continuing recipient with wages and unemployment compensation Gross income $1,000.00 $1,000.00
Continuing recipient with wages and unemployment compensation Countable earned income $435.50 $435.50
Continuing recipient with wages and unemployment compensation Countable unearned income $200.00 $200.00
Continuing recipient with wages and unemployment compensation Countable income $635.50 $635.50
  • Source-based YAML cases with hand calculations in ak_atap_countable_earned_income_person.yaml:126 and integration.yaml:328.
  • Household tests cover the individual four-month receipt window, qualifying months without payment, exclusions, other-state TANF, all tier boundaries, January 2020, and December 2025.
  • All 240 cases across 12 household YAML files passed on both the patch and the pinned-main merge. The receipt-history API regression and all 251 source-conflict checks passed.
  • make format passed.
  • Changelog fragment included.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 30, 2026 18:59
Use prior monthly TANF enrollment and earnings to select the rate under 7 AAC 45.480. Default to the first tier when monthly history is absent.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.87629% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.29%. Comparing base (8999568) to head (5831898).
⚠️ Report is 410 commits behind head on main.

Files with missing lines Patch % Lines
...e/earned/ak_atap_countable_earned_income_person.py 91.66% 1 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11367      +/-   ##
===========================================
- Coverage   100.00%   96.29%   -3.71%     
===========================================
  Files            1        5       +4     
  Lines           24      108      +84     
  Branches         0        8       +8     
===========================================
+ Hits            24      104      +80     
- Misses           0        1       +1     
- Partials         0        3       +3     
Flag Coverage Δ
unittests 96.29% <95.87%> (-3.71%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

MaxGhenis and others added 2 commits December 1, 2026 05:52
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Apply Alaska ATAP earned income disregard tiers Apply Alaska ATAP disregards using individual earnings and receipt history Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant