cricket_win_probability
Win probability for a live or hypothetical limited-overs match state, from a logistic model fitted on 8,000+ archived matches (per format and innings, with pre-match Elo). Returns the batting side's probability and who is favored. Use for 'who is winning' or 'what are the odds at X/Y'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | runs scored so far by the batting side | |
| overs | Yes | overs bowled in cricket notation, e.g. 15.3 = 15 overs 3 balls | |
| target | No | runs needed to win (second innings only) | |
| innings | Yes | 1 for the side setting a target, 2 for the chase | |
| wickets | Yes | wickets lost so far (0-10) | |
| total_overs | Yes | overs per side: 20 for T20 and The Hundred, 50 for ODI | |
| batting_team | No | optional team name, improves the estimate via Elo | |
| bowling_team | No | optional team name, improves the estimate via Elo | |
| balls_per_over | No | balls per over: 6 unless The Hundred, which bowls 5-ball sets — pass 5 there or every rate is a fifth off |