cricket_win_probability
Win probability for a limited-overs match, live or hypothetical, from a logistic model fitted on 8,000+ archived matches (per format and innings, with pre-match Elo). Pass a state for an in-play number, or just two team names for a fixture that has not started. Returns each side's probability and who is favored. Use for 'who is winning', 'what are the odds at X/Y', or 'who is favoured tomorrow'.
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 | team name; improves a live estimate via Elo, and with bowling_team alone prices a fixture that has not started | |
| 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 |