-
Notifications
You must be signed in to change notification settings - Fork 169
Adding a second property in WBS to prove #860
Conversation
Question: Is here really the property the only difference? @peterschrammel Can you imagine we use a call to a method as specification, as in the C track? |
Not duplicating the program would be an elegant way to organize benchmarks based on the Wheel Brake System. I would be happy to make this change and an example showing a similar setup in the existing SV-COMP benchmarks would be even more useful! |
IMHO, we could use the Java exception mechanism for your request @dbeyer. In the mean time, we might move the implementation in a single class with one method per check of one assert conditions into the java/common directory and only have small driver files for each property in the benchmark repository. This might reduce code duplication without any further harm to the competition in its current format from my point of view. |
@vaibhavbsharma and @mmuesly Could you please have a look at the following in the C track? There are 100 function calls like __VERIFIER_error_94(), each encoding a different property. Then there are 100 properties as in properties/unreach-call-94.prp Further, for the task definitions, have a look at Does this look like the way to go? |
(A) Different proposal that doesn't require any change to the infrastructure:
|
(B) Alternatively, I have a preference for introducing property files that contain exception-specific specs as @mmuesly suggests, e.g.
We can then also use |
I like the proposal that @peterschrammel made. But perhaps it is too late to introduce an extension of the spec language for So perhaps stick with What is best for the Java community? I think I have to merge as soon as possible, as there are only 4 days left ... |
Or would you like me to merge all the PRs and then you refactor via a new pull request? |
I'd say, let's go with my proposal (A) above, which doesn't require a rule change or changes to the verifiers; and let's add (B) to the discussion list for the community meeting. |
So I will simply merge and you would be so kind to implement proposal (A)? |
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.
Thanks for the new verification tasks.
These tasks are planned to be refactored according to the discussion in pull request #860.
These four properties correspond to changes in sosy-lab#860, sosy-lab#861, sosy-lab#862 and
This version of Wheel Brake System has been part of the SPF repository
for the past few years. It can be found at https://github.com/SymbolicPathFinder/jpf-symbc/blob/master/src/examples/WBS.java. An existing pull request checks one property on this benchmark (#825). In this commit, I am adding it again to the SV-COMP repository of benchmarks so that we can check a different property in it.