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

Fix bugs in Calculator.reform_documentation function #1596

Merged
merged 1 commit into from
Oct 20, 2017
Merged

Fix bugs in Calculator.reform_documentation function #1596

merged 1 commit into from
Oct 20, 2017

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Oct 20, 2017

Fixes bugs when policy parameter is a boolean scalar (like the _EITC_indiv parameter).

These bugs were encountered when using tc in pull request #1595. Using in a reeform the new boolean scalar parameter introduced in #1595, _CTC_new_for_all, revealed the bugs and the less than complete unit test. The test was strengthened (so that it triggers the boolean scalar bugs) and then the code was fixed.

@codecov-io
Copy link

codecov-io commented Oct 20, 2017

Codecov Report

Merging #1596 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1596   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          37      37           
  Lines        2739    2743    +4     
======================================
+ Hits         2739    2743    +4
Impacted Files Coverage Δ
taxcalc/calculate.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef9ae1b...16ed19c. Read the comment docs.

@martinholmer martinholmer merged commit b6dc5d3 into PSLmodels:master Oct 20, 2017
@martinholmer martinholmer deleted the fix-param-doc branch October 20, 2017 18: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.

2 participants