- 
                Notifications
    You must be signed in to change notification settings 
- Fork 36
          Revert to using setval_and_resample! in generated_quantities
          #709
        
          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
Conversation
| Pull Request Test Coverage Report for Build 11667880187Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes. 
 Details
 
 
 💛 - Coveralls | 
| Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@            Coverage Diff             @@
##           master     #709      +/-   ##
==========================================
+ Coverage   77.73%   77.87%   +0.13%     
==========================================
  Files          30       30              
  Lines        3926     3909      -17     
==========================================
- Hits         3052     3044       -8     
+ Misses        874      865       -9     ☔ View full report in Codecov by Sentry. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised that VarNamedVector tests don't fail. Maybe they just don't hit the extension code. Anyway, I don't understand the new (old) code fully, but given that it's just reverting to previous (successful) behaviour, I'm happy to merge.
| Might be worth considering #710 before we merge this | 
| The green tick is a relief :D, but I think we should definitely focus on #710 instead of this, as that fixes the same tests but in a better way. | 
| The chain of PRs all make sense to me, sorry I couldn't give an in-depth review now, but I think Penny has a really good hold on the issue here. But definitely let me know if another serious look is required. | 
| I'm increasingly in favour of just merging this and make a patch release.  It's becoming clear that #710 requires quite a bit more effort: #710 (comment) | 
| Happy with that. | 
| Looking through test failures. At least one is a regression in Mooncake (chalk-lab/Mooncake.jl#345). Not sure if any of them are really DPPL-related. | 
| Thanks for finding that @penelopeysm ! 👏 | 
| Can confirm that all of the errors are purely Mooncake related, so will merge manually:) | 
As seen in #702 ,
generated_quantitiescurrently does not work as intented for models with dot-tilde in it. This is due to changes made in #555 togenerated_quantities, where we started usingfixinstead ofsetval_and_resample!.Ideally, we should be using
fixfor this, so the changes introduces in #555 were completely reasonable. However,fixis still somewhat lacking in support; specifically, it lacks support for.~, as outlined in #702. This PR reverts these changes as a hotfix for the resulting bugs.@mhauru