{
  "title": "Spreadsheet Cached Values in 2027: Why an AI Can Read Yesterday’s Total",
  "checkedOn": "2026-11-29",
  "dataKind": "Original synthetic teaching inputs; not observed market or merchant data.",
  "sources": [
    {
      "url": "https://learn.microsoft.com/en-us/office/open-xml/spreadsheet/working-with-formulas",
      "title": "Microsoft: Working with formulas",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "Open XML formula cells can include a formula element and a cached-value element."
      ]
    },
    {
      "url": "https://learn.microsoft.com/en-us/office/client-developer/excel/excel-recalculation",
      "title": "Microsoft: Excel Recalculation",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "Calculation dependencies and modes matter when describing a recalculation workflow."
      ]
    },
    {
      "url": "https://openpyxl.readthedocs.io/en/stable/api/openpyxl.reader.excel.html",
      "title": "openpyxl: reader API",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "data_only selects formula expressions versus stored results for formula cells."
      ]
    },
    {
      "url": "https://openpyxl.readthedocs.io/en/stable/simple_formulae.html",
      "title": "openpyxl: Simple Formulae",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "openpyxl does not evaluate spreadsheet formulas."
      ]
    }
  ],
  "defaultWorkedCase": {
    "kind": "N067",
    "input": {
      "first": "120",
      "second": "80",
      "cacheState": "present",
      "cached": "150"
    },
    "expectedMetrics": {
      "Independent two-cell sum": "200",
      "Stored result": "150",
      "Stored minus recomputed": "-50",
      "Check": "Mismatch"
    },
    "module": "ai"
  },
  "checks": [
    {
      "kind": "N067",
      "input": {
        "first": "120",
        "second": "80",
        "cacheState": "present",
        "cached": "150"
      },
      "expectedMetrics": {
        "Independent two-cell sum": "200",
        "Stored result": "150",
        "Stored minus recomputed": "-50",
        "Check": "Mismatch"
      },
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "120",
        "second": "80",
        "cacheState": "missing",
        "cached": ""
      },
      "expectedMetrics": {
        "Stored result": "Missing",
        "Stored minus recomputed": "Not available"
      },
      "expectedSummaryIncludes": "missing cache is not zero",
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "120",
        "second": "-120",
        "cacheState": "present",
        "cached": "0"
      },
      "expectedMetrics": {
        "Independent two-cell sum": "0",
        "Stored result": "0",
        "Check": "Matches this formula"
      },
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "0.1",
        "second": "0.2",
        "cacheState": "present",
        "cached": "0.3"
      },
      "expectedMetrics": {
        "Check": "Matches this formula",
        "Independent two-cell sum": "0.3"
      },
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "120",
        "second": "80",
        "cacheState": "present",
        "cached": ""
      },
      "expectError": "required",
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "Infinity",
        "second": "80",
        "cacheState": "present",
        "cached": "150"
      },
      "expectError": "plain number",
      "module": "ai"
    },
    {
      "kind": "N067",
      "input": {
        "first": "1e3",
        "second": "80",
        "cacheState": "present",
        "cached": "150"
      },
      "expectError": "plain number",
      "module": "ai"
    }
  ],
  "reproduction": "Use the supplied worksheet inputs and compare the labelled outputs. The browser tool makes no account connections and sends no inputs.",
  "calculationModule": "calculator.js"
}
