if you actually want to try to understand stamina you could try simulating it but I think it's only in japanese https://mee1080.github.io/umasim/race/
ウマ娘レースエミュレータ移植版
ウマ娘のレースに関する計算機
mee1080.github.io