{
  "schema": "memcat-vision-summary-v1",
  "createdAt": "2026-10-08T18:03:43.689Z",
  "status": "experimental \u2014 production gates not met",
  "productionReady": false,
  "model": {
    "name": "CLIP ViT-B/32",
    "revision": "d15189d7028b43f1d3e65039190477f6af591c2a",
    "quantization": "q8",
    "assetBytes": 89122045
  },
  "sample": {
    "training": 44,
    "calibration": {
      "supported": 34,
      "unknown": 30
    },
    "freshDiagnostic": {
      "productPhotos": 20,
      "receipts": 0,
      "screenshots": 0,
      "unknownLeaves": 30
    },
    "sourceLimitations": [
      "Food packaging from Open Food Facts only",
      "Unknowns are bean leaves from Makerere/NaCRRI only",
      "First-party MemCat screenshots used in development/calibration only",
      "No independently collected customer test set",
      "Labels are dataset-derived candidates and MemCat route mappings, not independent human adjudication"
    ],
    "runtimeReplication": "Browser repeated the same 50 images after CPU outcomes were observed, without retuning. It is runtime replication, not a second independent accuracy test."
  },
  "browser": {
    "indexSha256": "4c0635e5158d8f94900a6f731571521fecf822affc1ca3178924aeacf87a1b60",
    "encoderId": "clip-vit-b32@d15189d7028b43f1d3e65039190477f6af591c2a:q8:rgb-white-letterbox224-bilinear-v1:l2:transformers4.3.0:wasm-imagebitmap-v1",
    "environment": {
      "browser": "153.0.8010.12",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/153.0.8010.12 Safari/537.36",
      "platform": "darwin",
      "arch": "arm64",
      "cpu": "Apple M4 Max",
      "node": "v22.22.3",
      "device": "wasm",
      "inferenceThreads": 1
    },
    "loadMs": 3652.899999976158,
    "warmP50Ms": 196.70000004768372,
    "warmP95Ms": 204.19999992847443,
    "overall": {
      "total": 50,
      "supported": 20,
      "unknown": 30,
      "accepted": 20,
      "correctAccepted": 19,
      "incorrectAccepted": 1,
      "acceptedPrecision": 0.95,
      "acceptedPrecisionWilsonOneSided95Lower": 0.8039927632259837,
      "supportedCoverage": 1,
      "unknownFalseAccepts": 0,
      "unknownFalseAcceptRate": 0,
      "unavailable": 0
    },
    "perClass": {
      "product_photo": {
        "expected": 20,
        "acceptedOfExpected": 20,
        "correctPredictions": 19,
        "predicted": 19,
        "predictionPrecision": 1,
        "coverage": 1
      },
      "receipt": {
        "expected": 0,
        "acceptedOfExpected": 0,
        "correctPredictions": 0,
        "predicted": 1,
        "predictionPrecision": 0,
        "coverage": null
      },
      "screenshot": {
        "expected": 0,
        "acceptedOfExpected": 0,
        "correctPredictions": 0,
        "predicted": 0,
        "predictionPrecision": null,
        "coverage": null
      }
    },
    "gates": [
      {
        "id": "accepted_precision",
        "target": 0.98,
        "actual": 0.95,
        "passed": false
      },
      {
        "id": "precision_one_sided_95_lower",
        "target": 0.95,
        "actual": 0.8039927632259837,
        "passed": false
      },
      {
        "id": "supported_coverage",
        "target": 0.6,
        "actual": 1,
        "passed": true
      },
      {
        "id": "unknown_false_acceptance",
        "maximum": 0.02,
        "actual": 0,
        "passed": true
      },
      {
        "id": "minimum_100_per_supported_class",
        "actual": {
          "product_photo": 20,
          "receipt": 0,
          "screenshot": 0
        },
        "passed": false
      },
      {
        "id": "minimum_100_unknown",
        "actual": 30,
        "passed": false
      },
      {
        "id": "desktop_warm_p95_ms",
        "maximum": 250,
        "actual": 204.19999992847443,
        "passed": true
      }
    ]
  },
  "node": {
    "indexSha256": "b33839477359dc0e15a47ad176805ccca011709175451e8deae36c582b28a0c7",
    "encoderId": "clip-vit-b32@d15189d7028b43f1d3e65039190477f6af591c2a:q8:rgb-white-letterbox224-bilinear-v1:l2:transformers4.3.0:cpu-sharp0.35.5",
    "environment": {
      "platform": "darwin",
      "arch": "arm64",
      "cpu": "Apple M4 Max",
      "node": "v22.22.3",
      "device": "cpu",
      "inferenceThreads": 1
    },
    "loadMs": 192.66225000000003,
    "warmP50Ms": 35.81166699999994,
    "warmP95Ms": 39.87637499999994,
    "groups": {
      "Open Food Facts/sealed_test/product_photo": {
        "count": 20,
        "accepted": 20,
        "correct": 19,
        "acceptedPrecision": 0.95,
        "coverage": 1,
        "top1Correct": 19,
        "unavailable": 0
      },
      "AI-Lab-Makerere/beans/unknown_diagnostic/null": {
        "count": 30,
        "accepted": 0,
        "correct": 0,
        "acceptedPrecision": null,
        "coverage": 0,
        "top1Correct": 0,
        "unavailable": 0
      }
    }
  },
  "knownFailure": {
    "id": "openfoodfacts-6111246722107-1",
    "expected": "product_photo",
    "predicted": "receipt",
    "description": "A product bottle nutrition panel and barcode were mistaken for a receipt in both runtimes."
  },
  "publicDemo": {
    "model": "Separate uncalibrated text-prompt baseline",
    "indexPath": "/models/vision/upload-prompts-v1-browser.json",
    "reason": "Image-example candidate remains a local research artifact; experiment results must not be attributed to the public baseline."
  },
  "claims": {
    "genericAccuracy": false,
    "customerSavings": false,
    "mobileLatency": false,
    "cloudComparison": false
  },
  "nextData": "300-image independently labeled discovery batch, then a source-separated pilot and fresh sealed test.",
  "sources": [
    {
      "name": "CORD",
      "url": "https://github.com/clovaai/cord",
      "license": "CC-BY-4.0"
    },
    {
      "name": "Open Food Facts",
      "url": "https://openfoodfacts.github.io/openfoodfacts-server/api/tutorials/license-be-on-the-legal-side/",
      "license": "CC-BY-SA-3.0 images; ODbL database"
    },
    {
      "name": "Makerere beans",
      "url": "https://github.com/AI-Lab-Makerere/ibean",
      "license": "MIT"
    }
  ],
  "receipts": [
    {
      "path": "docs/vision/runs/browser-heldout-2026-10-08T18-01-17.981Z.json",
      "sha256": "6273a74c36527d17c6b0c2c5daf913635d8ff08ba7a82600cf0041212363e7c9"
    },
    {
      "path": "docs/vision/runs/diagnostic-2026-10-08T17-54-13.975Z.json",
      "sha256": "347fbf0c6adbf3ce978fe028c5e75d18bd9fe042c8e545d60545848d14f18d89"
    }
  ]
}
