Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'simulator: add counterexample minimization' from Alperen Keleş
This PR introduces counterexample minimization(shrinking) in the simulator. It will require changes to the current structure in various places, so I've opened it as a draft PR for now, in order to not overwhelm the reviewers all at once. - [x] Turn interactions plans into sequences of properties instead of sequences of interactions, adding a semantic layer. - [x] Add assumptions to the properties, rendering a property invalid if its assumptions are not valid. - [x] Record the failure point in a failing assertion, as shrinking by definition works when the same assertion fails for a smaller input. - [ ] Add shrinking at three levels, - [x] top level(removing whole properties), - [x] property level(removing interactions within properties), - [ ] interaction level(shrinking values in interactions to smaller ones). - [ ] Add [marauders](https://github.com/alpaylan/marauders) as a dev dependency, inject custom mutations to a testing branch for evaluating the simulator performance. - [ ] Integrate the simulator evaluation with the CI. Closes #623
- Loading branch information