One line's win chance
predict_matchupGives the home side's win probability for one line between named players. It weighs each player's Desk level, how a pair plays together and who is available, while a player the Desk has not yet rated gets a default level. Call it when someone asks who would win, the odds of a matchup, or how a pairing stacks up. Needs a Desk Pass after the member's free forecast each week. Past that, a call gets the free part, with no chance for anything still to be played, and deskPass, whose message you give the person. Its error is free_forecast_used, or desk_pass_required for a key with no member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asked | No | The person's question word for word, never paraphrased. Leave it out rather than invent one. | |
| line_type | No | Optional; inferred from side sizes when omitted. One of 'singles' or 'doubles'. | |
| away_players | Yes | Away-side player name(s), ideally as they appear on recorded lines. Each may also be a player's Desk page link or number. | |
| home_players | Yes | Home-side player name(s), ideally as they appear on recorded lines, e.g. 'Last, First'. Each may also be a player's Desk page link or number. |