Skip to content

Clip negative earnings in labor supply responses#1565

Merged
MaxGhenis merged 2 commits intomainfrom
codex/fix-1135
Apr 7, 2026
Merged

Clip negative earnings in labor supply responses#1565
MaxGhenis merged 2 commits intomainfrom
codex/fix-1135

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

Summary\n- clip negative baseline employment income to zero before applying labor supply elasticities\n- add direct regression tests for income and substitution elasticity formulas\n- add a changelog entry\n\nCloses #1135.\n\n## Testing\n- python3 -m pytest -q policyengine_uk/tests/test_labor_supply_response_formulas.py\n- uvx ruff check policyengine_uk/tests/test_labor_supply_response_formulas.py

@MaxGhenis MaxGhenis merged commit 8785dc7 into main Apr 7, 2026
2 checks passed
@MaxGhenis MaxGhenis deleted the codex/fix-1135 branch April 7, 2026 15:17
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