{
  "suite": "LibreOffice Calc 25.2.3.2, headless UNO",
  "date": "2026-10-10",
  "dataset": "compatibility-fixture.csv",
  "workbook_sha256": "2f243dcaaeef22040739f913bbe9826f4224b38a5c43a8e253ed1c87965b0528",
  "checks": [
    {
      "id": "countifs",
      "formula_as_stored_in_ods": "of:=COUNTIFS([$Data.A2:.A6];\"North\";[$Data.B2:.B6];\"Open\")",
      "expected": "2",
      "observed": "2",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "xlookup",
      "formula_as_stored_in_ods": "of:=COM.MICROSOFT.XLOOKUP(\"SKU-103\";[$Data.D2:.D6];[$Data.E2:.E6];\"Not found\")",
      "expected": "Gamma",
      "observed": "Gamma",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "vlookup",
      "formula_as_stored_in_ods": "of:=VLOOKUP(\"SKU-103\";[$Data.D2:.E6];2;0)",
      "expected": "Gamma",
      "observed": "Gamma",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "regex-extract",
      "formula_as_stored_in_ods": "of:=ORG.LIBREOFFICE.REGEX(\"Order 0042\";\"[0-9]+\")",
      "expected": "0042",
      "observed": "0042",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "regex-replace",
      "formula_as_stored_in_ods": "of:=ORG.LIBREOFFICE.REGEX(\"Order 0042\";\"[0-9]+\";\"ID\";\"g\")",
      "expected": "Order ID",
      "observed": "Order ID",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "sumproduct",
      "formula_as_stored_in_ods": "of:=SUMPRODUCT([$Data.C2:.C6];[$Data.F2:.F6])",
      "expected": "955",
      "observed": "955",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "index-match",
      "formula_as_stored_in_ods": "of:=INDEX([$Data.E2:.E6];MATCH(\"SKU-103\";[$Data.D2:.D6];0))",
      "expected": "Gamma",
      "observed": "Gamma",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "iferror",
      "formula_as_stored_in_ods": "of:=IFERROR(VLOOKUP(\"SKU-999\";[$Data.D2:.E6];2;0);\"Not found\")",
      "expected": "Not found",
      "observed": "Not found",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "textjoin",
      "formula_as_stored_in_ods": "of:=COM.MICROSOFT.TEXTJOIN(\" / \";1;[$Data.E2:.E3])",
      "expected": "Alpha / Beta",
      "observed": "Alpha / Beta",
      "passed": true,
      "method": "native formula result",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "unique",
      "formula_as_stored_in_ods": "of:=COUNTA(COM.MICROSOFT.UNIQUE([$Data.A2:.A6]))",
      "expected": "2",
      "observed": "2",
      "passed": true,
      "method": "scalar result check for a nested array formula; full spill not verified",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "filter",
      "formula_as_stored_in_ods": "of:=SUM(COM.MICROSOFT.FILTER([$Data.C2:.C6];([$Data.A2:.A6]=\"North\")*([$Data.B2:.B6]=\"Open\");0))",
      "expected": "200",
      "observed": "200",
      "passed": true,
      "method": "scalar result check for a nested array formula; full spill not verified",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    },
    {
      "id": "sort",
      "formula_as_stored_in_ods": "of:=INDEX(COM.MICROSOFT.SORT([$Data.C2:.C6];1;1);1;1)",
      "expected": "50",
      "observed": "50",
      "passed": true,
      "method": "scalar result check for a nested array formula; full spill not verified",
      "calculation_error": "none observed in LibreOffice UNO runtime"
    }
  ],
  "testing_scope": "Only LibreOffice Calc executed. Other vendor examples checked against first-party sources, not run.",
  "caveat": "Array formulas wrapped in scalar aggregations validate calculations, not full array spill areas."
}
