Nominalise employee income for wage taxes#48
Open
agurgone wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
employee_incomeas net employee income in base-period unitsVerification
/Users/andone/Documents/python_projects/INET-consumption/.venv/bin/ruff check macromodel/agents/central_government/central_government.py macromodel/country/country.py tests/test_macromodel/unit/test_agents/test_central_government/test_central_government.py/Users/andone/Documents/python_projects/INET-consumption/.venv/bin/pytest tests/test_macromodel/unit/test_agents/test_central_government/test_central_government.py tests/test_macromodel/unit/test_country/test_country.py -qNotes
Confirmed on clean
mainthatemployee_incomeis refreshed by the wage setter before taxes, but the wage setter does not CPI-adjust it. Firms and individuals nominalise the same employee-income base with CPI; central-government wage taxes did not.Independent review then identified a second issue:
employee_incomeis net of employee-side labour taxes, while central-government tax revenue should be computed from the corresponding gross nominal wage base. This PR now applies both transformations in tax computation: base-period net employee income -> nominal net employee income -> nominal gross employee income.