Skip to content

Add more help text in Quality Rules Tab

@edgarloba We have realised that more help text should be provided in 2 locations of the Quality tab.

One location is when creating/modifying the 2nd Operand of a rule clause. The fist input box called "Enter a value manually" now contains the following help text:

Enter a value.
Examples for entering a numeric value: "2025"^^xsd:integer , "-50.0"^^xsd:double
Examples for entering a string or a date: Paris , 2023-06-12T09:00:00

But the following text should be added after it:

If the operator “In” has been selected, the value of the second operand should be a list of values. E.g.: ["Bilbao", "London"]
If the operator “Regex Match” has been selected, the value of the second operand should be a regular expression. E.g.: @example\\.com$

Another location would be beside the text: Define the thresholds and weights for each rule element to ensure accurate evaluation of your datasets. A new help icon should be placed after this sentence and when clicking on it the following help text should be shown:

The evaluation result will be normalized following the next steps:
      1.- The original evaluation result belongs to one of the intervals defined by the threshold values. E.g.: [a, b].
      2.- Normalize the evaluation result according to the following formula:

            [a, b]: original interval (thresholds)
            [c, d]: target interval (weights)
            x: evaluation result
            y: normalized result
            y = c + ((x - a )*(d -c) / (b -a ))