-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Port do
and observe
functions from PyMC-Experimental
#6879
Conversation
I removed the "closes", because we will need a PR that deprecates the functionality in pymc_experimental in favor of pymc |
Let's do the following: rename |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main pymc-devs/pymc#6879 +/- ##
==========================================
+ Coverage 92.05% 92.14% +0.08%
==========================================
Files 96 100 +4
Lines 16446 16796 +350
==========================================
+ Hits 15140 15476 +336
- Misses 1306 1320 +14
|
How about |
I am easy! Just provide your feedback and I will change it accordingly :) |
|
Sure, just |
A good check that you are not breaking anything is to not change any of the imports in tests (things should be importable from the same "path" after your PR). |
Yes! Thanks for the feedback! I will revert and fix the last commit which does exactly that 😅 |
@ricardoV94, while I fix the |
Just a small refactor suggestion, otherwise looks great! |
Do
and Observe
Operations from PyMC-Experimental
Ah we also need to list the new functionality in the docs! And make sure that we show the old model stuff now that the paths have changed |
What exactly do I need to change? Is there an example PR? |
I don't know about a template PR. The goal is for the functionality to be discoverable in the API docs: https://pymcio--6879.org.readthedocs.build/projects/docs/en/6879/api.html Just need to add some entries in the docs indexes, somewhere here: https://github.com/pymc-devs/pymc/tree/main/docs/source/api This may be useful: https://www.pymc.io/projects/docs/en/stable/contributing/build_docs.html |
@ricardoV94 I tried changing the structure in the docs but I am not seeing this locally (see adde6d2). I will need some support here 🙏 |
After 4d7b805, I can see the docs:
but not on the API page. |
Ok! I think 96e6c2b fixed the API entry page. |
Just making sure we're making this available from the global namespace so that we can do |
They should be available after 2fa700b |
Do
and Observe
Operations from PyMC-Experimentaldo()
and observe()
functions from PyMC-Experimental
do()
and observe()
functions from PyMC-Experimentaldo
and observe
functions from PyMC-Experimental
dc4b774
to
5c833fd
Compare
5c833fd
to
404ba19
Compare
I pushed the following changes:
Should be good to go when tests pass |
Thank you very much @ricardoV94 😀 ! |
Related to pymc-devs/pymc-extras#237
Closes #5443
📚 Documentation preview 📚: https://pymc--6879.org.readthedocs.build/en/6879/