mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-04-27 10:07:27 -05:00
Document ladder table
This commit is contained in:
parent
044140691b
commit
001ef86597
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user