35 lines
875 B
TypeScript
35 lines
875 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
|
|
/**
|
|
* Row returned from the variant performance query.
|
|
* Contains statistics for each (variant, time_period) combination.
|
|
*/
|
|
export type VariantPerformanceRow = {
|
|
/**
|
|
* Start datetime of the period in RFC 3339 format.
|
|
* For cumulative time window, this is '1970-01-01T00:00:00Z'.
|
|
*/
|
|
period_start: string;
|
|
/**
|
|
* The variant name
|
|
*/
|
|
variant_name: string;
|
|
/**
|
|
* Number of data points in this (variant, period) combination
|
|
*/
|
|
count: number;
|
|
/**
|
|
* Average metric value
|
|
*/
|
|
avg_metric: number;
|
|
/**
|
|
* Sample standard deviation (null if count < 2)
|
|
*/
|
|
stdev?: number;
|
|
/**
|
|
* 95% confidence interval error margin (1.96 * stdev / sqrt(count))
|
|
* Null if count < 2 (when stdev is null)
|
|
*/
|
|
ci_error?: number;
|
|
};
|