Nahid-ahmdv/F1_LapTime_Simulator ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple F1 lap time simulator notebook that uses real session telemetry and a basic physics model to estimate a driver’s fastest lap.

I want to be able to pick a 2025 race session, load the lap data, and compare a simulated lap against the real one. The notebook should split the track into small distance segments, work out corner and straight speed limits, then calculate an optimized speed profile with braking, acceleration, tyre grip, DRS, and rev limit effects. It should show clear plots for real versus simulated speed, cumulative time, and acceleration, plus a summary with lap time difference and accuracy.

If possible, include a track animation and let me save it as a GIF or MP4. Please make it easy to run from the notebook, and if you need current FastF1 details or docs, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab