Comments (4)
To create an offset function (probably in calculator.py; the logic is to change the wage variable 'e00200' in input variable when there is reform including the employer side payroll tax parameter) I may need to add more tool functions:
- add policy parameters of employer side and employee side payroll tax rate
- add a function, as an update of the records, to write the changed value to input record class (probably in records.py)
@jdebacker any suggestions for this process?
from tax-calculator.
@bodiyang I would do this in two PRs.
Do (1) in the first PR, just creating new parameters and making sure that all tests still pass (results should be the same, you are just splitting the current "combined" variables.
Then, between (1) and (2), you may want to do an intermediate step, which is creating/modifying functions for the _payroll
and _combined
variables to allow one to get values for the employer and employee sides separately. I'm not 100% sure this is the way to go, but depending how you implement (2), it may be helpful.
from tax-calculator.
Another thought - after step (1), you can consider implementing (2) via the Behavioral Responses package. That package may already have functions that you can leverage for updating records, etc.
from tax-calculator.
Issue #2665 has been resolved by the merge of pull request #2753.
from tax-calculator.
Related Issues (20)
- Payroll tax validation HOT 7
- credits for child tax & other dependents tax calculation of the year 2021 HOT 18
- other dependent credit missing from iitax HOT 6
- Add `openpyxl` to environment file HOT 1
- Question about local test error message HOT 5
- Create new 3.5.0 release HOT 2
- Are root permissions needed in Linux? HOT 3
- Add `paramtools` to `setup.py` HOT 1
- Codecov token still missing HOT 1
- Still have Codecov token problem
- TCJA extension reform HOT 9
- Phase-out Standard Deduction HOT 1
- Remove TAXSIM-27 validation? HOT 1
- tc cli apparently will not process years after 2034 HOT 1
- Fix CDCC phase-out logic
- Correct CARES charity deduction for nonitemizers HOT 1
- Four incorrect PT_rt? policy parameter values for 2020
- Issues with `write_decile_table()` HOT 2
- The domestic production deduction repeal in TCJA should be permanent HOT 3
- Add `pyproject.toml` file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tax-calculator.