he NASCAR . My inspiration began the day I watched my first NASCAR race live. I was struck by the relentless focus of drivers pushing through 300 laps — the revs, the sweat, the burnouts, the sound of pure determination. That blend of human endurance and machine precision made me wonder: could AI feel the rhythm of a race — the micro-decisions, the drop in grip, the perfect lap that defines victory? This curiosity drove me to build Race Strategist AI, a system that learns from telemetry and predicts when a driver should pit before performance fades.
What it does
RazorEdge turns raw, noisy GR Cup telemetry into actionable race strategy, live.
- Predicts next-lap performance degradation
- Flags optimal pit windows before tire fall-off destroys pace
- Delivers driver consistency scores, degradation curves, and strategy simulations
- Runs 100% in-browser at https://razoredge.quantedgeai.io (powered by Streamlit + Cloudflare Tunnel)
How I built it
72 +hour sprint. Zero compromises.
- Data & Modeling Layer (Python / Pandas / XGBoost / LightGBM)
- Ingests high-frequency telemetry (speed, throttle, brake, lateral G, steering, RPM)
- Engineers lap-wise degradation features + statistical outlier rejection
- Trains ensemble models to predict next-lap drift (threshold > 1.8 s → pit alert)
- Ingests high-frequency telemetry (speed, throttle, brake, lateral G, steering, RPM)
- Interactive Visualization Layer (Streamlit)
- Real-time driver consistency index
- Degradation curves with ML vs heuristic pit-window overlays
- One-click exportable strategy reports (.csv)
- Real-time driver consistency index
- Deployment
- Dockerized + Cloudflare Tunnel → instantly live at razoredge.quantedgeai.io
Challenges I ran into
- Driver IDs mismatched between provisional results and telemetry → built
_driver_norm_keynormalization engine - Extreme outliers (lap times < 20s or > 200s from sensor glitches) → fixed with robust statistical clipping
- Noisy lateral-G and brake traces → multi-stage smoothing + physics-aware filterin
Accomplishments that I'm proud of
- Built a complete race-intelligence engine — from raw telemetry to live tactical dashboard
- Delivered insights that actually change race outcomes
- Created the first real-time pit-window predictor for GR Cup using pure telemetry
- Modular, production-grade architecture ready for multi-season, multi-circuit scaling
- Quantifiable predictions — lap time loss per stint, exact tire wear rates, optimal pit lap ±1 accuracy
- Tactical UI so clean even non-technical crew chiefs understand it instantly
- Delivered real-time insights that actually matter to drivers & strategists The next-lap predictor, tire-degradation model, pit-window heuristic, and driver-norm analysis work together to produce actionable insights—not just graphs.
- Created a unified ML + Simulation pipeline RazorEdge combines machine learning, domain heuristics, and race simulations into a single console that helps answer “what should I do right now?”
- Designed a tactical, modern UI for instant understanding Every insight—driver cluster, tire wear, pit window, predicted lap time—is presented clearly so even a non-technical user can interpret it at a glance.
- Modular engineering that scales
- The codebase is built on a clean architecture:
- ingest/ data pipeline
- feature_engineer/ transformations
- models/ ML components
- realtime/ strategy simulation
- dashboard/ for UI
- Delivered quantifiable predictions — not hype Models provide measurable impact:
- Lap time estimates
- Tire wear rates
- Degradation curves
- Pit strategy outcomes This turns telemetry into decision-grade intelligence.
What I learned
Designing consistent data pipelines for noisy, incomplete GR Cup race telemetry.
- How to wrangle real-world, incomplete, high-frequency motorsport telemetry
- The art of turning sensor noise into strategic signal
- Engineering responsive Streamlit dashboards with Cloudflare live tunnels for real-time insight.
- How to design real-time analytical pipelines for high-frequency telemetry.
- Methods to normalize heterogeneous driver data, unify inconsistent lap annotations, and merge telemetry with event marker
What's next for RazorEdge & QuantEdge
- Real-time track-side telemetry ingestion (live API / websocket feed) The next step is to connect RazorEdge to live data so pit crews can see predictions update lap-by-lap.
- Full pit-strategy optimizer (multi-lap Monte Carlo engine) Build a higher-accuracy simulator using probabilistic models to evaluate thousands of race outcomes.
- Driver digital twins Train personalized models per driver to understand their degradation patterns, consistency, aggressiveness, and drop-off predictions.
- Cross-race learning Expand beyond Barber to other circuits and conditions so RazorEdge evolves into a multi-track, multi-driver intelligence platform.
- AI-generated commentary layer Use LLMs to narrate strategy: “Driver 86 is losing 0.21s/lap due to tire fade—pit window optimal in next 2 laps.”
- Integration into QuantEdgeAI Tactical Cloud RazorEdge will become part of the broader QuantEdgeAI ecosystem alongside: CipherEdge Forensics Echo-6 Tactical Agent FlowFusion AI Pipelines
- Polished SaaS product (2026) A browser-based platform for race teams, drivers, and simulation engineers.
Built With
- python
- streamlit
Log in or sign up for Devpost to join the conversation.