Skip to content

Conversation

@hyosubkim
Copy link
Contributor

What is this PR about?
Added close-figs context and edited parameter descriptions.

Checklist

Major / Breaking Changes

  • ...

Bugfixes / New features

  • ...

Docs / Maintenance

  • ...

@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Merging #6288 (b5d1bf9) into main (d4b5aa8) will increase coverage by 0.99%.
The diff coverage is n/a.

❗ Current head b5d1bf9 differs from pull request most recent head 8710c10. Consider uploading reports for the commit 8710c10 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6288      +/-   ##
==========================================
+ Coverage   93.30%   94.30%   +0.99%     
==========================================
  Files         111      111              
  Lines       23809    23809              
==========================================
+ Hits        22216    22452     +236     
+ Misses       1593     1357     -236     
Impacted Files Coverage Δ
pymc/distributions/discrete.py 99.22% <ø> (ø)
pymc/step_methods/metropolis.py 83.36% <0.00%> (+0.41%) ⬆️
pymc/tests/sampling/test_parallel.py 82.96% <0.00%> (+0.74%) ⬆️
pymc/smc/sampling.py 83.22% <0.00%> (+5.36%) ⬆️
pymc/smc/kernels.py 97.37% <0.00%> (+21.34%) ⬆️
pymc/tests/smc/test_smc.py 100.00% <0.00%> (+100.00%) ⬆️

ricardoV94 and others added 9 commits November 11, 2022 11:48
* Add a few missing type imports
* Trade assert with assignment to keep mypy happy
* Add a few type annotations
* Add missing return type for __call__
* Switch comment type declaration to raw
* Get operators.py to pass
* Fix pymc.backends.report
* Fix a bunch of typing issues
* Import __future__.annotations to fix "| None"
* Update pymc/step_methods/hmc/integration.py
* Add __future__.annotations to hmc.py
* Remove unused Any import
* Don't cast float to np.array
* Replace 0 with 0.0 for float zeros
* Update pymc/step_methods/hmc/nuts.py

Closes pymc-devs#6282

Co-authored-by: Adrian Seyboldt <[email protected]>
Co-authored-by: Michael Osthege <[email protected]>
* tests for added sample statistics
* sample stats test with more draws
* redesigned test for older blackjax version
* record blackjax sample stats
* moved sample stats argument to partial call
* improve random seed processing
* improve type-hint
@michaelosthege
Copy link
Member

This looks good, but it looks like we have some more distributions with the same problem - at least Categorical and the ZeroInflatedBinomial are missing the :context: close-figs thing too.

@hyosubkim could you go through them and fix it there too?

williambdean and others added 6 commits November 14, 2022 19:40
* remove dups, add type hints, and docstrings
* replacing references to old code
* reorder and reword
* deprecate the "test_point" method
* fix NameError. got to work locally
Merge branch 'docstring_update' of github.com:hyosubkim/pymc into docstring_update
@hyosubkim
Copy link
Contributor Author

@michaelosthege - I made the suggested fixes. Sorry for all the commits--I was running into some issues because my branch wasn't caught up to the remote and wasn't sure how to fix correctly at first.

@michaelosthege
Copy link
Member

superseded by #6301 if I'm not mistaken

@hyosubkim
Copy link
Contributor Author

Yes, that's right.

@hyosubkim hyosubkim deleted the docstring_update branch November 15, 2022 22:20
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.

6 participants