2021-03-22 12:09:25 -04:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Stats.Client.Abstractions
|
|
|
|
|
{
|
|
|
|
|
public interface IServerDistributionCalculator
|
|
|
|
|
{
|
|
|
|
|
Task Initialize();
|
2023-05-07 21:33:58 -04:00
|
|
|
|
Task<double> GetZScoreForServerOrBucket(double value, long? serverId = null, string performanceBucket = null);
|
|
|
|
|
Task<double?> GetRatingForZScore(double? value, string performanceBucket);
|
2021-03-22 12:09:25 -04:00
|
|
|
|
}
|
2023-05-07 21:33:58 -04:00
|
|
|
|
}
|