Add CBMC Response parsing and Display controlled output#665
Merged
jaisnan merged 30 commits intomodel-checking:mainfrom Dec 10, 2021
Merged
Add CBMC Response parsing and Display controlled output#665jaisnan merged 30 commits intomodel-checking:mainfrom
jaisnan merged 30 commits intomodel-checking:mainfrom
Conversation
…output, providing flags "--terse" and "oldOutput" for alternate output styles.
This reverts commit 71b1701.
… incorrect Error Handling
jaisnan
commented
Nov 23, 2021
celinval
suggested changes
Nov 29, 2021
Contributor
celinval
left a comment
There was a problem hiding this comment.
Here are a few comments.. I'll keep reviewing the other files.
celinval
reviewed
Nov 29, 2021
…esolve autopep8 issues
zhassan-aws
reviewed
Dec 3, 2021
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
…Ubuntu, Removing Explcit output-format flag passing for DynTrait Rust tests
…Ubuntu, Removing Explcit output-format flag passing for DynTrait Rust tests w/fixed formatting issues
tedinski
reviewed
Dec 6, 2021
Contributor
I haven't done a last pass, but I think your review should be enough and I don't want to delay this any longer. Thanks for checking! |
celinval
approved these changes
Dec 10, 2021
4 tasks
tedinski
pushed a commit
to tedinski/rmc
that referenced
this pull request
Apr 26, 2022
…ng#665) * Changing default output to Controlled Output after Parsing from CBMC output, providing flags "--terse" and "oldOutput" for alternate output styles. * Fix Magic Strings by Providing Enum; Provide Single flag Option and resolve autopep8 issues
tedinski
pushed a commit
that referenced
this pull request
Apr 27, 2022
* Changing default output to Controlled Output after Parsing from CBMC output, providing flags "--terse" and "oldOutput" for alternate output styles. * Fix Magic Strings by Providing Enum; Provide Single flag Option and resolve autopep8 issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
The Old Output from rmc had non user friendly elements including -
To solve all the above issues and to setup future features, the CBMC Parser can now -
The flag --output-format provides the following options [old | terse| regular] and can be passed as following -
rmc test.rs --output-format regularThis is how the previous output from rmc looks like -
This is how the controlled output looks like -
This change also comes with a pipeline to easily add more styles of output in the future per user requirements and flag based inputs. One such option already provided is the '--terse' flag that displays a summarized output with error messages.
Since final output displays are subject to a lot of user experience feedback, the parser seperates out functionality from the result and can be easily changed to match customer tastes.
Call-outs:
Testing:
Tested using regression tests, all but "Expected" suite passes tests with new output, but it still needs it's own testing suite which is in development.
Refactor and UX/UI change
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.