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

Common: add generic checker for trending plots #2383

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aferrero2707
Copy link
Contributor

@aferrero2707 aferrero2707 commented Aug 12, 2024

The checker is designed to verify that the values of trend graphs are within given minimum and maximum limits.
The limits can be specified as fixed values, or values relative to either the mean or the standard deviation of a given set of graph points.

See https://its.cern.ch/jira/browse/QC-1216 for more details.

The `std::string` type was not correctly handled because the standard
library does not provide an "identity" override for `std::to_string()`
The ultility class provides the following functionalities:
* stores interaction-rate-dependent threshold values
* stores optional axis ranges on which the check should be restricted
* provides the code to retrieve the threshold and range values from the custom parameters
* provides a function to retrieve the optimal threshold values for a given interaction rate
The checker is designed to verify that the values of trend graphs are
within given minimum and maximum limits.
The limits can be specified as fixed values, or values relative to either
the mean or the standard deviation of a given set of graph points.
@aferrero2707 aferrero2707 changed the title [WIP] Common: add generic checker for trending plots Common: add generic checker for trending plots Sep 20, 2024
@aferrero2707
Copy link
Contributor Author

aferrero2707 commented Sep 22, 2024

@Barthelemy @knopers8 this PR is rather big, but it does not touch existing code, it only introduces a new checker + some utility class to handle the configuration parameters.
Once it will be possible to retrieve the current interaction rate from CTP, the code is already designed to take advantage of it by specifying rate-dependent checker thresholds in the configuration.

More details are given in the JIRA ticket linked in the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant