{
  "tool": "Round Robin Calculator",
  "route": "/tools/round-robin/",
  "fixture_url": "/tools/round-robin/test-fixtures.json",
  "formula_version": "Round Robin Ticket Math Model v1.0",
  "last_reviewed": "2026-05-19",
  "purpose": "Educational verification fixtures for round-robin ticket count, total risk, max payout and partial-win scenario math. These cases do not predict outcomes, model correlation, recommend stakes or decide settlement.",
  "cases": [
    {
      "case": "five_pick_round_3",
      "input": {
        "selections": 5,
        "round_size": 3,
        "stake_per_ticket": 10,
        "average_decimal_odds": 1.91
      },
      "expected": {
        "tickets": 10,
        "total_risk": 100,
        "max_gross_payout": 696.79,
        "max_profit": 596.79
      }
    },
    {
      "case": "four_pick_round_2",
      "input": {
        "selections": 4,
        "round_size": 2,
        "stake_per_ticket": 5,
        "average_decimal_odds": 2
      },
      "expected": {
        "tickets": 6,
        "total_risk": 30,
        "max_gross_payout": 120,
        "max_profit": 90,
        "partial_win_three_winners": {
          "winning_tickets": 3,
          "gross_return": 60,
          "profit": 30
        }
      }
    },
    {
      "case": "invalid_round_larger_than_selections",
      "input": {
        "selections": 4,
        "round_size": 5,
        "stake_per_ticket": 10,
        "average_decimal_odds": 1.9
      },
      "expected": {
        "status": "invalid",
        "message": "Round size must be between 2 and number of selections."
      }
    },
    {
      "case": "invalid_average_odds",
      "input": {
        "selections": 5,
        "round_size": 3,
        "stake_per_ticket": 10,
        "average_decimal_odds": 1
      },
      "expected": {
        "status": "invalid",
        "message": "Average decimal odds must be above 1.00."
      }
    },
    {
      "case": "pressure_boundary",
      "input": {
        "selections": 12,
        "round_size": 6,
        "stake_per_ticket": 10,
        "average_decimal_odds": 1.91
      },
      "expected": {
        "tickets": 924,
        "total_risk": 9240,
        "required_boundary": "If total risk creates pressure to deposit, chase or raise stakes, stop and use responsible-gambling support."
      }
    }
  ]
}
