Fast-F1
Fast-F1 copied to clipboard
[BUG] Incorrect Qatar Sprint results due to not applied penalties
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
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.
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?
@theOehrly Maybe worth adding sprint race support to #445?
It's not mentioned there, but I'm intending to support all session types, yes.