-
Notifications
You must be signed in to change notification settings - Fork 219
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
Re-export certain functionality from DynamicPPL #2217
Conversation
Looks good to me -- let's export |
Pull Request Test Coverage Report for Build 9141352740Details
💛 - Coveralls |
Okay, these tests failing are now becoming somewhat worrying (previously everything passed except on one run, but now it's also failing on other systems) |
Why was this merged? |
I specifically said "please don't do this" just a few days ago. |
I see tests are at least passing after the merge, but still, please don't do this. Ping the creator of the PR to check first. |
Let's be flexible about merging. Core members should be allowed to merge PRs considered "ready to go" -- it's debatable what can be treated as "ready to go", but this PR probably fits into that group safely I think. |
But what arguments exist for merging vs. pinging the creator of the PR and asking them to merge @yebai ? I can't see any in favour of doing this. In contrast, I can easily come up with arguments for not doing this, e.g. we've had examples before where the PR creator realizes the test cases aren't sufficient, starts working on it, tries to push, only to realize the branch has already been merged and released with bugs the PR creator was in the process of fixing. |
But regardless of whether we want to make "don't merge someone else's PR without checking with them first" a team-wide rule or not, I ask that you at least don't merge PRs that I have a created but instead ping me and ask if it's ready to merge. |
Given that Turing.jl has become a "public-facing" shell package, I think it's worth exporting some functionality commonly used with models from DynamicPPL.jl, so the end-user doesn't have to see DynamicPPL to be able to use these.
Amongst these I think the following should be included:
condition
decondition
fix
unfix
OrderedDict
(the only reliable way to call many methods, e.g.rand
)conditioned
/observations
(though probably just one of these?)Any objections? @yebai @devmotion