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

CLN: Replace #5779 #5781

Merged
merged 4 commits into from
May 25, 2019
Merged

CLN: Replace #5779 #5781

merged 4 commits into from
May 25, 2019

Conversation

jbrockmendel
Copy link
Contributor

@ChadFulton the bare minimum to get linter to pass on statespace/tests. There were a few places where changing assert_raises to pytest.raises was the best way to fix a linting complaint, but I didn't make that change in any other places, so the usage is still plenty mixed.

@codecov
Copy link

codecov bot commented May 24, 2019

Codecov Report

Merging #5781 into master will increase coverage by <.01%.
The diff coverage is 99.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5781      +/-   ##
==========================================
+ Coverage    82.4%   82.41%   +<.01%     
==========================================
  Files         594      594              
  Lines       93748    93794      +46     
  Branches    10357    10352       -5     
==========================================
+ Hits        77250    77296      +46     
+ Misses      14100    14099       -1     
- Partials     2398     2399       +1
Impacted Files Coverage Δ
statsmodels/tsa/statespace/tests/test_kalman.py 95.36% <ø> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_save.py 97.82% <0%> (ø) ⬆️
...models/tsa/statespace/tests/test_representation.py 99.32% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_pickle.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_options.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_sarimax.py 100% <100%> (ø) ⬆️
...a/statespace/tests/test_exact_diffuse_filtering.py 98.16% <100%> (+0.01%) ⬆️
...models/tsa/statespace/tests/test_dynamic_factor.py 97.7% <100%> (+0.05%) ⬆️
...tsmodels/tsa/statespace/tests/test_concentrated.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_collapsed.py 96.55% <100%> (+0.01%) ⬆️
... and 2 more

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 a33424e...388d1d4. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 24, 2019

Codecov Report

Merging #5781 into master will increase coverage by <.01%.
The diff coverage is 99.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5781      +/-   ##
==========================================
+ Coverage    82.4%   82.41%   +<.01%     
==========================================
  Files         594      594              
  Lines       93748    93794      +46     
  Branches    10357    10352       -5     
==========================================
+ Hits        77250    77296      +46     
+ Misses      14100    14099       -1     
- Partials     2398     2399       +1
Impacted Files Coverage Δ
statsmodels/tsa/statespace/tests/test_kalman.py 95.36% <ø> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_save.py 97.82% <0%> (ø) ⬆️
...models/tsa/statespace/tests/test_representation.py 99.32% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_pickle.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_options.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_sarimax.py 100% <100%> (ø) ⬆️
...a/statespace/tests/test_exact_diffuse_filtering.py 98.16% <100%> (+0.01%) ⬆️
...models/tsa/statespace/tests/test_dynamic_factor.py 97.7% <100%> (+0.05%) ⬆️
...tsmodels/tsa/statespace/tests/test_concentrated.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_collapsed.py 96.55% <100%> (+0.01%) ⬆️
... and 2 more

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 a33424e...388d1d4. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 84.942% when pulling 388d1d4 on jbrockmendel:stests into a33424e on statsmodels:master.

@bashtage
Copy link
Member

Random fail. Just merged patch to protect against this

@@ -266,7 +277,7 @@ def partial_transform_sigma2(sigma2):
approx_fd_centered = (
mod.score(uparams, transformed=False, approx_complex_step=False,
approx_centered=True))
assert_allclose(approx_fd, analytic_score, atol=1e-5)
assert_allclose(approx_fd_centered, analytic_score, atol=1e-5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@ChadFulton ChadFulton merged commit 17ac842 into statsmodels:master May 25, 2019
@ChadFulton
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants