Deployment Lessons from our Médoc Marathon Optimisation
Last Saturday, our Director (Michelle Seng Ah Lee) and Senior Data Scientist (Ian Louw) completed the Médoc Marathon: a 42.195 km race through the vineyards of Bordeaux with 23 wine-tasting stops.

Introduction
Last Saturday, our Director (Michelle Seng Ah Lee) and Senior Data Scientist (Ian Louw) completed the Médoc Marathon: a 42.195 km race through the vineyards of Bordeaux with 23 wine-tasting stops. Leading up to the marathon, we published an article on how we designed the optimisation algorithm for the Médoc Marathon: maximising high-quality wine consumed based on a number of constraints balancing pace, time, and alcohol tolerance. Link to the article can be found here. The optimisation application can be found here.
However, as with any deployment of a machine learning algorithm, theory meets reality. What looks elegant on the screen often becomes messy in the field, with unexpected exogenous variables causing model drift. In this short article, we provide a de-brief of the limitations of our algorithm and the lessons learned.
Confounders : unexpected constraints
Our constraints included Operational (time limit of 6.5 hours, 23 wine stops, time per stop), Preferential (desired maximum gap between wine stops, minimum glasses of wine), and Physical (target pace, alcohol tolerance). However, on the field (or vineyards in this case), real world had some surprises in store.
· Weather: With temperatures hitting 32C, our pacing assumptions were broken. Heat slowed our speed and forced additional hydration stops. The night before the marathon, we reviewed the weather forecast and adjusted our strategy to increase our target pace for the first half while it is cooler and decrease our target pace in the second half to reduce the risk of overheating.
· Comfort breaks: Our pace was additionally slowed by our insistence on finding the limited number of porta-loos on the course rather than joining the other runners in fertilising the vines.
· Running groups: We had modelled a single runner, but in practice, many were running in groups. Faster runners often lingered at wine stops while waiting for slower teammates. A chain is only as strong as its weakest link. Here, the bottleneck was not individual capacity but group dynamics — a reminder that multi-agent systems are far more complex to optimise.
· Variable stop times: Some châteaux offered not just wine but experiences: panoramic views, live music, and exceptional food. These stops lasted longer than the model specifications because no one wanted to leave.
· Variable serving sizes: Not all glasses of wine were equal. Some pours were half a mouthful, and others were generous refills — distorting intake estimates.
These confounders highlight the limits of optimisation in unpredictable environments.
Adjusting the KPI : problem of imperfect labels
Our wine quality metric used the price of the chateau’s wine as a proxy. As we noted in our previous article, this is an imperfect estimation. For example, Chateau Lafite Rothschild and Chateau Montrose were on our “must stop” list, with the 2024 en primeur cost of €288 per bottle and €120 per bottle ex-négociant respectively. However, Chateau Lafite Rothschild served unlabelled house wine, which was still very good but not as differentiated to the rest of the wine stops as one may expect from that price point.
The unreliability of the labels requires “human in the loop,” e.g., based on Michelle’s 8 years of experience in prior Médoc Marathons. Based on this year, we are making the following adjustments for future iterations of the model.
· Château Haut-Bages Libéral: Outperformed expectations and deserves an upgrade.
· White wine with oysters: Excellent pairing in theory, but in 32°C heat, it was far less enjoyable. This will now become a stop dependent on the weather forecast.
· Château Montrose: This year, instead of their second label La Dame de Montrose, they poured their third label Tertio de Montrose 2019. We may downgrade this stop from “must stop” to “can stop.”
· Château Meyney: Served their 2010 vintage, which was drinking beautifully. We may upgrade this stop for next year.
· Château Haut-Marbuzet: Offered half-bottles of their 2013, which had matured elegantly. Another upgrade.
· Chateau Le Crock: Served their 2018 vintage which showed significant promise. Worth an upgrade for next year.
What are our lessons? Proxies can mislead. Labels are imperfect. Ground truth requires feedback loops from deployment, not just theoretical assumptions. By building this flywheel, we can optimise better every year, informing our decisions in future marathons.
Resilience under uncertainty : why we won’t be building the “perfect” optimisation algorithum
Given these limitations, will we be adding more constraints to our optimisation algorithm next year? Maybe a few, but not all of them. Here is why.
No matter how carefully we tune a model, the field will always introduce uncertainty. We could endlessly tweak our optimisation to account for every variable — weather, group dynamics, serving sizes — but the cost of perfect modelling is often greater than the benefit. A more powerful approach is to design robust, flexible meta-strategies that can adapt in the moment.
In optimising the Médoc Marathon, we assumed a high degree of predictability, yet the reality of race day taught us otherwise. Chaos Theory asserts that even the smallest alteration in initial conditions can radically change a system’s trajectory. Small deviations in our marathon conditions — our “butterflies” — can cascade into major outcome shifts.
In dynamic environments, robustness and adaptability often matter more than precise calculations. Precision is valuable, but resilience is essential. As defined by Dr. David Spiegelhalter, uncertainty is “the conscious awareness of ignorance.” In real-world, messy, complex systems, we should have the self-awareness and humility to acknowledge what we don’t know and what we cannot control. Then, we should go on to build strategies, models, and organisations that are resilient to shocks, flexible to change, and adaptive enough to thrive in uncertainty. This goes beyond the marathon and represents our philosophy in deployment of machine learning systems in real-world use cases.
The Médoc Marathon is not the race to obsessively track the metrics on our smartwatches. We can use the data to train and prepare ourselves toward the optimal target pace. We can deploy strategies that are adaptive, not brittle. We marked down our target times at key wine stops and adjusted our pace wherever it was needed. On the day of the race, we stopped to smell and savour the wine, danced to the live music, and went back for that second (and third) glass of wine. After all, we had trained all year for this day.
Models provide structure, but memories are made in the moments you don’t plan for.
======
Excessive consumption of alcohol is harmful to health. Please drink responsibly.

