File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -581,6 +581,24 @@ export interface SorterICPC extends SorterBase {
581581 * @defaultValue 'floor'
582582 */
583583 timeRounding ?: 'floor' | 'ceil' | 'round' ;
584+
585+ /**
586+ * Time precision when calculating rankings.
587+ *
588+ * This will only affect the rankings.
589+ *
590+ * It is equivalent to converting the final total time to the target precision before calculating rankings of series.
591+ *
592+ * Using lower precision means there is a higher probability of ranking ties.
593+ * @defaultValue No converting, based on raw total time after calculating ranklist
594+ */
595+ rankingTimePrecision ?: TimeUnit ;
596+
597+ /**
598+ * The rounding method of converting time unit to specified time precision when calculating rankings.
599+ * @defaultValue 'floor'
600+ */
601+ rankingTimeRounding ?: 'floor' | 'ceil' | 'round' ;
584602 } ;
585603}
586604
You can’t perform that action at this time.
0 commit comments