Skip to content

Nicer SV-COMP result for validator when witness is missing #1521

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

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Jun 21, 2024

Currently our SV-COMP validator returns ERROR (Failure) whenever the witness file is missing. This is quite ugly because it's very non-informative and could include other failwith cases which are indistinguishable.

This PR changes the verdict to ERROR (witness missing) in such cases.
It also refactors the passing of YAML witness validation to the SV-COMP result printing to be explicit rather than go through global variables.

TODO

  • Also do it for unassume analysis somehow.
  • Check witness existence before doing the whole analysis?

@sim642 sim642 added cleanup Refactoring, clean-up usability sv-comp SV-COMP (analyses, results), witnesses labels Jun 21, 2024
@sim642 sim642 added this to the SV-COMP 2025 milestone Jun 21, 2024
@sim642 sim642 marked this pull request as draft June 21, 2024 13:05
@sim642 sim642 self-assigned this Jun 21, 2024
@sim642 sim642 force-pushed the yaml-witness-validate-missing branch from f953b8f to 85ab1fd Compare June 25, 2024 09:09
@sim642 sim642 marked this pull request as ready for review June 25, 2024 09:10
@michael-schwarz michael-schwarz self-requested a review June 25, 2024 14:19
@sim642 sim642 merged commit 9402f1c into master Jun 25, 2024
20 of 21 checks passed
@sim642 sim642 deleted the yaml-witness-validate-missing branch June 25, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Refactoring, clean-up sv-comp SV-COMP (analyses, results), witnesses usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants