-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
MockOracle refactor #2731
MockOracle refactor #2731
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2731 +/- ##
==========================================
- Coverage 78.86% 78.84% -0.02%
==========================================
Files 466 467 +1
Lines 15923 15930 +7
Branches 2557 2553 -4
==========================================
+ Hits 12557 12560 +3
- Misses 3366 3370 +4 ☔ 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.
LGTM
We should track re-enabling these commented-out tests though, or we might forget.
// Ignored until we figure out why it's killing GH CLI | ||
ignore("getIndexOfChosenValueFromModel recovers the index correctly") { |
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.
Can we
- refer to the relevant issue here, and
- leave a note under that issue to (re-)enable these tests?
check(prop, minSuccessful(1000), sizeRange(4)) | ||
} | ||
|
||
// We don't actually need the solver in MockOracle |
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.
By this you mean, we are passing it, but it's not actually invoked?
// Ignored until we figure out why it's killing GH CLI | ||
ignore("getIndexOfChosenValueFromModel recovers the index correctly") { |
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.
Can we
- refer to the relevant issue here, and
- leave a note under that issue to (re-)enable these tests?
Looks like the CI failures were just transient issues in the GH runners. I'll fix the comments and get this merged. |
make fmt-fix
(or had formatting run automatically on all files edited)./unreleased/
for any new functionalityFollowing the pattern laid out in #2709 for
IntOracle
, this PR introduces the same alterations toMockOracle
.