Fast-F1 icon indicating copy to clipboard operation
Fast-F1 copied to clipboard

[BUG] Incorrect Qatar Sprint results due to not applied penalties

Open mdsakalu opened this issue 1 year ago • 3 comments

Describe the issue:

Sprint results from 2023 Qatar are wrong when loading from F1 live timing API due to penalties applied after the finish. Not sure if there are any data sources to allow fastf1 to apply penalties outside of the official FIA documents or ergast.

Reproduce the code example:

qatar = fastf1.get_event(2023, 17)
sprint = qatar.get_sprint()
sprint.load()
print(sprint.results)

Error message:

No response

mdsakalu avatar Oct 10 '23 02:10 mdsakalu

No, there are no other data sources for this data. And given that Ergast does not support the Sprint, it's currently impossible for FastF1 to provide the correct results.

theOehrly avatar Oct 10 '23 08:10 theOehrly

I think the only good source for penalties are only available from FIA decision documents. But if you are interested in the post-penalty correct finishing order, formula1.com is pretty good and easy to use/scrape (https://www.formula1.com/en/results.html/2023/races/1221/qatar/sprint-results.html).

@theOehrly Maybe worth adding sprint race support to #445?

harningle avatar Oct 10 '23 15:10 harningle

@theOehrly Maybe worth adding sprint race support to #445?

It's not mentioned there, but I'm intending to support all session types, yes.

theOehrly avatar Oct 10 '23 15:10 theOehrly