-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat: Replace testcase in corpus when comparisons are closer #475
Conversation
Found: 19
|
drafting this bc this isn't a good solution. it inflates the corpus too much and should have logic for corpus replacement on closer comparisons. |
After experimenting more I think doing this in Lines 169 to 188 in 2ffa214
|
I force pushed a new implementation. This adds a new metadata that is also checked in the Here is a run with an extra trace that showed when a corpus was replaced It solves the original example immediately whereas without this it takes some minutes.
|
Found: 18
|
Found: 20
|
This duplicates the CmpFeedback effort on the corpus.
The idea being that adding values to the corpus when the input reverts can still be useful to overcome comparisons.
ie: in this toy example, the magic value of 8650 is difficult to guess (without concolic).
However, if the input gets closer, the corpus will keep that input and mutate off that.
Concerns:
Pros: