I'll break down how calculate_ev works and how its arguments are calculated.
For each betting outcome, three arguments are passed:
price: The American odds for the current bet you're analyzingsame_side_lines: List of prices from other bookmakers for the same outcome (e.g., all "Team A to win" prices)