Skip to main content

Interface: FormatConstants

Defined in: src/models/cricket_wp.ts:15

Per-format constants of the win-probability model (py cricket_model_constants.py).

Properties​

balls_total​

balls_total: number

Defined in: src/models/cricket_wp.ts:19

Legal deliveries in one innings (120 for T20, 300 for ODI).


max_wickets​

max_wickets: number

Defined in: src/models/cricket_wp.ts:21

Wickets available in one innings (10).


name​

name: string

Defined in: src/models/cricket_wp.ts:17

Canonical lower-case format slug: 't20' or 'odi'.


par_score​

par_score: number

Defined in: src/models/cricket_wp.ts:23

Fitted par first-innings score; the benchmark when setting and the resource multiplier.


sigma_chase​

sigma_chase: number

Defined in: src/models/cricket_wp.ts:27

Std. dev. (runs) of proj_final - target when chasing (innings 2 with a target).


sigma_set​

sigma_set: number

Defined in: src/models/cricket_wp.ts:25

Std. dev. (runs) of proj_final - par_score when setting a total (innings 1).