Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace use of two cmbtp_* variables with a single cmbtp variable #1077

Merged
merged 2 commits into from
Nov 22, 2016
Merged

Replace use of two cmbtp_* variables with a single cmbtp variable #1077

merged 2 commits into from
Nov 22, 2016

Conversation

martinholmer
Copy link
Collaborator

This pull request implements the solution suggested by Dan @feenberg to a problem discussed in issue #1073. The slightly updated test results that are included in this pull request are generated using the new puf.csv file generated by taxdata pull request 48. After merging this pull request into master, Tax-Calculator will continue to execute without error, but the requires_pufcsv unit tests will fail and the reform comparison tests will fail. After updating to the new puf.csv file generated by taxdata pull request 48, all these test failures should be eliminated.

@MattHJensen @Amy-Xu @andersonfrailey

@codecov-io
Copy link

codecov-io commented Nov 21, 2016

Current coverage is 98.76% (diff: 100%)

Merging #1077 into master will decrease coverage by <.01%

@@             master      #1077   diff @@
==========================================
  Files            38         38          
  Lines          2762       2761     -1   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           2728       2727     -1   
  Misses           34         34          
  Partials          0          0          

Powered by Codecov. Last update 85ea71f...c9e3e20

@martinholmer martinholmer changed the title Replace use of two cmbtp_* variables with a single cmbpt variable Replace use of two cmbtp_* variables with a single cmbtp variable Nov 21, 2016
@martinholmer
Copy link
Collaborator Author

Are there any concerns with Tax-Calculator pull request #1077?

If not, I'll merge this pull request now that @Amy-Xu has merged taxdata pull request 48 and @andersonfrailey has made available to the OSPC team the new puf.csv file generated by the current taxdata master branch.

@MattHJensen @feenberg @talumbau @GoFroggyRun @codykallen

@MattHJensen
Copy link
Contributor

@martinholmer, I'm taking a look now.

@MattHJensen
Copy link
Contributor

@martinholmer, is this a fair characterization of the baseline changes?

The entire difference in baseline results between this PR and master is due to the fact that in master we were incorrectly imputing AMT preference items (CMBTP) based on the tax unit's itemization decision in the current year rather than based on the tax unit's itemization decision in the data's base year. Correcting this resulted in new CMBTP values for those some tax units whose filing status changed between base year and current year.

If so, then I understand everything and am +1

@martinholmer
Copy link
Collaborator Author

@MattHJensen wondered if the following was true:

The entire difference in baseline results between this PR and master is due to the fact that in master we were incorrectly imputing AMT preference items (CMBTP) based on the tax unit's itemization decision in the current year rather than based on the tax unit's itemization decision in the data's base year. Correcting this resulted in new CMBTP values for those some tax units whose filing status changed between base year and current year.

Yes, that seems to be correct. I was expecting no change in results under current law but there are actually some very small changes. For example, 2020 income tax liabilities rise about $0.6 billion, which is an increase of less the 0.04 percent. I assume that the difference in itemizer status in 2009 and in subsequent years is caused by different blowup rates for cmbtp and a few other itemized expense items.

@feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen

@MattHJensen
Copy link
Contributor

MattHJensen commented Nov 22, 2016

I assume that the difference in itemizer status in 2009 and in subsequent years is caused by different blowup rates for cmbtp and a few other itemized expense items.

The difference in itemizer status in 2009 and in subsequent years could also be caused by differences in the tax schedule due to unequal indexing of tax law parameters and reforms that have been enacted since 2009.

I'm +1 on this PR. Thanks @martinholmer.

@martinholmer
Copy link
Collaborator Author

@MattHJensen said:

The difference in itemizer status in 2009 and in subsequent years could also be caused by differences in the tax schedule due to unequal indexing of tax law parameters and reforms that have been enacted since 2009.

Yes, I guess you are right about that. I'll merge pull request #1077 on Tuesday.

@feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen

@martinholmer
Copy link
Collaborator Author

Having heard no concerns about pull request #1077, it is being merged into the master branch.
Now the master branch is expecting the 21-Nov-2016 puf.csv file distributed by @andersonfrailey to the OSPC team. The master branch code will "work" with earlier versions of the puf.csv file, but several tests will fail.

@MattHJensen @feenberg @talumbau @Amy-Xu @GoFroggyRun @codykallen

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.

4 participants