{
  "software": "apple-numbers",
  "function": "RANDBETWEEN",
  "native_application_execution": false,
  "checked_date": "2026-10-12",
  "method": "Independent mathematical/text-processing models, not Apple Numbers or Zoho Sheet execution; random tests check documented bounds/transforms, not randomness.",
  "official_function_reference": "https://support.apple.com/guide/functions/randbetween-ffa58c2118/15.4/web/1.0",
  "passed": 4,
  "total": 4,
  "cases": [
    {
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "variables": {
        "A": 1,
        "B": 6
      },
      "expected": 6,
      "numeric": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "variables": {
        "A": 0,
        "B": 9
      },
      "expected": 10,
      "numeric": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "variables": {
        "A": -5,
        "B": 5
      },
      "expected": 11,
      "numeric": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "variables": {
        "A": 2,
        "B": 7
      },
      "expected": 6,
      "numeric": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    }
  ],
  "independent_results": [
    {
      "case": 275,
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "actual_independent_model": 6,
      "expected": 6,
      "passed": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "case": 276,
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "actual_independent_model": 10,
      "expected": 10,
      "passed": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "case": 277,
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "actual_independent_model": 11,
      "expected": 11,
      "passed": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    },
    {
      "case": 278,
      "software": "apple-numbers",
      "function": "RANDBETWEEN",
      "expression": "INTEGER_BOUND_COUNT(A,B)",
      "actual_independent_model": 6,
      "expected": 6,
      "passed": true,
      "scope": "inclusive integer-bound mathematical check, not native RNG"
    }
  ]
}
