{
    "score": 40,
    "verdict": "not_ready",
    "counts": {
        "critical": 2,
        "major": 2,
        "minor": 2
    },
    "summary": "The calibration certificate contains critical discrepancies. The customer name on the certificate differs from the job record, and reference standard TEQ030 was expired on the date of calibration. Additionally, the instrument size and range on the certificate do not match the job record, and formula errors (#REF! and #DIV\/0!) exist in the observation sheet.",
    "readings": {
        "points_total": 5,
        "points_missing": 0,
        "points_out_of_tolerance": 0,
        "note": "All 5 calibration points have complete sets of readings."
    },
    "documents": [
        {
            "key": "observation_sheet",
            "label": "Observation sheet (Excel)",
            "available": true,
            "reason": null,
            "issues": 2
        },
        {
            "key": "draft_certificate",
            "label": "Draft certificate",
            "available": true,
            "reason": null,
            "issues": 4
        },
        {
            "key": "unsigned_certificate",
            "label": "Unsigned certificate",
            "available": true,
            "reason": null,
            "issues": 0
        },
        {
            "key": "signed_certificate",
            "label": "Signed certificate",
            "available": true,
            "reason": null,
            "issues": 0
        }
    ],
    "checklist": [
        {
            "key": "customer",
            "label": "Customer name and address",
            "status": "issue",
            "note": "Customer name on certificate ('AIPL') does not match job record ('Einfochips')."
        },
        {
            "key": "identification",
            "label": "Instrument identification (name, make, model, serial \/ ID no.)",
            "status": "issue",
            "note": "Pipe size on certificate ('25 NB (1\")') does not match job record ('4\"')."
        },
        {
            "key": "range",
            "label": "Range, resolution and least count",
            "status": "issue",
            "note": "Range on certificate ('0.45 to 9 m³\/hr') does not match job record ('1 to 200 m³\/hr')."
        },
        {
            "key": "dates",
            "label": "Calibration date, issue date and next due date",
            "status": "pass",
            "note": "Calibration date, issue date, and next due date are correct and logical."
        },
        {
            "key": "certificate_no",
            "label": "Certificate number and ULR number",
            "status": "pass",
            "note": "Certificate number and ULR number match across all documents."
        },
        {
            "key": "standards",
            "label": "Reference standards and traceability (validity on calibration date)",
            "status": "issue",
            "note": "Reference standard TEQ030 expired on 10\/09\/2025 prior to calibration date 24\/12\/2025."
        },
        {
            "key": "environment",
            "label": "Environmental conditions (temperature, humidity)",
            "status": "pass",
            "note": "Environmental conditions are recorded."
        },
        {
            "key": "method",
            "label": "Calibration procedure \/ method reference",
            "status": "pass",
            "note": "Calibration procedure reference COP\/005-01 and NABL 129-2019 are stated."
        },
        {
            "key": "readings",
            "label": "All calibration points have readings (no blanks)",
            "status": "pass",
            "note": "All 5 calibration points have complete readings."
        },
        {
            "key": "calculations",
            "label": "Calculations (mean, error, correction) are correct",
            "status": "issue",
            "note": "Formula error #REF! found in cell E13 of Observation tab, and #DIV\/0! errors found in row 11 of Uncertainty tab."
        },
        {
            "key": "uncertainty",
            "label": "Measurement uncertainty stated with coverage factor",
            "status": "pass",
            "note": "Expanded uncertainty is stated with coverage factor k=2 at ~95.45% confidence level."
        },
        {
            "key": "conformity",
            "label": "Statement of conformity and decision rule",
            "status": "pass",
            "note": "Decision rule specifies conformity not required."
        },
        {
            "key": "units",
            "label": "Units and significant figures are consistent",
            "status": "pass",
            "note": "Units are consistent throughout."
        },
        {
            "key": "signatures",
            "label": "Calibrated by, checked by and authorized signatures",
            "status": "pass",
            "note": "Signatures are present on signed certificate."
        },
        {
            "key": "consistency",
            "label": "Draft, unsigned and signed certificates match each other",
            "status": "pass",
            "note": "Draft, unsigned, and signed certificates match."
        }
    ],
    "findings": [
        {
            "severity": "critical",
            "type": "mismatch",
            "document": "draft_certificate",
            "location": "Draft certificate, page 1, Details of Customer",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "AIPL",
            "field": "Customer Name",
            "found": "AIPL",
            "expected": "Einfochips",
            "message": "Customer name on certificate ('AIPL') does not match job record ('Einfochips').",
            "checklist_key": "customer"
        },
        {
            "severity": "critical",
            "type": "wrong",
            "document": "draft_certificate",
            "location": "Draft certificate, page 1, Details of Calibration Masters and Traceability",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "Valid up to 10\/09\/2025",
            "field": "Standard Validity Date",
            "found": "10\/09\/2025",
            "expected": "On or after 24\/12\/2025",
            "message": "Reference standard TEQ030 calibration validity expired on 10\/09\/2025 prior to the calibration date of 24\/12\/2025.",
            "checklist_key": "standards"
        },
        {
            "severity": "major",
            "type": "mismatch",
            "document": "draft_certificate",
            "location": "Draft certificate, page 1, Details of Device under Calibration (DUC)",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "25 NB (1\")",
            "field": "Size",
            "found": "25 NB (1\")",
            "expected": "4\"",
            "message": "Instrument size on certificate ('25 NB (1\")') does not match job record ('4\"').",
            "checklist_key": "identification"
        },
        {
            "severity": "major",
            "type": "mismatch",
            "document": "draft_certificate",
            "location": "Draft certificate, page 1, Details of Device under Calibration (DUC)",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "0.45 to 9 m³\/hr",
            "field": "Range of Meter",
            "found": "0.45 to 9 m³\/hr",
            "expected": "1 to 200 m³\/hr",
            "message": "Instrument range on certificate ('0.45 to 9 m³\/hr') does not match job record specification ('1 to 200 m³\/hr').",
            "checklist_key": "range"
        },
        {
            "severity": "minor",
            "type": "calculation",
            "document": "observation_sheet",
            "location": "Observation sheet, tab Observation, cell E13",
            "page": 0,
            "sheet": "Observation",
            "cell": "E13",
            "quote": "1.1 m³\/hr, 2.5 m³\/hr, 4 m³\/hr, 6 m³\/hr, 8.5 m³\/hr",
            "field": "Calibration Point formula",
            "found": "Formula contains #REF! error terms",
            "expected": "Valid formula without #REF! errors",
            "message": "Formula in cell E13 contains invalid cell reference (#REF!) terms.",
            "checklist_key": "calculations"
        },
        {
            "severity": "minor",
            "type": "calculation",
            "document": "observation_sheet",
            "location": "Observation sheet, tab Uncertainty, cell H11",
            "page": 0,
            "sheet": "Uncertainty",
            "cell": "H11",
            "quote": "#DIV\/0!",
            "field": "Stdev of Master",
            "found": "#DIV\/0!",
            "expected": "Clean formula evaluation or empty row",
            "message": "Row 11 in Uncertainty worksheet contains #DIV\/0! calculation errors due to unpopulated row reference.",
            "checklist_key": "calculations"
        }
    ],
    "scoring": "Starts at 100. Each critical finding −20, major −8, minor −2.",
    "provider": "gemini",
    "usage": {
        "model": "gemini-3.6-flash",
        "input_tokens": 26731,
        "output_tokens": 8016
    },
    "job_id": 316,
    "reviewed_at": "2026-11-13T12:54:14+05:30",
    "reviewed_by": 1,
    "files_fingerprint": "efcd62cb0c24b846ae73fe349c4801aa496de692",
    "previous_score": null,
    "job_status_at_review": "Authorized"
}