{
  "software": "gnumeric",
  "function": "ACOT",
  "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": 9,
  "total": 9,
  "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-ACOT",
    "https://github.com/GNOME/gnumeric/blob/GNUMERIC_1_12_62/src/sf-trig.c",
    "https://support.microsoft.com/en-us/excel/functions/acot-function"
  ],
  "examples": [
    {
      "case_id": 105,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A2))",
      "operation": "acot_degrees",
      "args": [
        -2
      ],
      "expected": -26.565051177,
      "native_executed": false,
      "model_result": -26.56505117707799,
      "passed": true
    },
    {
      "case_id": 106,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A3))",
      "operation": "acot_degrees",
      "args": [
        -1
      ],
      "expected": -45,
      "native_executed": false,
      "model_result": -45.0,
      "passed": true
    },
    {
      "case_id": 107,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A4))",
      "operation": "acot_degrees",
      "args": [
        0
      ],
      "expected": 90,
      "native_executed": false,
      "model_result": 90.0,
      "passed": true
    },
    {
      "case_id": 108,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A5))",
      "operation": "acot_degrees",
      "args": [
        1
      ],
      "expected": 45,
      "native_executed": false,
      "model_result": 45.0,
      "passed": true
    },
    {
      "case_id": 109,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A6))",
      "operation": "acot_degrees",
      "args": [
        2
      ],
      "expected": 26.565051177,
      "native_executed": false,
      "model_result": 26.56505117707799,
      "passed": true
    },
    {
      "case_id": 110,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(ACOT(A10/B10))",
      "operation": "acot_degrees",
      "args": [
        2
      ],
      "expected": 26.565051177,
      "native_executed": false,
      "inputs": {
        "A10": 4,
        "B10": 2
      },
      "model_result": 26.56505117707799,
      "passed": true
    },
    {
      "case_id": 111,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(IF(A2<0,ACOT(A2)+PI(),ACOT(A2)))",
      "operation": "acot_normalized_degrees",
      "args": [
        -1
      ],
      "expected": 135,
      "native_executed": false,
      "model_result": 135.0,
      "passed": true
    },
    {
      "case_id": 112,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=DEGREES(IF(A2<0,ACOT(A2)+PI(),ACOT(A2)))",
      "operation": "acot_normalized_degrees",
      "args": [
        -2
      ],
      "expected": 153.434948823,
      "native_executed": false,
      "model_result": 153.434948822922,
      "passed": true
    },
    {
      "case_id": 113,
      "software": "gnumeric",
      "function": "ACOT",
      "source_path": "content/gnumeric/functions/acot.md",
      "formula": "=COT(ACOT(2))",
      "operation": "cot_acot",
      "args": [
        2
      ],
      "expected": 2,
      "native_executed": false,
      "model_result": 2.0,
      "passed": true
    }
  ]
}
