{
    "score": 60,
    "verdict": "not_ready",
    "counts": {
        "critical": 2,
        "major": 0,
        "minor": 0
    },
    "summary": "The calibration documents contain two critical issues that must be corrected prior to certificate authorization. The customer name on the certificate does not match the job record, and environmental conditions display formula error '#DIV\/0!' due to unrecorded readings in the observation sheet.",
    "readings": {
        "points_total": 23,
        "points_missing": 0,
        "points_out_of_tolerance": 0,
        "note": "All 23 calibration points (8 external, 7 internal, and 8 depth measurements) have complete readings recorded within tolerance."
    },
    "documents": [
        {
            "key": "observation_sheet",
            "label": "Observation sheet (Excel)",
            "available": true,
            "reason": null,
            "issues": 0
        },
        {
            "key": "draft_certificate",
            "label": "Draft certificate",
            "available": true,
            "reason": null,
            "issues": 1
        },
        {
            "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 'AccuTest Calibration' on the certificate does not match 'RBD Engineers Pvt. Ltd.' in the job record."
        },
        {
            "key": "identification",
            "label": "Instrument identification (name, make, model, serial \/ ID no.)",
            "status": "pass",
            "note": "Instrument description, make, model, serial number, and ID number match the job record."
        },
        {
            "key": "range",
            "label": "Range, resolution and least count",
            "status": "pass",
            "note": "Calibration range (0 to 300 mm) and resolution (0.01 mm) are correct and consistent."
        },
        {
            "key": "dates",
            "label": "Calibration date, issue date and next due date",
            "status": "pass",
            "note": "Calibration date, issue date, and recommended next due date are consistent."
        },
        {
            "key": "certificate_no",
            "label": "Certificate number and ULR number",
            "status": "pass",
            "note": "Certificate number and ULR number match the job record."
        },
        {
            "key": "standards",
            "label": "Reference standards and traceability (validity on calibration date)",
            "status": "pass",
            "note": "Reference standards are correctly identified and were valid on the date of calibration."
        },
        {
            "key": "environment",
            "label": "Environmental conditions (temperature, humidity)",
            "status": "issue",
            "note": "Environmental conditions display '#DIV\/0!' due to missing temperature and humidity values in the observation sheet."
        },
        {
            "key": "method",
            "label": "Calibration procedure \/ method reference",
            "status": "pass",
            "note": "Lab procedure and calibration method references are clearly stated."
        },
        {
            "key": "readings",
            "label": "All calibration points have readings (no blanks)",
            "status": "pass",
            "note": "All required calibration points have complete readings."
        },
        {
            "key": "calculations",
            "label": "Calculations (mean, error, correction) are correct",
            "status": "pass",
            "note": "Averages, errors, and parallelism values are calculated correctly."
        },
        {
            "key": "uncertainty",
            "label": "Measurement uncertainty stated with coverage factor",
            "status": "pass",
            "note": "Expanded uncertainty is correctly evaluated and reported as ± 10.0 µm with k=2."
        },
        {
            "key": "conformity",
            "label": "Statement of conformity and decision rule",
            "status": "pass",
            "note": "Decision rule specifies conformity not required as per job record."
        },
        {
            "key": "units",
            "label": "Units and significant figures are consistent",
            "status": "pass",
            "note": "Units and decimal precision are consistent across all tables."
        },
        {
            "key": "signatures",
            "label": "Calibrated by, checked by and authorized signatures",
            "status": "pass",
            "note": "Calibrated by and authorized signatures are present on the signed certificate."
        },
        {
            "key": "consistency",
            "label": "Draft, unsigned and signed certificates match each other",
            "status": "pass",
            "note": "Data values are consistent across draft, unsigned, and signed certificates."
        }
    ],
    "findings": [
        {
            "severity": "critical",
            "type": "mismatch",
            "document": "multiple",
            "location": "Certificate, Page 1, Details of Customer",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "AccuTest Calibration",
            "field": "Customer Name",
            "found": "AccuTest Calibration",
            "expected": "RBD Engineers Pvt. Ltd.",
            "message": "Customer name on the certificate 'AccuTest Calibration' does not match 'RBD Engineers Pvt. Ltd.' recorded in the job record.",
            "checklist_key": "customer"
        },
        {
            "severity": "critical",
            "type": "wrong",
            "document": "draft_certificate",
            "location": "Draft Certificate, page 1, Details of Environment Condition",
            "page": 1,
            "sheet": "",
            "cell": "",
            "quote": "#DIV\/0! °C",
            "field": "Temperature \/ Relative Humidity",
            "found": "#DIV\/0! °C",
            "expected": "Valid ambient temperature (e.g. 20.0 °C) and relative humidity values",
            "message": "Environmental conditions field displays '#DIV\/0!' error because temperature and humidity readings were omitted from row 16 of the observation sheet.",
            "checklist_key": "environment"
        }
    ],
    "scoring": "Starts at 100. Each critical finding −20, major −8, minor −2.",
    "provider": "gemini",
    "usage": {
        "model": "gemini-3.6-flash",
        "input_tokens": 30615,
        "output_tokens": 5536
    },
    "job_id": 260,
    "reviewed_at": "2026-11-12T11:00:23+05:30",
    "reviewed_by": 1,
    "files_fingerprint": "fffff14a177e4184e0ef56b2be49344bbf1d4a5e",
    "previous_score": null,
    "job_status_at_review": "Authorized"
}