{
  "locale": "en",
  "instructions": "JSON with both fictional matrices and costs plus blank fields for labels, threshold versions, consequences, review capacity and approval.",
  "demonstrationOnly": true,
  "source": "https://vrolen.com/blog/ai-visual-inspection-threshold/",
  "workedTables": [
    {
      "title": "Compare two thresholds on the same fictional parts",
      "headers": [
        "Outcome",
        "Lower threshold",
        "Higher threshold"
      ],
      "rows": [
        [
          "True positives: defective flagged",
          "95",
          "80"
        ],
        [
          "False negatives: defective missed",
          "5",
          "20"
        ],
        [
          "False positives: good flagged",
          "198",
          "49"
        ],
        [
          "True negatives: good passed",
          "9702",
          "9851"
        ],
        [
          "Total parts",
          "10000",
          "10000"
        ]
      ]
    }
  ],
  "modelIdentifiersAreStable": true,
  "checkedModel": {
    "matrices": [
      {
        "tp": 95,
        "fn": 5,
        "fp": 198,
        "tn": 9702,
        "total": 10000,
        "recall": 0.95,
        "precision": 0.3242320819112628,
        "accuracy": 0.9797,
        "falsePositiveRate": 0.02,
        "flagged": 293,
        "assumedErrorCost": 896
      },
      {
        "tp": 80,
        "fn": 20,
        "fp": 49,
        "tn": 9851,
        "total": 10000,
        "recall": 0.8,
        "precision": 0.6201550387596899,
        "accuracy": 0.9931,
        "falsePositiveRate": 0.004949494949494949,
        "flagged": 129,
        "assumedErrorCost": 2098
      }
    ],
    "assumedMissCostEur": 100,
    "assumedFalseRejectCostEur": 2,
    "releaseApproved": false
  },
  "blankRecord": [
    {
      "label": "Model and threshold version",
      "value": null
    },
    {
      "label": "Positive class and defect severity",
      "value": null
    },
    {
      "label": "Reference method",
      "value": null
    },
    {
      "label": "Train/validation/test boundary",
      "value": null
    },
    {
      "label": "True and false positives",
      "value": null
    },
    {
      "label": "True and false negatives",
      "value": null
    },
    {
      "label": "Consequences and cost assumptions",
      "value": null
    },
    {
      "label": "Review workload and capacity",
      "value": null
    },
    {
      "label": "Operational validation",
      "value": null
    },
    {
      "label": "Approval and monitoring evidence",
      "value": null
    }
  ]
}
