Interface: CricketWpa
Defined in: src/models/cricket_wp.ts:379
A CricketWinProb row plus the columns cricket_wpa appends.
Extends
Properties
balls_bowled
balls_bowled:
number
Defined in: src/models/cricket_wp.ts:86
Legal deliveries bowled so far (overs * 6 + balls).
Inherited from
balls_total
balls_total:
number
Defined in: src/models/cricket_wp.ts:88
Deliveries in a full innings for the format (FormatConstants.balls_total).
Inherited from
batting_team_id
batting_team_id:
string|null
Defined in: src/models/cricket_wp.ts:80
Batting team id as a string (competitor.team.id, else competitor.id), or null.
Inherited from
CricketWinProb.batting_team_id
event_id
event_id:
string|null
Defined in: src/models/cricket_wp.ts:76
ESPN event id as a string, or null when the payload carries none.
Inherited from
fmt
fmt:
string
Defined in: src/models/cricket_wp.ts:92
Format slug; resolved through get_format per row.
Inherited from
innings_number
innings_number:
number
Defined in: src/models/cricket_wp.ts:78
1 when setting a total, 2 when a target is present (chasing).
Inherited from
overs_left
overs_left:
number
Defined in: src/models/cricket_wp.ts:101
Whole overs remaining: floor((balls_total - balls_bowled) / 6).
Inherited from
proj_final
proj_final:
number
Defined in: src/models/cricket_wp.ts:107
Projected final total: runs + resources_left * par_score.
Inherited from
resources_left
resources_left:
number
Defined in: src/models/cricket_wp.ts:105
Resource fraction left from the bundled (fmt, overs_left, wickets_left) surface; 0 off-table.
Inherited from
runs
runs:
number
Defined in: src/models/cricket_wp.ts:82
Runs scored so far in the innings.
Inherited from
target
target:
number|null
Defined in: src/models/cricket_wp.ts:90
Runs needed to win when chasing; null in the first innings.
Inherited from
wickets
wickets:
number
Defined in: src/models/cricket_wp.ts:84
Wickets lost so far (0 when the score string has no /w part).
Inherited from
wickets_left
wickets_left:
number
Defined in: src/models/cricket_wp.ts:103
10 - wickets.
Inherited from
win_prob
win_prob:
number
Defined in: src/models/cricket_wp.ts:111
Calibrated win probability for the batting side, in [0, 1], after terminal overrides.
Inherited from
win_prob_before
win_prob_before:
number|null
Defined in: src/models/cricket_wp.ts:381
The previous state's win_prob in the same (event_id, innings_number); null for the first.
win_prob_raw
win_prob_raw:
number
Defined in: src/models/cricket_wp.ts:109
Uncalibrated Phi((proj_final - benchmark) / sigma), after terminal overrides.
Inherited from
wpa_batting
wpa_batting:
number
Defined in: src/models/cricket_wp.ts:383
win_prob - win_prob_before (0 for the first state of an innings).
wpa_bowling
wpa_bowling:
number
Defined in: src/models/cricket_wp.ts:385
-wpa_batting.