Engineering Smart Actions in Practice cover

A collection of posts which apply tools for simulating real-world systems to solve various practical problems along the same theme of ‘selecting the best actions to take’. All data sources have been referenced in the relevant project code repositories. All written material and non-interactive diagrams were human-generated, where some interactive elements were programmed using generative AI tools.

Collection

Engineering Smart Actions in Practice

    Substitution timing of rugby managers

    In this project we build a simulation of a rugby match and enable player substitution actions to change its outcomes. The data used to train this model is described in the project repository.

    Using the stochadex simulation engine we can define this simulation structure through a relatively simple diagram.

    The next step is to smooth and aggregate the data to produce baseline event rates for all of the relevant events which our simulation needs to learn.

    These event rates can be thought of as: ‘what the averaged rugby match does’.

    Using these smoothed event rates as a baseline to evaluate deviations from, we can then train a model of the actual event rates experienced by a specific rugby match in response to different player substition types.

    Positive Coefficients improve the rate of the corresponding event type, and negative Coefficients reduce their rates.

    Putting all of this together, we can simulate multiple Trajectories (representing multiple possible match situations) having made different types of home team substitution at different moments in a match and evaluate the number of times that match that team eventually won.

    This is only a basic analysis, with lots of potential extensions, and yet it’s already apparant that front row forwards are best sustituted in at around the 60 minute mark to have the maximum impact on the match outcome.

    There are plenty of caveats to these findings, but it illustrates how rugby manager actions can be improved with real-world simulations powering their analysis.