This repository was archived by the owner on Nov 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 753
Recursive bisect strategy #1997
Merged
myronmarston
merged 6 commits into
rspec:master
from
urbanautomaton:recursive-bisect-strategy
Jun 29, 2015
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0a16613
Support multiple dependent failures in FakeRunner
urbanautomaton 13f89e3
Test the number of rounds to 'reduce' pathological case
urbanautomaton e8f8a53
Add bisection test case where culprits > 50% of candidates
urbanautomaton 8048b6f
Add bisection test case for reducing independent failures
urbanautomaton d177934
Use recursive strategy for bisection
urbanautomaton 5a2f476
Basic recursive bisect formatter
urbanautomaton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It looks like you've removed
bisect_round_finishedbut keptbisect_round_started. Seems a little odd that they aren't paired. Not sure if there's anything to do about that though...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.
Yeah, I don't really see a way around this one - there are two exit conditions for a round now, and because it's recursive we can only really say a round "ends" when all of its sub-rounds end, which doesn't really help much. So I ended up with
bisect_round_startedand two exit conditions,bisect_ignoring_idsandbisect_multiple_culprits_detected.I'll try to think of better names for these to make it clear they're a related set of notifications.
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've renamed these to give them all the same prefix:
bisect_round_startedbisect_round_ignoring_idsbisect_round_detected_multiple_culpritsThere's still the split for the different exit conditions, but at least now they're all more obviously a set.