simulate_autosubs
Apply automatic substitutions to a fantasy football team when starters are unavailable. Bench players replace them in order, same position, up to three, with captaincy transferred if necessary.
Instructions
Apply the §11 automatic substitutions to a team sheet.
unavailable is the starters who did not play, or whose match was
abandoned or postponed after the round closed. Substitutes come on in bench
order, same position only, three at most, and a replaced captain passes the
armband on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bench | Yes | ||
| captain | No | ||
| starters | Yes | ||
| unavailable | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||