{
  "source_file": "/data/output/5faf482a-0a49-4aff-9571-ef6a5e03c66c/input.xlsx",
  "facility_name": "Copy_of_Qasim_HAZOP_report_Excel.xlsx",
  "technology_type": "CCGT",
  "started_at": "2026-04-27T03:18:05.863584+00:00",
  "completed_at": "2026-04-27T03:18:08.156487+00:00",
  "overall_status": "error",
  "stages": [
    {
      "name": "parse",
      "started_at": "2026-04-27T03:18:05.863599+00:00",
      "completed_at": "2026-04-27T03:18:06.582003+00:00",
      "status": "success",
      "messages": [
        "Parsed 1123 rows"
      ]
    },
    {
      "name": "classify",
      "started_at": "2026-04-27T03:18:06.610737+00:00",
      "completed_at": "2026-04-27T03:18:06.678153+00:00",
      "status": "success",
      "messages": [
        "Classified 740 safeguards (740 rule, 0 LLM)"
      ]
    },
    {
      "name": "group",
      "started_at": "2026-04-27T03:18:06.686596+00:00",
      "completed_at": "2026-04-27T03:18:06.745028+00:00",
      "status": "success",
      "messages": [
        "Grouped into 19 bowties"
      ]
    },
    {
      "name": "validate",
      "started_at": "2026-04-27T03:18:06.745138+00:00",
      "completed_at": "2026-04-27T03:18:06.759492+00:00",
      "status": "success",
      "messages": [
        "Validated 19 bowties, 81 gaps found"
      ]
    },
    {
      "name": "render_svgs",
      "started_at": "2026-04-27T03:18:06.759821+00:00",
      "completed_at": "2026-04-27T03:18:06.802190+00:00",
      "status": "success",
      "messages": [
        "Rendered 19 SVGs"
      ]
    },
    {
      "name": "write_excels",
      "started_at": "2026-04-27T03:18:06.802316+00:00",
      "completed_at": "2026-04-27T03:18:07.229432+00:00",
      "status": "success",
      "messages": [
        "Wrote COPY_OF_QASIM_HAZOP_REPORT_EXCELXLSX_BT-REVIEW_R0.xlsx, COPY_OF_QASIM_HAZOP_REPORT_EXCELXLSX_BT-BARRIER-REG_R0.xlsx"
      ]
    },
    {
      "name": "write_world_class_xlsx",
      "started_at": "2026-04-27T03:18:07.229532+00:00",
      "completed_at": "2026-04-27T03:18:07.780874+00:00",
      "status": "success",
      "messages": [
        "Wrote COPY_OF_QASIM_HAZOP_REPORT_EXCELXLSX_BT-REGISTER_R0.xlsx"
      ]
    },
    {
      "name": "write_per_bowtie_excels",
      "started_at": "2026-04-27T03:18:07.780953+00:00",
      "completed_at": "2026-04-27T03:18:08.055311+00:00",
      "status": "success",
      "messages": [
        "Wrote 19 per-bowtie workbooks"
      ]
    },
    {
      "name": "write_bowtie_html",
      "started_at": "2026-04-27T03:18:08.055393+00:00",
      "completed_at": "2026-04-27T03:18:08.098535+00:00",
      "status": "success",
      "messages": [
        "Wrote 19 HTML pages, 0 PDFs"
      ]
    },
    {
      "name": "write_full_report_html",
      "started_at": "2026-04-27T03:18:08.098634+00:00",
      "completed_at": "2026-04-27T03:18:08.145986+00:00",
      "status": "success",
      "messages": [
        "Wrote COPY_OF_QASIM_HAZOP_REPORT_EXCELXLSX_BT-REPORT_R0.html (no wkhtmltopdf)"
      ]
    },
    {
      "name": "render_pdf",
      "started_at": "2026-04-27T03:18:08.146124+00:00",
      "completed_at": "2026-04-27T03:18:08.156460+00:00",
      "status": "error",
      "messages": [
        "PDF failed: 'report.html' not found in search path: '/app/templates'"
      ]
    }
  ],
  "classification_stats": {
    "total_safeguards": 740,
    "rule_based_count": 740,
    "llm_count": 0,
    "manual_count": 0,
    "suggested_count": 0,
    "avg_confidence": 0.08529729729729738,
    "below_threshold_count": 670,
    "llm_total_cost_usd": 0.0,
    "llm_total_tokens": 0
  },
  "llm_calls": [],
  "bowtie_count": 19,
  "total_barriers": 153,
  "total_gaps": 83,
  "total_sce": 175,
  "total_sca": 37,
  "model_version": "0.1.0",
  "llm_model_pinned": "claude-sonnet-4-5-20250929",
  "reviewed_by": null,
  "reviewed_at": null,
  "sla_status": "not_required"
}