From Splits to Heat Strain: A Ten-Year Triathlon Study Built End-to-End with AI

Regular readers will know I have spent the last couple of months playing with AI agents to scrape and visualise publicly available sport data — first football muscle injuries, then a live dashboard for the Giro d’Italia. Those were fun, low-stakes experiments to learn what the tools could do. This post is the point where the experiment turned into something more serious: a full research study, now posted as a preprint, built almost entirely with the same family of AI tools.

I planned, conducted and executed this study — and developed the accompanying digital twin — using Claude Sonnet 5 and Claude Opus, together with Claude Cowork, Claude Code and Claude Design. Cowork orchestrated the data gathering and organisation across ten years of race results and weather records, Code built the statistical models and the digital twin engine, and Design shaped how the outputs are presented. I stayed firmly in the loop throughout as the domain expert: setting the research questions, checking the physiology and the methodology at every step, validating the data, and deciding what the numbers actually meant. I also modified some of the coding as things progressed to develop various analytics steps.

Why triathlon, why heat

Triathlon is an Olympic sport, and elite Olympic-distance racing is shaped by the interplay of swim-bike-run pacing, transition efficiency, the quality of the field, and — increasingly — the heat athletes race in. Major championships are more and more often held in hot conditions, which matters enormously for how athletes and support staff plan training, pacing, cooling and acclimatization. Despite there being a decade of publicly available race results and weather records out there, nobody had linked the two together at scale. That gap was the starting point.

The study had four aims: characterise the performance signature of a podium finish; reconstruct the thermal environment of championship venues over ten years; identify which athletes seem resilient to heat; and, building on all of that, prototype a digital twin that could support race planning.

Ten years of racing, in numbers

A few things stood out. Bike and run splits each contribute roughly equal unique variance to total race time, but the run leg is the real discriminator between the podium and the rest — it was the single most important feature in the podium-prediction models, at 45.5% importance for men and 48.9% for women. Somewhat counter-intuitively, the slope linking heat to performance did not reach statistical significance for either sex (men p=0.065, women p=0.104), which is a useful reminder not to over-interpret heat effects from headline temperature alone. DNF rates, on the other hand, told a clearer story, ranging from 12.7–16.3% for men and 11.7–18.8% for women across World Triathlon’s Green and Blue flag heat-risk categories.

Building the digital twin

The last aim — and the part I am most excited about — was turning ten years of descriptive analysis into something forward-looking. The digital twin prototype couples a performance model with a thermo-physiological heat-strain model, so it can be used to explore pacing, cooling and acclimatization decisions ahead of a race rather than just explaining results after the fact. On a temporal hold-out (training on earlier years, testing on later ones — the fairest test for something meant to inform future decisions), it achieved a mean absolute error of 0.490 z-units for men and 0.468 for women (r=0.383 and 0.295 respectively). Those are honest, prototype-grade numbers, not a finished predictive tool, and I say so explicitly in the paper.

The usual health warning

This is a preprint. It has not been peer reviewed, and I want to be upfront about that rather than let the AI-workflow angle overshadow it. The underlying data are scraped from publicly available sources, so they carry all the usual caveats about completeness and accuracy that come with that. What I can say is that the statistical approach, the modelling choices and the interpretation were all reviewed and directed by me at every stage — the AI tools accelerated the mechanics of gathering, structuring, analysing and building, but the scientific judgement was, and had to be, human. Critical thinking stays firmly the job of the person in the loop, whatever is doing the typing.

Why this matters to me

I hope this prototype is the beginning of something bigger rather than a one-off curiosity. There is an enormous amount of publicly available data across sport that nobody has the time to properly interrogate and organise — results archives, weather records, GPS feeds, injury registries. What changed for me this year is that a single person, using these AI tools well, can now plan, run and analyse a study of this scale in weeks rather than requiring a full research team and many months. I want to keep using that capability to ask more questions like this one across sports science and sports medicine, and to be transparent about the process as I develop more tools and research questions.

If you want to dig into the full methods, results and figures, the preprint is here: From Splits to Heat Strain: A Ten-Year Analysis of Performance Determinants and a Digital Twin Prototype for Olympic-Distance Triathlon Developed Using a Generative AI Workflow (DOI: 10.21203/rs.3.rs-10216961/v1). As always, comments and critique are very welcome — that is rather the point of putting it out as a preprint while it goes through formal peer review.