Document ladder table

This commit is contained in:
Guangcong Luo 2025-05-03 20:27:39 -07:00
parent 044140691b
commit 001ef86597

View File

@ -20,22 +20,39 @@ export interface LadderEntry {
formatid: string; formatid: string;
userid: string; userid: string;
username: string; username: string;
/** wins */
w: number; w: number;
/** losses */
l: number; l: number;
/** ties */
t: number; t: number;
/** estimate of your win chance against a random ladder player */
gxe: number; gxe: number;
/** Glicko-1 rating */
r: number; r: number;
/** Glicko-1 rating deviation */
rd: number; rd: number;
/** @deprecated when we used Glicko-2, this was volatility (currently unused) */
sigma: number; sigma: number;
/** last updated (to track rating decay) */
rptime: number; rptime: number;
/** estimated Glicko rating for next rating period */
rpr: number; rpr: number;
/** estimated Glicko rating deviation for next rating period */
rprd: number; rprd: number;
/** @deprecated when we used Glicko-2, this was volatility next period (currently unused) */
rpsigma: number; rpsigma: number;
/** games played since last rating period, for Glicko-1 updates */
rpdata: string; rpdata: string;
/** Elo. ours starts/floors at 1000 with a scaling K factor */
elo: number; elo: number;
/** @deprecated unused, intended as futureproofing (look, we used MySQL...) */
col1: number; col1: number;
/** Elo before last rating period update */
oldelo: number; oldelo: number;
/** when did this user first play this ladder? */
first_played: number; first_played: number;
/** when did this user most recently play this ladder? */
last_played: number; last_played: number;
} }