Skip to content

Inconsistent wording for verification success and failure #905

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

Closed
reuk opened this issue May 10, 2017 · 8 comments
Closed

Inconsistent wording for verification success and failure #905

reuk opened this issue May 10, 2017 · 8 comments

Comments

@reuk
Copy link
Contributor

reuk commented May 10, 2017

CBMC prints VERIFICATION FAILED on failure, but VERIFICATION SUCCESSFUL on success. Shouldn't it be FAILED|SUCCEEDED, UNSUCCESSFUL|SUCCESSFUL, or FAILURE|SUCCESS? As individual goals use FAILURE|SUCCESS, it seems sensible to use this scheme for the final result too.

@tautschnig
Copy link
Collaborator

Be warned that there is an unknown number of tools around CBMC parsing this output.

@reuk
Copy link
Contributor Author

reuk commented May 10, 2017

Maybe something for the 6.0 release then?

@tautschnig
Copy link
Collaborator

What's the value?

@reuk
Copy link
Contributor Author

reuk commented May 10, 2017

Improved usability. I was writing a test case for CBMC which I was expecting to succeed. I already had a test runner for a test expected to fail, which checked the output for VERIFICATION FAILED. I copied the runner, and then changed it to expect the opposite output VERIFICATION SUCCEEDED, but this didn't work. As a user, this is a bad experience, because I expect interfaces to obey the principle of least surprise. Using four different words to denote two unique states is very surprising, especially when two of those words don't form a semantic pair.

@tautschnig
Copy link
Collaborator

I'll leave it to others to judge the risk of breaking several companies' and existing users' tool chains over having a correct semantic pair. Making such a subtle change after ~15 years requires care.

@martin-cs
Copy link
Collaborator

martin-cs commented May 11, 2017 via email

@tautschnig
Copy link
Collaborator

This item has been raised for #1148; I believe @martin-cs and myself have voiced opinions clearly. All others are invited to put in their weight.

@TGWDB
Copy link
Contributor

TGWDB commented May 20, 2021

Closing as there seems to be no desire to make this change and the cost/benefit does not look optimistic.

@TGWDB TGWDB closed this as completed May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants