from src.model.odds import Choices def calculate(budget: int, raw_text: str) -> tuple[str, list[list]]: choices = Choices.from_text(raw_text) choices_with_bet = choices.to_choices_with_bet(budget) summary_markdown = choices_with_bet.to_summary_markdwown() table = choices_with_bet.to_table() return summary_markdown, table def clear(text: str) -> str: return ""