soundiness first steps#3887
Draft
mattulbrich wants to merge 2 commits into
Draft
Conversation
by Qwen3.5 397B A17B
Member
|
Thanks! Like it :-) Only bikesheding: For stricter then necessary, orange seems more like a warning. Dark green or blue? |
wadoon
reviewed
Jul 5, 2026
| * Action to show the soundiness report for the currently selected proof. | ||
| * | ||
| * @author opencode | ||
| * @since 2.13 |
wadoon
reviewed
Jul 5, 2026
| JButton soundinessButton = new JButton("Show Soundiness Report"); | ||
| soundinessButton.setIcon(IconFactory.WARNING_UNSOUND.get()); | ||
| soundinessButton.addActionListener(e -> { | ||
| de.uka.ilkd.key.gui.soundiness.SoundinessDialog dialog = |
wadoon
reviewed
Jul 5, 2026
| if (kind == ContextMenuKind.PROOF_LIST && underlyingObject instanceof Proof) { | ||
| MainWindow mainWindow = MainWindow.getInstance(); | ||
| if (mainWindow != null) { | ||
| actions.add(new ShowSoundinessAction(mainWindow)); |
Member
There was a problem hiding this comment.
Would it not be wise to give the proof object to the action?
wadoon
reviewed
Jul 5, 2026
|
|
||
| @Override | ||
| public void actionPerformed(ActionEvent e) { | ||
| Proof proof = getMediator().getSelectedProof(); |
Member
There was a problem hiding this comment.
Is the selected proof, also the proof for which the ContextMenu was requested?
wadoon
reviewed
Jul 5, 2026
| @@ -0,0 +1,321 @@ | |||
| # Soundiness Info Window - Design Document | |||
wadoon
requested changes
Jul 5, 2026
Member
|
List of things that came to my mind while playing around a bit with the prototype:
|
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.
Related Issue
This pull request is a new feature.
Intended Change
Implements a soundiness info window that analyzes KeY proofs and displays potential sources of unsoundness in a structured HTML report. The feature helps users identify taclet options, memory settings, and proof characteristics that may affect verification soundness. Integrated into the proof statistics dialog and context menu.
Key features:
Type of pull request
Ensuring quality
Additional information and contact(s)
Files added/modified:
key.ui/src/main/java/de/uka/ilkd/key/gui/soundiness/SoundinessAnalyzer.java- Static utility class generating HTML reportskey.ui/src/main/java/de/uka/ilkd/key/gui/soundiness/SoundinessDialog.java- Simple modal dialog displaying HTMLkey.ui/src/main/java/de/uka/ilkd/key/gui/soundiness/SoundinessExtension.java- Extension point registrationkey.ui/src/main/java/de/uka/ilkd/key/gui/soundiness/ShowSoundinessAction.java- Context menu actionkey.ui/src/main/java/de/uka/ilkd/key/gui/windows/ShowProofStatistics.java- Added soundiness buttonDocumentation updated:
AGENT.soundiness.md- Design documentIMPLEMENTATION_SUMMARY.md- Implementation summaryBuild status: BUILD SUCCESSFUL on key.ui module.
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.
by Qwen3.5 397B A17B