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

Synthesize warnings #354

Merged
merged 7 commits into from
Jan 17, 2022
Merged

Synthesize warnings #354

merged 7 commits into from
Jan 17, 2022

Conversation

geofjamg
Copy link
Member

@geofjamg geofjamg commented Sep 2, 2021

Signed-off-by: Geoffroy Jamgotchian [email protected]

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest
No

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
On real network some of the warnings are very commons and do not need to be displayed when warning level is configured.

What is the new behavior (if this is a feature change)?
We only print synthetic warnings and detail is in trace mode.

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 7, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

80.0% 80.0% Coverage
0.0% 0.0% Duplication

@geofjamg geofjamg changed the base branch from master to main October 12, 2021 11:13
@flo-dup flo-dup changed the base branch from main to master October 13, 2021 09:32
# Conflicts:
#	src/main/java/com/powsybl/openloadflow/network/impl/AbstractLfGenerator.java
#	src/main/java/com/powsybl/openloadflow/network/impl/LfDanglingLineGenerator.java
#	src/main/java/com/powsybl/openloadflow/network/impl/LfNetworkLoaderImpl.java
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

71.4% 71.4% Coverage
0.0% 0.0% Duplication

# Conflicts:
#	src/main/java/com/powsybl/openloadflow/network/impl/LfNetworkLoaderImpl.java
#	src/main/java/com/powsybl/openloadflow/network/impl/LfNetworkLoadingReport.java
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
@geofjamg geofjamg changed the title [WIP] Synthesize warnings Synthesize warnings Jan 16, 2022
@geofjamg
Copy link
Member Author

@annetill it only covers one warning but I think we could merge it and handle the other ones later on.

@geofjamg geofjamg requested a review from annetill January 16, 2022 16:23
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

71.4% 71.4% Coverage
0.0% 0.0% Duplication

@geofjamg geofjamg merged commit 9dce3bb into main Jan 17, 2022
@geofjamg geofjamg deleted the synthetic_warnings branch January 17, 2022 11:37
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

Successfully merging this pull request may close these issues.

2 participants