

I WILL EMAIL YOU THE EXCEL SPREADSHEET THAT IS USED///// WHEN RUNNING THIS IN TERMINAL BOTH THESE BELOW SHOULD BE IN THE SAME DIRECTORY

strategy_llm.py – the main script

F12022ResultsMcLaren.xlsx – the 2022 McLaren dataset




YOU will have TO RUN THIS IN TERMNAL BELOW

(    pip install pandas openpyxl ollama   )


THIS IS THE MODEL WE WENT WITH SO THIS IS WHAY YOU WILL NEED AS WELL 

(   ollama pull qwen2.5:3b   )



The script currently processes only 5 races to reduce loading time:

MAX_RACES_TO_PROCESS = 5



To run the full dataset (44 races), change it to:

MAX_RACES_TO_PROCESS = len(df)




This strategy LLM:

Reads the 2022 dataset

Acts like an F1 race strategist

Generates structured JSON for each race

Prepares the output for 2023 accuracy comparison
