I analyzed Carlos Sainz's "impossible" 50-lap Singapore stint using Python & data! Here's the secret to his smooth operation.
Like many F1 fans, I was amazed by Sainz's 50-lap opening stint in Singapore. Everyone's calling him the Smooth Operator, but I wanted to understand *how* he actually managed it with data.
I dove into the lap times using Python (FastF1 library) to compare his tyre degradation against the rest of the field and even projected what an average driver's stint might have looked like. Turns out, he was neutralizing degradation (\~0.084s/lap loss for others!) in a way almost no one else could.
I wrote up my findings and visualizations in my first Medium post – would love for you to check it out and let me know what you think!
[https://medium.com/@shreyagantayat03/analysis-of-carlos-sainz-really-pulled-off-his-impossible-50-lap-stint-0ed573a7d8d8](https://medium.com/@shreyagantayat03/analysis-of-carlos-sainz-really-pulled-off-his-impossible-50-lap-stint-0ed573a7d8d8)
This was my first F1 data project, so any feedback is super helpful. Are you interested in seeing more analyses like this (e.g., Safety Car impacts, undercut vs. overcut, other Grand Prix analysis, Drama factor analysis)? Let me know your suggestions!
I dove into the lap times using Python (FastF1 library) to compare his tyre degradation against the rest of the field and even projected what an average driver's stint might have looked like. Turns out, he was neutralizing degradation (\~0.084s/lap loss for others!) in a way almost no one else could.
I wrote up my findings and visualizations in my first Medium post – would love for you to check it out and let me know what you think!
[https://medium.com/@shreyagantayat03/analysis-of-carlos-sainz-really-pulled-off-his-impossible-50-lap-stint-0ed573a7d8d8](https://medium.com/@shreyagantayat03/analysis-of-carlos-sainz-really-pulled-off-his-impossible-50-lap-stint-0ed573a7d8d8)
This was my first F1 data project, so any feedback is super helpful. Are you interested in seeing more analyses like this (e.g., Safety Car impacts, undercut vs. overcut, other Grand Prix analysis, Drama factor analysis)? Let me know your suggestions!
Commentaires
\- Maybe open with a short factual basis? Who, when, what - before going into the social media buzz and whatnot. People forget fast, a bit of grounding helps. Maybe even a link for people who need more context.
\- Data cleaning: The outlap and inlap will be obvious outliers in this dataset, consider excluding them. Especially when you start calculating averages, it's quite bad if you average in inlaps with the normal laps.
\- Know your audience: I'd assume most people reading a data breakdown are not there for the methodology, not there to read Python code. I think it's fine to link to source code but I wouldn't put the Python code in the article.
\- Balance of the article: To me, for a data focused article, it's a bit light on metrics calculated and explained, and a bit heavy on storytelling. "an average driver was losing 0.084 seconds per lap to tyre wear" - this is cool, but I don't necessarily need three sentences about you deciding to calculate this and I'd love to hear more about what exactly this means, and what's this metric for Sainz specifically in comparison.
Author described plotting lap times in detail (even included python script) but when it came to explaning "modeling performance of other drivers", we only got a short sentence with no explanation, and a meaningless number of 0.084s. Without actually seeing the method and numbers, this approach is basically voodoo math. Calculating this "powerful benchmark" is nearly impossible - if it was this simple then no F1 teams would pay millions for their own strategy departments (either way, Ferrari would still get it wrong)
There are tens or even thousands of siginificant factors that are difficult to accurately or even semi-accurately account for. Proclaming that Sainz P18-P10 is solely due to his smooth operation (or magically ignoring the tire wear) is misleading at best, and incorrect at worst. I agree that Sainz drove a beautiful race. Instead of comparing Sainz to the whole field, it would perhaps be more accurate to compare him to Albon or Lawson as they both started on mediums and drove quite long stints in sort of similar environment.
Again, i applaud the author for writing this, and my comment is not a negative "shut down" in any way or form.
This is only my first blog post ever and I really did need the feedback to improve on my further blogs, so thank you for your insights. As a data analyst who aims to work for F1 someday, I know I have so much to improve, this was just a first step, I know they wouldn’t pay millions to me right now, but this is a stepping stone which will only improve.
I compared Sainz to everyone on mediums first on that day, and then the whole field if they did have mediums on, which was a hypothetical. Perhaps, I did not do a very good job explaining that, I’ll takes your notes and do better next time!
Python, R, Julia, an excel spreadsheet -- you could have done this exact analysis with a million different tools and the results would be the same.
The problem with the article are that it promises big revelations but explains nothing beyond showing Sainz's pace vs the rest of the grid, while accounting for none of the minutia/outliers that would color these numbers. You explicitly state you will show *how* he did something and then only show *that* he did it.
But being able to explain Sainz's pace would require significantly deeper analysis than just plotting his pace vs the grid's average.
If you do write it yourself consider taking a look at writing style, as to me and many other people this style feels very unnatural.
But if you enjoy doing this by all means go ahead, gotta start somewhere.
So you've started with the question - how was Sainz able to go 50 laps? You then do data analysis of his tyre wear and that of others, and say that using this data we can see his tire wear was less. The issue is: going 50 laps was proof of that itself. Him having better tire wear than others was obvious and self evident - it was they why and how that is interesting, and what I thought this article would answer. Instead, it fails to answer the question it set out for itself, and reads like a fan piece about Sainz with some pointless data analysis thrown in to make it seem more legit.
Harsh feedback I know, but I've gotta be honest.
Edit: I've got an example that might help get my point across better. Imagine there's a pizza eating contest and a Mr. Yamamoto eats 50 pizzas in an hour versus the 20 or 30 that his competitors eat. I then say I will use data and Python to reveal his secret of how he was able to eat more. I put together a Python script which shows that Mr. Yamamoto ate more pizza per minute than his competitors. I then conclude that he was better at eating pizza than his competitors. All I've done is proven what was in the question - he ate more. My data is self evident due to the end outcome, and I've given zero reason how he was able to eat more.
If the answer is no, then you just wasted people's time while generating inconsequential plots with your shiny tool.
This just leads one to thing you just used AI to generate all this, and came here to get your ego massaged. Sorry, not sorry, for some honest feedback
And you literally claimed people would understand why Sainz was able to do that stint in your opening post
B) you show clear dismissive attitude/arrogance when confronted with negative feedback
I would strongly urge you to go back to the drawing board and think about what you are doing and why. I mean this not just in the sense of data analysis, but why data analysis. The sooner you do this, the better your future output would be.
It makes it sound like you don't know what you're doing. Additionally it gives MASSIVE ChatGPT vibes
I didn't look at your script, but projects like these, and doing a write up, are how people SHOULD learn to program. It's a good use of time.