Skip to content
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

Print real condition in if labels #3222

Merged
merged 8 commits into from
Nov 3, 2023

Conversation

FliegendeWurst
Copy link
Member

@FliegendeWurst FliegendeWurst commented Jul 25, 2023

This PR modifies the labels in the proof tree to show the actual condition of ifs instead of the boolean variable introduced by the unfold taclet. With this change, the branch labels in the proof tree are much more useful.

previous now
Sum_pre Sum_post
Contains_pre Contains_post

@FliegendeWurst FliegendeWurst added GUI Feature New feature or request labels Jul 25, 2023
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #3222 (9582314) into main (ff3216d) will decrease coverage by 0.02%.
The diff coverage is 6.52%.

@@             Coverage Diff              @@
##               main    #3222      +/-   ##
============================================
- Coverage     37.85%   37.84%   -0.02%     
- Complexity    16892    16895       +3     
============================================
  Files          2052     2054       +2     
  Lines        125443   125488      +45     
  Branches      21216    21227      +11     
============================================
+ Hits          47487    47491       +4     
- Misses        72104    72144      +40     
- Partials       5852     5853       +1     
Files Coverage Δ
...de/uka/ilkd/key/java/visitor/JavaASTCollector.java 100.00% <ø> (ø)
...c/main/java/de/uka/ilkd/key/logic/OpCollector.java 66.66% <100.00%> (ø)
...java/de/uka/ilkd/key/logic/op/ProgramVariable.java 44.23% <ø> (ø)
.../src/main/java/de/uka/ilkd/key/proof/NodeInfo.java 71.05% <22.22%> (-3.08%) ⬇️
...va/de/uka/ilkd/key/logic/OpCollectorJavaBlock.java 0.00% <0.00%> (ø)
...org/key_project/proof/LocationVariableTracker.java 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@github-actions
Copy link

github-actions bot commented Jul 25, 2023

Thank you for your contribution.

The test artifacts are available on Artiweb.
The newest artifact is here.

@WolframPfeifer WolframPfeifer added this to the v2.14.0 milestone Jul 31, 2023
@FliegendeWurst FliegendeWurst added the Review Request Waiting for review label Aug 4, 2023
@wadoon wadoon added Pending Under Review Pull request is currently reviewed. Please assign only when you are currently doing the review! and removed Review Request Waiting for review labels Aug 20, 2023
@FliegendeWurst FliegendeWurst added Review Request Waiting for review and removed Pending Under Review Pull request is currently reviewed. Please assign only when you are currently doing the review! labels Sep 8, 2023
Copy link
Member

@WolframPfeifer WolframPfeifer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice feature! I have two minor complaints (mainly about the documentation), apart from that, the PR is fine.

For documentation: Since branch names are stored in proofs, unfortunately this PR does not take effect when loading proofs.

In the future, we could think of overwriting saved branch labels with the better ones from this PR. However, this would also overwrite manually named branches (I am not sure if anyone uses the feature of manual branch names ...).

@WolframPfeifer WolframPfeifer added Reviewer Feedback Feedback from the review needs to be addressed and removed Review Request Waiting for review labels Nov 3, 2023
@WolframPfeifer WolframPfeifer added this pull request to the merge queue Nov 3, 2023
Merged via the queue into KeYProject:main with commit f9f3fff Nov 3, 2023
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request GUI Reviewer Feedback Feedback from the review needs to be addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants