{
  "software": "gnumeric",
  "function": "COT",
  "review_date": "2026-10-12",
  "validation_method": "Independent Python numeric and limited database-criteria models; not a native application or a general spreadsheet parser. Error tokens model documented rules only.",
  "native_application_execution": false,
  "hugo_compiled": false,
  "passed": 6,
  "total": 6,
  "scope": "Explicit examples only, not every input or application version. Expected error tokens are documented rules, not observed native error outputs.",
  "official_references": [
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Mathematics.html#gnumeric-function-COT",
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Mathematics.html",
    "https://support.microsoft.com/en-us/office/cot-function-c446f34d-6fe4-40dc-9ded-0a45c13c42c4",
    "https://github.com/GNOME/gnumeric/blob/GNUMERIC_1_12_62/src/sf-trig.c"
  ],
  "examples": [
    {
      "case_id": 114,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=COT(RADIANS(A2))",
      "operation": "cot_degrees",
      "args": [
        30
      ],
      "expected": 1.732050808,
      "native_executed": false,
      "model_result": 1.7320508075688776,
      "passed": true
    },
    {
      "case_id": 115,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=COT(RADIANS(A3))",
      "operation": "cot_degrees",
      "args": [
        45
      ],
      "expected": 1,
      "native_executed": false,
      "model_result": 1.0000000000000002,
      "passed": true
    },
    {
      "case_id": 116,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=COT(RADIANS(A4))",
      "operation": "cot_degrees",
      "args": [
        60
      ],
      "expected": 0.577350269,
      "native_executed": false,
      "model_result": 0.577350269189626,
      "passed": true
    },
    {
      "case_id": 117,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=COT(RADIANS(A5))",
      "operation": "cot_degrees",
      "args": [
        89
      ],
      "expected": 0.017455065,
      "native_executed": false,
      "model_result": 0.017455064928217672,
      "passed": true
    },
    {
      "case_id": 118,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=COT(RADIANS(A6))",
      "operation": "cot_degrees",
      "args": [
        135
      ],
      "expected": -1,
      "native_executed": false,
      "model_result": -0.9999999999999999,
      "passed": true
    },
    {
      "case_id": 119,
      "software": "gnumeric",
      "function": "COT",
      "source_path": "content/gnumeric/functions/cot.md",
      "formula": "=A10*COT(RADIANS(B10))",
      "operation": "cot_degrees",
      "args": [
        30
      ],
      "expected": 6.92820323,
      "native_executed": false,
      "multiplier": 4,
      "model_result": 6.9282032302755105,
      "passed": true
    }
  ]
}
