-
Notifications
You must be signed in to change notification settings - Fork 446
Fix bug in condition_on_observation
#3034
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
Fix bug in condition_on_observation
#3034
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3034 +/- ##
===========================================
- Coverage 100.00% 99.98% -0.02%
===========================================
Files 216 216
Lines 20497 20531 +34
===========================================
+ Hits 20497 20527 +30
- Misses 0 4 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @jduerholt , Thanks for spotting and fixing this. I haven't looked into it yet, but I'll start right away! |
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.
Lgtm. I'll leave it to @hvarfner to give it a final look before merging.
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.
This looks like a great solution to me! Did you have a test or two for this in the works, too?
|
I will file some tests over the weekend ;) |
|
@esantorella has imported this pull request. If you are a Meta employee, you can view this in D83766789. |
|
Hi @hvarfner, I added a test that checks for the desired behavior. I was only wondering regarding one data structure issue, see my comment in the code ;) Best, Johannes |
|
@saitcakmak merged this pull request in 3ec2ab0. |
Motivation
Fix the bug outlined here: #3033
Tests are not yet adapted, first, I want to get your opinion on the fix ;)
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
Unit tests, not yet adapted.