Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Summary

Changes

  • Added EI benefit parameters (rate, maximum weekly benefit, minimum hours)
  • Implemented eligibility based on minimum 420 insurable hours
  • Calculate weekly benefit as 55% of average insurable earnings
  • Cap benefits at maximum weekly amount ( for 2024, for 2025)
  • Simplified annual benefit to 26 weeks (midpoint of typical 14-45 week range)

Test Coverage

  • Basic benefit calculations at various income levels
  • Maximum benefit scenarios
  • Ineligibility cases (below minimum hours, no income)
  • Multi-year test cases (2024 and 2025)

References

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits August 24, 2025 16:07
- Add EI benefit rate and maximum weekly benefit parameters for 2020-2025
- Implement EI eligibility based on minimum hours requirement (420 hours)
- Calculate weekly benefit as 55% of average insurable earnings, capped at maximum
- Simplify annual benefit to 26 weeks (midpoint of 14-45 week range)
- Add comprehensive test coverage for various income scenarios

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add maximum_insurable_earnings parameter with official values
- Use direct parameter reference instead of indirect calculation
- Add ei_benefit to household benefits aggregation
- Fix test expected value for 2025 maximum scenario

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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