Skip to content

Add Washington Paid Family and Medical Leave (WA PFML)#8138

Open
daphnehanse11 wants to merge 7 commits intoPolicyEngine:mainfrom
daphnehanse11:issue-8136-wa-pfml
Open

Add Washington Paid Family and Medical Leave (WA PFML)#8138
daphnehanse11 wants to merge 7 commits intoPolicyEngine:mainfrom
daphnehanse11:issue-8136-wa-pfml

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

@daphnehanse11 daphnehanse11 commented Apr 22, 2026

Closes #8136

Summary

Adds a Washington Paid Family and Medical Leave eligibility and maximum benefit calculator.

Given a Washington worker's earnings history and a selected leave scenario, the model returns:

  • wa_pfml_eligible
  • wa_pfml_weekly_benefit_amount
  • wa_pfml_max_leave_weeks
  • wa_pfml

wa_pfml is modeled as a maximum annual benefit estimate:
wa_pfml_weekly_benefit_amount × wa_pfml_max_leave_weeks

This PR does not model claimed leave or paid household income, so wa_pfml is not added to household_state_benefits.

Inputs

Core inputs:

  • state_code
  • weekly_hours_worked
  • employment_income
  • wa_pfml_leave_type

Supported leave types:

  • FAMILY
  • MEDICAL
  • COMBINED
  • MEDICAL_WITH_PREGNANCY_INCAPACITY
  • COMBINED_WITH_PREGNANCY_INCAPACITY
  • NONE

Optional accuracy overrides:

  • wa_pfml_qualifying_period_hours_worked
  • wa_pfml_average_weekly_wage_override

Statutory rules modeled

Eligibility — RCW 50A.15.010

  • 820-hour qualifying-period threshold

Weekly benefit — RCW 50A.15.020(5)-(6)

  • 90% replacement below 50% of SAWW
  • 90% of the first 50% of SAWW plus 50% above that threshold
  • minimum $100/week, or AWW if AWW < $100
  • maximum 90% of SAWW
  • AWW and benefit rounded down to the next lower dollar

Duration — RCW 50A.15.020(3)

  • family leave: 12 weeks
  • medical leave: 12 weeks
  • combined leave: 16 weeks
  • medical leave with pregnancy incapacity: 14 weeks
  • combined leave with pregnancy incapacity: 18 weeks

Program values use Washington's published SAWW and maximum weekly benefit amounts through 2026.

Current simplifications

  • If wa_pfml_qualifying_period_hours_worked is not provided, eligibility uses the proxy weekly_hours_worked * 52.
  • If wa_pfml_average_weekly_wage_override is not provided, average weekly wage uses the proxy floor(employment_income / 52).
  • The model estimates maximum leave and benefit for a selected leave type; it does not infer whether a factual life event qualifies as family vs. medical leave.

Tests

Adds WA PFML coverage for:

  • weekly benefit calculation
  • eligibility
  • maximum leave weeks
  • integrated maximum annual benefit

30 WA PFML YAML tests pass locally.

daphnehanse11 and others added 3 commits April 22, 2026 14:38
Starting implementation of Washington Paid Family and Medical Leave (WA PFML).
Documentation and parallel development will follow.
Implements the wage replacement benefit side of WA PFML (RCW 50A).
The contribution side was already in the codebase; this adds:
- Two-tier benefit formula (90%/50% wage replacement per RCW 50A.15.020(5))
- SAWW and max weekly benefit parameters for 2020-2026
- 820-hour eligibility threshold (RCW 50A.15.010)
- Duration parameters (12 family, 12 medical, 16 combined weeks)
- 14 passing unit and integration tests

Closes PolicyEngine#8136

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@daphnehanse11 daphnehanse11 marked this pull request as ready for review April 23, 2026 17:44
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (20705b0) to head (1212555).
⚠️ Report is 34 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##             main     #8138       +/-   ##
============================================
+ Coverage   85.36%   100.00%   +14.63%     
============================================
  Files           3         8        +5     
  Lines          41       116       +75     
  Branches        2         0        -2     
============================================
+ Hits           35       116       +81     
+ Misses          6         0        -6     
Flag Coverage Δ
unittests 100.00% <100.00%> (+14.63%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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.

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.

Washington Paid Family and Medical Leave (WA PFML)

2 participants