Comments (6)
There was talk of making it boolean in #35.
from tax-calculator.
oh very helpful thanks. Is there any scenario in which we would run the code and _cmp
would be something other than 0? It appears to always be 0.
from tax-calculator.
@feenberg, what do you think?
from tax-calculator.
The references to _puf and _cmp should probably be replaced with tests
based on the presence or absence of the particular variable that the test
is protecting. That is, if the PUF doesn't include E12345, then instead of
if _puf then c12345=1000; else c12345=e12345;
we should use something like:
if e12345 ne . then c12345 = e12345; else c12345 = 1000;
I am making those changes in the SAS code and they should be
made in the AEI code also.
Note that _cmp == 1-_puf in the SAS code.
dan
On Wed, 12 Nov 2014, T.J. Alumbaugh wrote:
The variable _cmp is only involved in comparison expressions (i.e.
where(_cmp == 1...). It appears that it is never assigned to except when it
is created in puf.py, where it is set to all zeros. Does anyone have any
insight here? I'd like to remove it if it is not actually useful for any
comparisons.—
Reply to this email directly or view it on
GitHub.[AHvQVZRDp_xGeRnDkmXrYg-_4XMB_Z2Bks5nM3vPgaJpZM4C6LvH.gif]
from tax-calculator.
On Wed, 12 Nov 2014, T.J. Alumbaugh wrote:
oh very helpful thanks. Is there any scenario in which we would run the code
and _cmp would be something other than 0? It appears to always be 0.
When users take the code inside government, some of them will have the
complete file, however we shouldn't depend on _cmp to control program
flow.
Note that we will be testing the calculator on a file with all the
variables in the complete file, although the data will be random.
dan
—
Reply to this email directly or view it on
GitHub.[AHvQVUWswy5FHfBhuM5-KyrnIF3dee6Oks5nM35agaJpZM4C6LvH.gif]
from tax-calculator.
Closing in favor of #186.
from tax-calculator.
Related Issues (20)
- Adopt an OSI-approved open source license HOT 2
- Elderly and disabled credit values for widow(er)s HOT 4
- CTC multiple non-refundability limitations
- Allow negative values for the bonus credits for children under age 6
- How to interact AGI with SALT cap HOT 2
- Missing 2020-2022 policy parameter values HOT 1
- Incorrect 2020 UI exemption logic HOT 1
- Incorrect 2020 CG_brk2 policy parameter value HOT 1
- Incorrect 2021 RRC_pe policy parameter value HOT 1
- Incorrect 2020-21 EITC_ps and EITC_ps_MarriedJ policy parameter values HOT 1
- Ensure recipes run on Google Colab
- Parameterize IRS rounding rules for indexed parameter values HOT 4
- Incorrect 2021 *_brk5 and *_brk6 policy parameter values HOT 2
- Exempt the first $400 from self-employment tax HOT 1
- Incorrect 2021 Child and Dependent Tax Credit calculations
- Incorrect 2020 EITC calculation HOT 1
- Incorrect EITC amount for two kids in 2022 HOT 1
- Incorrect status-quo EITC calculations for 2022 HOT 2
- Introduce tax offset (employer side payroll) into Tax-Calc HOT 4
- Release Tax-Calculator 3.3.0 HOT 1
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.