TousifAli

Index4 destinations

Available · 2026

Local time in Bengaluru: BLR --:--
Let's talk
Case 05 / 08Competition build

Le Man's T2

Real-time failure prediction for endurance racing. Built in 24 hours by a team of five; won the ClearRoute x Le Mans 24h Hackathon globally.

Global winner
Role
Originated the concept and engineered the architecture, on a team of five
Scope
Problem framing, system architecture, output design, real-time pipeline
Stack
Python · Flask · Machine learning · WebSockets · React · TypeScript · 3D visualisation
Global, across 4 offices
1st
Concept to working system
24h
Team size
5
The unit we chose to predict
Laps

01Problem / 05

Why it needed building

Endurance racing runs cars for 24 hours straight, and components fail mid-race. Engineers find out after the damage, not before — a retirement costs a team money and championship position. The data to see it coming exists in the telemetry; nothing was turning it into a decision anyone could act on during a race.

ClearRoute runs an annual motorsport hackathon in partnership with United Autosports — a 24-hour build synchronised with the 24 Hours of Le Mans, run simultaneously across four international offices. The brief was open: improve race team performance.

The product move

Most teams reach for a better model. The decision that won was about the output, not the algorithm: predict laps-to-failure rather than a probability of failure, because a probability is something an engineer has to interpret under pressure and a lap count is something they can act on.

02What I built / 05

What I built

A complete working system inside the 24-hour window: simulated sensor telemetry feeding a Python/Flask backend running an ML model, streamed over WebSockets to a React and TypeScript frontend, with a 3D dashboard showing which components were at risk and how much longer they had. I originated the idea and engineered the architecture; four teammates built alongside me.

Architecture

  1. 01 / 06Simulated sensor telemetry
  2. 02 / 06Python / Flask ingestion
  3. 03 / 06ML failure model
  4. 04 / 06WebSocket streaming
  5. 05 / 06React + TypeScript client
  6. 06 / 063D risk dashboard

What this is

A competition build, not a production system

Worth being clear about what this is: a twenty-four hour competition build by a team of five, not a production system with users. The idea and the architecture were mine; four other people built it with me. What it demonstrates is a decision made under time pressure and judged by other people — which is the part that does not transfer from a portfolio.

The decision that won it

Predict laps, not probability

Same underlying prediction, two different outputs.

  • 01

    What a model usually says: 73% chance of failure

    Technically correct, and it hands the hard part back to a person who is already busy. Seventy-three percent of what, by when, and do I pit now?

  • 02

    What we shipped: 9 laps remaining

    Same underlying prediction. But a lap count is already a decision — it lines up with pit windows, stint planning, and the way a race engineer thinks under pressure.

Output contract

A number you can act on

Most teams reach for a better model. The thing that made ours useful was not the algorithm — it was choosing an output contract that matched how the user already works. A probability is a number you have to interpret. A lap count is a number you can act on.

The judging reflected that. Entries were assessed on impact to real team performance rather than demo polish, and that is the difference between a model that is impressive and a model that gets used.

03Decisions / 05

What I decided, and what it cost

  1. 01

    Predict laps, not probability

    A model that says "73% chance of failure" moves the hard problem onto the person reading it mid-race. A model that says "about nine laps left" is already a decision. Same underlying prediction, different output contract — and only one of them survives contact with a pit wall.

  2. 02

    Stream it, do not poll it

    Race data is only useful while the race is happening. WebSockets rather than request/response meant the dashboard reflected the current state of the car instead of the state at the last refresh.

  3. 03

    Show the car, not a table

    A 3D view of which components were at risk reads instantly under pressure. A table of component names and numbers does not. The interface had to be legible to someone who is already busy.

  4. 04

    Simulate the sensors

    Real telemetry was not available in the window. Simulating it was the honest way to prove the pipeline end to end rather than faking the demo with fixed values.

04Constraints / 05

What I had to work within

  • C.01Twenty-four hours, total, including deciding what to build.
  • C.02No access to real race telemetry.
  • C.03Five people working in parallel on one system with no time to rework interfaces.

05Outcome / 05

What happened

Won globally. The roadmap presented alongside it — driver radio sentiment analysis, historical data to sharpen accuracy, proactive alerting to engineers — pointed at the same idea: move the system further toward making the decision rather than reporting the data.

  • 01Won globally against entries from ClearRoute offices in Sydney, Bulgaria, India, and London.
  • 02Judged on impact to real team performance, not demo polish.
  • 03Chose laps-to-failure as the output — a number a race engineer can act on mid-race.
  • 04Delivered a complete streaming pipeline end to end inside the 24-hour window.
Next case06 / 08
Feedback CascadeInnovation challenge winner