[Feature request] Add the option to specify a number of (counter)examples to generate #1138
Replies: 5 comments 7 replies
-
It seems that you would like to have something similar to |
Beta Was this translation helpful? Give feedback.
-
I would say that properly adding |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Would it be faster to generate N traces internally rather than calling |
Beta Was this translation helpful? Give feedback.
-
I would also be interested in this feature. Specifically, running Quint in a loop makes it hard to force it to generate different traces, which is something I would be interested in. Different for me would mean any difference in states, i.e. I wouldn't necessarily be interested in two different traces that resolve nondeterminism differently if this does not have any visible effect on the state. How hard would such a "different" requirement be to implement? I imagine it shouldn't add too much complexity but might be missing some subtlety? |
Beta Was this translation helpful? Give feedback.
-
I would like to start a discussion on a feature that would enable specifying a number of (different) counterexamples to be generated for
quint run
andquint verify
.The motivation comes from the usage of Quint in testing: with a specified model, I am interested in generating a (large) number of traces satisfying a property (given as a negated invariant).
I believe the proposed feature could already be achieved for
quint verify
by passing the Apalache parameter--max-error
. I don't see how to accomplish the same forquint run
with current options.A more general view of this feature request would be to make sampling a first-class citizen of Quint (whereas now it can be accomplished by repeatedly looking for a counterexample). This functionality was one of the features of (now not actively developed) Modelator. The question is whether such feature belongs to Quint, or rather to wrappers of Quint (such as Modelator).
Beta Was this translation helpful? Give feedback.
All reactions