13 lines
332 B
TypeScript
13 lines
332 B
TypeScript
export type DropScoreStrategy = 'none' | 'bestNResults' | 'dropWorstN';
|
|
|
|
export interface DropScorePolicy {
|
|
strategy: DropScoreStrategy;
|
|
/**
|
|
* For 'bestNResults': number of best-scoring events to count.
|
|
*/
|
|
count?: number;
|
|
/**
|
|
* For 'dropWorstN': number of worst-scoring events to drop.
|
|
*/
|
|
dropCount?: number;
|
|
} |