[ https://issues.apache.org/jira/browse/AURORA-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reza Motamedi updated AURORA-1827: ---------------------------------- Description: The calculation of mttX (median-time-to-X) depends on the computation of percentile values. The current implementation does not behave nicely with a small sample size. For instance, for a given sample set of {50, 150}, 50-percentile is reported to be 50. Although, 100 seems a more appropriate return value. One solution is to modify `SlaUtil` to perform an interpolation when the sample size is small or when the corresponding index to a percentile value is not an integer. was: The calculation of mttX (median-time-to-X) depends on the computation of percentile values. The current implementation does not behave nicely with a small sample size. For instance, for a given sample set of {50, 150}, 50-percentile is reported to be 50. Although, 100 seems a more appropriate return value. One solution is to modify `SlaUtil` to perform an extrapolation when the sample size is small or when the corresponding index to a percentile value is not an integer. > Fix SLA percentile calculation > ------------------------------- > > Key: AURORA-1827 > URL: https://issues.apache.org/jira/browse/AURORA-1827 > Project: Aurora > Issue Type: Story > Reporter: Reza Motamedi > Assignee: Reza Motamedi > Priority: Trivial > Labels: newbie, sla > > The calculation of mttX (median-time-to-X) depends on the computation of > percentile values. The current implementation does not behave nicely with a > small sample size. For instance, for a given sample set of {50, 150}, > 50-percentile is reported to be 50. Although, 100 seems a more appropriate > return value. > One solution is to modify `SlaUtil` to perform an interpolation when the > sample size is small or when the corresponding index to a percentile value is > not an integer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)