Context:
While working on OPT-4369, I noticed that when calculating the automatic bucket size (unit) for number variables, we are currently not taking the absolute value of the range between the baseline and the max. number variable value, which results in a negative unit.
This occurs in NumberVariableAggregationService.getIntervalUnit.
AT:
- The above issue is resolved by taking the absolute range
- There is IT to ensure there are no issues with all negative number variable reports