{
  "test_file": "6.5.ML.NaiveBayes.cs",
  "source_directory": "outputs/naive-bayes/MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer/MultinomialNB/18dccf794fb09d1884a3bb81422bbda0",
  "case": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / MultinomialNB",
  "partition": "whole run",
  "observed_status": "completed",
  "outcome": "Result recorded",
  "events": [
    {
      "file": "001-request.json",
      "payload": {
        "input": {
          "train_blob_id": "7cdc15fb-5129-4fa3-c329-d8d1c5763b9a",
          "test_blob_id": "d7565b1a-dfad-39bf-cf67-1e16a1a546b4",
          "target_column": "target",
          "classifier_type": "MultinomialNB",
          "classifier_params": {
            "alpha": 1
          },
          "feature_columns": [
            "feature_0_0.0",
            "feature_0_1.0",
            "feature_0_2.0",
            "feature_1_0.0",
            "feature_1_1.0",
            "feature_1_2.0",
            "feature_2_0.0",
            "feature_2_1.0",
            "feature_2_2.0",
            "feature_3_0.0",
            "feature_3_1.0",
            "feature_3_2.0",
            "feature_4_0.0",
            "feature_4_1.0",
            "feature_4_2.0",
            "feature_5_0.0",
            "feature_5_1.0",
            "feature_5_2.0",
            "feature_6_0.0",
            "feature_6_1.0",
            "feature_6_2.0",
            "feature_7_0.0",
            "feature_7_1.0",
            "feature_7_2.0",
            "feature_8_0.0",
            "feature_8_1.0",
            "feature_8_2.0",
            "feature_9_0.0",
            "feature_9_1.0",
            "feature_9_2.0",
            "feature_10_0.0",
            "feature_10_1.0",
            "feature_10_2.0",
            "feature_11_0.0",
            "feature_11_1.0",
            "feature_11_2.0"
          ],
          "file_format": "csv"
        },
        "output": {
          "artifact_contract_version": "2.0",
          "name": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer-MultinomialNB.zip",
          "description": "Naive Bayes integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "naive-bayes",
            "MakeClassification",
            "KBinsDiscretizer",
            "MultinomialNB"
          ]
        },
        "request_timeout_seconds": 300
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-11-30T18:34:29.5636049+00:00",
        "end_time": "2026-11-30T18:34:29.6558968+00:00",
        "elapsed_milliseconds": 92.29,
        "status": "published",
        "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
          "json": {
            "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "7cdc15fb-5129-4fa3-c329-d8d1c5763b9a",
              "test_blob_id": "d7565b1a-dfad-39bf-cf67-1e16a1a546b4",
              "train_encryption_key": "[REDACTED]",
              "test_encryption_key": "[REDACTED]",
              "classifier_type": "MultinomialNB",
              "classifier_params": {
                "alpha": 1
              },
              "feature_columns": [
                "feature_0_0.0",
                "feature_0_1.0",
                "feature_0_2.0",
                "feature_1_0.0",
                "feature_1_1.0",
                "feature_1_2.0",
                "feature_2_0.0",
                "feature_2_1.0",
                "feature_2_2.0",
                "feature_3_0.0",
                "feature_3_1.0",
                "feature_3_2.0",
                "feature_4_0.0",
                "feature_4_1.0",
                "feature_4_2.0",
                "feature_5_0.0",
                "feature_5_1.0",
                "feature_5_2.0",
                "feature_6_0.0",
                "feature_6_1.0",
                "feature_6_2.0",
                "feature_7_0.0",
                "feature_7_1.0",
                "feature_7_2.0",
                "feature_8_0.0",
                "feature_8_1.0",
                "feature_8_2.0",
                "feature_9_0.0",
                "feature_9_1.0",
                "feature_9_2.0",
                "feature_10_0.0",
                "feature_10_1.0",
                "feature_10_2.0",
                "feature_11_0.0",
                "feature_11_1.0",
                "feature_11_2.0"
              ],
              "file_format": "csv"
            },
            "request_timeout_seconds": 300,
            "output": {
              "name": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer-MultinomialNB.zip",
              "description": "Naive Bayes integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "naive-bayes",
                "MakeClassification",
                "KBinsDiscretizer",
                "MultinomialNB"
              ],
              "encryption_key": "[REDACTED]",
              "artifact_contract_version": "2.0"
            },
            "target_column": "target",
            "evaluation": null
          },
          "topic": "pm.topic.ml.naivebayes",
          "subscription": "cpu.0p5c.1gi"
        }
      }
    },
    {
      "file": "003-status-001.json",
      "payload": {
        "start_time": "2026-11-30T18:34:29.6970136+00:00",
        "end_time": "2026-11-30T18:34:29.9080298+00:00",
        "elapsed_milliseconds": 211.01,
        "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
        "status": "processing",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-11-30T18:34:59.9991097+00:00",
        "end_time": "2026-11-30T18:35:00.1532902+00:00",
        "elapsed_milliseconds": 154.18,
        "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
        "status": "processing",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "005-status-003.json",
      "payload": {
        "start_time": "2026-11-30T18:35:30.2186981+00:00",
        "end_time": "2026-11-30T18:35:30.5640422+00:00",
        "elapsed_milliseconds": 345.34,
        "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
        "status": "completed",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "007-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "4aa55718-e1aa-2be2-8e86-d89aaa15493d",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "naive_bayes",
          "task_family": "classification",
          "algorithm": "MultinomialNB"
        },
        "input": {
          "mode": "prepared_train_test",
          "partitions": {
            "train": {
              "blob_id": "7cdc15fb-5129-4fa3-c329-d8d1c5763b9a",
              "row_count": 180
            },
            "test": {
              "blob_id": "d7565b1a-dfad-39bf-cf67-1e16a1a546b4",
              "row_count": 60
            }
          },
          "feature_columns": [
            "feature_0_0.0",
            "feature_0_1.0",
            "feature_0_2.0",
            "feature_1_0.0",
            "feature_1_1.0",
            "feature_1_2.0",
            "feature_2_0.0",
            "feature_2_1.0",
            "feature_2_2.0",
            "feature_3_0.0",
            "feature_3_1.0",
            "feature_3_2.0",
            "feature_4_0.0",
            "feature_4_1.0",
            "feature_4_2.0",
            "feature_5_0.0",
            "feature_5_1.0",
            "feature_5_2.0",
            "feature_6_0.0",
            "feature_6_1.0",
            "feature_6_2.0",
            "feature_7_0.0",
            "feature_7_1.0",
            "feature_7_2.0",
            "feature_8_0.0",
            "feature_8_1.0",
            "feature_8_2.0",
            "feature_9_0.0",
            "feature_9_1.0",
            "feature_9_2.0",
            "feature_10_0.0",
            "feature_10_1.0",
            "feature_10_2.0",
            "feature_11_0.0",
            "feature_11_1.0",
            "feature_11_2.0"
          ],
          "target_columns": [
            "target"
          ]
        },
        "training": {
          "effective_params": {
            "alpha": 1.0,
            "class_prior": null,
            "fit_prior": true,
            "force_alpha": true
          },
          "metrics": {
            "accuracy": 0.7944444444444444,
            "f1_weighted": 0.7931900131326243,
            "sample_count": 180,
            "classes": [
              0,
              1,
              2
            ],
            "confusion_matrix": [
              [
                43,
                9,
                10
              ],
              [
                5,
                50,
                4
              ],
              [
                9,
                0,
                50
              ]
            ]
          }
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "accuracy": 0.7,
            "f1_weighted": 0.701977587343441,
            "sample_count": 60,
            "classes": [
              0,
              1,
              2
            ],
            "confusion_matrix": [
              [
                12,
                7,
                2
              ],
              [
                4,
                15,
                0
              ],
              [
                5,
                0,
                15
              ]
            ]
          }
        },
        "artifact_files": [
          "model/model.joblib",
          "predictions/predictions.csv",
          "graphs/performance.png",
          "graphs/performance.svg",
          "graphs/confusion_matrix.png",
          "graphs/confusion_matrix.svg",
          "graphs/prediction_distribution.png",
          "graphs/prediction_distribution.svg",
          "metrics/metrics.json",
          "result.json"
        ],
        "extras": {
          "algorithm": {
            "learned": {
              "n_features_in": 36,
              "classes": [
                0,
                1,
                2
              ],
              "class_count": [
                62.0,
                59.0,
                59.0
              ],
              "class_log_prior": [
                -1.0658224658451187,
                -1.1154194069844907,
                -1.1154194069844907
              ],
              "feature_log_prob_shape": [
                3,
                36
              ],
              "theta_shape": null
            },
            "warnings": [],
            "data": {
              "row_count": 240,
              "column_count": 39,
              "feature_count": 36,
              "file_format": "csv",
              "probability_classes": [
                0,
                1,
                2
              ]
            },
            "runtime": {
              "captured_at_utc": "2026-11-30T18:35:09.088717+00:00",
              "python": {
                "version": "3.12.16",
                "implementation": "CPython"
              },
              "packages": {
                "scikit-learn": "1.9.1",
                "numpy": "2.5.4",
                "pandas": "3.0.6",
                "scipy": "1.18.1",
                "pydantic": "2.14.1",
                "joblib": "1.6.0",
                "matplotlib": "3.11.2",
                "azure-servicebus": "7.14.3",
                "parallelmodel": "1.0.0"
              },
              "environment": {
                "os": "Linux",
                "os_release": "6.6.159.1-2.azl3",
                "architecture": "x86_64",
                "region": "uk1"
              }
            },
            "execution": {
              "executionName": "[REDACTED]",
              "jobName": "[REDACTED]",
              "container": {
                "hostname": "[REDACTED]",
                "replicaName": "[REDACTED]",
                "processId": 1
              }
            }
          },
          "build": {
            "built_at_utc": null,
            "source": "unavailable",
            "image_tag": null
          }
        }
      }
    },
    {
      "file": "008-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:02.4317507+00:00",
        "end_time": "2026-11-30T18:36:03.2227129+00:00",
        "elapsed_milliseconds": 790.95,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "7ec9f057-107c-1841-400c-c157a12e8884",
        "filename": "08b953b7-09e2-8a8d-80fa-24de53865b94.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 1690,
        "upload_status_code": 200
      }
    },
    {
      "file": "009-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:03.3698707+00:00",
        "end_time": "2026-11-30T18:36:04.4375242+00:00",
        "elapsed_milliseconds": 1067.64,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "52d91a94-1228-7359-4e90-e20b20b71e55",
        "filename": "f87f55c0-1160-056d-1644-c746a613eb58.csv",
        "source_path": "predictions/predictions.csv",
        "source_format": "csv",
        "size_bytes": 19203,
        "upload_status_code": 200
      }
    },
    {
      "file": "010-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:04.5526547+00:00",
        "end_time": "2026-11-30T18:36:05.336418+00:00",
        "elapsed_milliseconds": 783.75,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "2bcf3d2c-5935-f6f8-1986-ebc184b1289b",
        "filename": "cc4bf0ad-d805-9a80-6a73-bb532af0bc5b.png",
        "source_path": "graphs/performance.png",
        "source_format": "png",
        "size_bytes": 32313,
        "upload_status_code": 200
      }
    },
    {
      "file": "011-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:05.4771299+00:00",
        "end_time": "2026-11-30T18:36:06.2954093+00:00",
        "elapsed_milliseconds": 818.27,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "29f6d95a-d2a5-f93f-f41f-e1ade4c43445",
        "filename": "0afe53f0-9116-753c-43d8-33070f2669a3.svg",
        "source_path": "graphs/performance.svg",
        "source_format": "svg",
        "size_bytes": 27042,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:06.4269245+00:00",
        "end_time": "2026-11-30T18:36:12.0911303+00:00",
        "elapsed_milliseconds": 5664.14,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "960d1c2e-c658-6b6e-8fe4-2d6fdc5710d6",
        "filename": "75c2cc97-1499-5c41-b00b-9332c9f80896.png",
        "source_path": "graphs/confusion_matrix.png",
        "source_format": "png",
        "size_bytes": 36069,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:12.3013093+00:00",
        "end_time": "2026-11-30T18:36:13.0806278+00:00",
        "elapsed_milliseconds": 779.31,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "e7afc7b2-4704-0ecf-7df3-61abdfd1b88b",
        "filename": "57544e81-fdaa-8f58-84ed-c69494a2b945.svg",
        "source_path": "graphs/confusion_matrix.svg",
        "source_format": "svg",
        "size_bytes": 36296,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:13.2223622+00:00",
        "end_time": "2026-11-30T18:36:27.2304863+00:00",
        "elapsed_milliseconds": 14007.94,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "51f590ee-9bd5-37d7-b290-ad986faaf708",
        "filename": "dedb618b-ac01-7ab8-1687-346aab46dadd.png",
        "source_path": "graphs/prediction_distribution.png",
        "source_format": "png",
        "size_bytes": 28670,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:27.3626692+00:00",
        "end_time": "2026-11-30T18:36:28.1965839+00:00",
        "elapsed_milliseconds": 833.9,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "cf30c69d-43f2-a2f5-0f62-4c7c5548b638",
        "filename": "82ff0a77-5a91-93e1-c176-3afb5bdcdc81.svg",
        "source_path": "graphs/prediction_distribution.svg",
        "source_format": "svg",
        "size_bytes": 25068,
        "upload_status_code": 200
      }
    },
    {
      "file": "016-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:28.3873249+00:00",
        "end_time": "2026-11-30T18:36:29.2261842+00:00",
        "elapsed_milliseconds": 838.85,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "6b8a52d1-26e8-dc25-91fb-39de274c61ba",
        "filename": "b4d5e8b9-5411-85cf-eee0-b4dfd2ca91d1.json",
        "source_path": "metrics/metrics.json",
        "source_format": "json",
        "size_bytes": 290,
        "upload_status_code": 200
      }
    },
    {
      "file": "017-extract.json",
      "payload": {
        "start_time": "2026-11-30T18:36:29.3495325+00:00",
        "end_time": "2026-11-30T18:36:30.1300197+00:00",
        "elapsed_milliseconds": 780.47,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "05804998-f732-6671-1cfd-3fcb7274d77a",
        "uploaded_blob_id": "8562442c-af58-7f14-859e-f79f00eb5d26",
        "filename": "e99c47cc-ea46-8bfe-2339-56b2e4d662b6.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 4623,
        "upload_status_code": 200
      }
    }
  ]
}
