yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Quintiq file version 2.0
#parent: #root
Attribute Severity
{
  #keys: '3[144996.0.1907794339][144996.0.1907794338][144996.0.1907794340]'
  Description:
  [*
    The severity of the statistic.
    
    For statistics that work on iterations:
    This is the average of highest 5% of severities related to the elements in this statistic.
    
    For example, if we have a statistic with 100 elements, and 10 issues with severities : 4.0, 3.8, 3.7, 3.5, 1.4, 1.3, 0.3, 0.3, 0.3, 0.1, the severity of the statistic will be
    average( 4.0, 3.8, 3.7, 3.5, 1.4 ) = 3.3
    
    If there are no 5 issues, we give elements without an issue a severity of 0.
    For example if we have a statistic with 100 elements, and 2 issues with severities : 4.0, 3.8, the severity of the statistic will be
    average( 4.0, 3.8, 0.0, 0.0, 0.0 ) = 1.6
    
    We add the zeroes so a statistic with 1 highly severe issue will not outrank a statistic with many medium-high severe issues.
    The latter will probably cause more damage to the performance/quality of the optimizer, as it happens more often.
    
    For statistics that work on scope elements:
    This is the highest severity of its related issues.
    
    The reason for this distinction is that it is OK to have a bad iteration, but a single bad scope element may ruin your entire plan.
  *]
  ValueType: Real
}