{
  "test_file": "6.5.ML.NaiveBayes.cs",
  "source_directory": "outputs/naive-bayes/LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize/BernoulliNB/f30906fdc1127522b69360593b874756",
  "case": "LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / BernoulliNB",
  "partition": "whole run",
  "observed_status": "completed",
  "outcome": "Result recorded",
  "events": [
    {
      "file": "001-request.json",
      "payload": {
        "input": {
          "train_blob_id": "586f8b30-8ca2-0658-3948-462423a590bf",
          "test_blob_id": "8849cd79-456e-bc74-dc8e-81e15af38ad4",
          "target_column": "target",
          "classifier_type": "BernoulliNB",
          "classifier_params": {
            "alpha": 1,
            "binarize": 0
          },
          "feature_columns": [
            "mean radius",
            "mean texture",
            "mean perimeter",
            "mean area",
            "mean smoothness",
            "mean compactness",
            "mean concavity",
            "mean concave points",
            "mean symmetry",
            "mean fractal dimension",
            "radius error",
            "texture error",
            "perimeter error",
            "area error",
            "smoothness error",
            "compactness error",
            "concavity error",
            "concave points error",
            "symmetry error",
            "fractal dimension error",
            "worst radius",
            "worst texture",
            "worst perimeter",
            "worst area",
            "worst smoothness",
            "worst compactness",
            "worst concavity",
            "worst concave points",
            "worst symmetry",
            "worst fractal dimension"
          ],
          "file_format": "csv"
        },
        "output": {
          "artifact_contract_version": "2.0",
          "name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize-BernoulliNB.zip",
          "description": "Naive Bayes integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "naive-bayes",
            "LoadBreastCancer",
            "normalize",
            "BernoulliNB"
          ]
        },
        "request_timeout_seconds": 300
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-11-30T18:57:40.6692475+00:00",
        "end_time": "2026-11-30T18:57:40.72726+00:00",
        "elapsed_milliseconds": 58.01,
        "status": "published",
        "job_id": "3609de33-2897-34a2-560e-910594609838",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "3609de33-2897-34a2-560e-910594609838",
          "json": {
            "job_id": "3609de33-2897-34a2-560e-910594609838",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "586f8b30-8ca2-0658-3948-462423a590bf",
              "test_blob_id": "8849cd79-456e-bc74-dc8e-81e15af38ad4",
              "train_encryption_key": "[REDACTED]",
              "test_encryption_key": "[REDACTED]",
              "classifier_type": "BernoulliNB",
              "classifier_params": {
                "alpha": 1,
                "binarize": 0
              },
              "feature_columns": [
                "mean radius",
                "mean texture",
                "mean perimeter",
                "mean area",
                "mean smoothness",
                "mean compactness",
                "mean concavity",
                "mean concave points",
                "mean symmetry",
                "mean fractal dimension",
                "radius error",
                "texture error",
                "perimeter error",
                "area error",
                "smoothness error",
                "compactness error",
                "concavity error",
                "concave points error",
                "symmetry error",
                "fractal dimension error",
                "worst radius",
                "worst texture",
                "worst perimeter",
                "worst area",
                "worst smoothness",
                "worst compactness",
                "worst concavity",
                "worst concave points",
                "worst symmetry",
                "worst fractal dimension"
              ],
              "file_format": "csv"
            },
            "request_timeout_seconds": 300,
            "output": {
              "name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize-BernoulliNB.zip",
              "description": "Naive Bayes integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "naive-bayes",
                "LoadBreastCancer",
                "normalize",
                "BernoulliNB"
              ],
              "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:57:40.7567973+00:00",
        "end_time": "2026-11-30T18:57:40.8483456+00:00",
        "elapsed_milliseconds": 91.54,
        "job_id": "3609de33-2897-34a2-560e-910594609838",
        "status": "processing",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-11-30T18:58:10.9231244+00:00",
        "end_time": "2026-11-30T18:58:11.896917+00:00",
        "elapsed_milliseconds": 973.78,
        "job_id": "3609de33-2897-34a2-560e-910594609838",
        "status": "completed",
        "topic": "pm.topic.ml.naivebayes",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "010-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "3609de33-2897-34a2-560e-910594609838",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "naive_bayes",
          "task_family": "classification",
          "algorithm": "BernoulliNB"
        },
        "input": {
          "mode": "prepared_train_test",
          "partitions": {
            "train": {
              "blob_id": "586f8b30-8ca2-0658-3948-462423a590bf",
              "row_count": 426
            },
            "test": {
              "blob_id": "8849cd79-456e-bc74-dc8e-81e15af38ad4",
              "row_count": 143
            }
          },
          "feature_columns": [
            "mean radius",
            "mean texture",
            "mean perimeter",
            "mean area",
            "mean smoothness",
            "mean compactness",
            "mean concavity",
            "mean concave points",
            "mean symmetry",
            "mean fractal dimension",
            "radius error",
            "texture error",
            "perimeter error",
            "area error",
            "smoothness error",
            "compactness error",
            "concavity error",
            "concave points error",
            "symmetry error",
            "fractal dimension error",
            "worst radius",
            "worst texture",
            "worst perimeter",
            "worst area",
            "worst smoothness",
            "worst compactness",
            "worst concavity",
            "worst concave points",
            "worst symmetry",
            "worst fractal dimension"
          ],
          "target_columns": [
            "target"
          ]
        },
        "training": {
          "effective_params": {
            "alpha": 1.0,
            "binarize": 0.0,
            "class_prior": null,
            "fit_prior": true,
            "force_alpha": true
          },
          "metrics": {
            "accuracy": 0.6267605633802817,
            "f1_weighted": 0.4829583561977928,
            "sample_count": 426,
            "classes": [
              0,
              1
            ],
            "confusion_matrix": [
              [
                0,
                159
              ],
              [
                0,
                267
              ]
            ]
          }
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "accuracy": 0.6293706293706294,
            "f1_weighted": 0.48620906990005697,
            "sample_count": 143,
            "classes": [
              0,
              1
            ],
            "confusion_matrix": [
              [
                0,
                53
              ],
              [
                0,
                90
              ]
            ]
          }
        },
        "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": 30,
              "classes": [
                0,
                1
              ],
              "class_count": [
                159.0,
                267.0
              ],
              "class_log_prior": [
                -0.9855351440491393,
                -0.4671906878691212
              ],
              "feature_log_prob_shape": [
                2,
                30
              ],
              "theta_shape": null
            },
            "warnings": [],
            "data": {
              "row_count": 569,
              "column_count": 33,
              "feature_count": 30,
              "file_format": "csv",
              "probability_classes": [
                0,
                1
              ]
            },
            "runtime": {
              "captured_at_utc": "2026-11-30T18:58:09.623564+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": "011-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:15.76161+00:00",
        "end_time": "2026-11-30T19:00:16.59367+00:00",
        "elapsed_milliseconds": 832.05,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "a619af29-e5a2-1ffb-4d3a-0cd4df5c4efd",
        "filename": "0961a2ff-3399-cbc3-06e7-7fd5d2dcd7e0.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 1102,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:16.7211489+00:00",
        "end_time": "2026-11-30T19:00:17.5080881+00:00",
        "elapsed_milliseconds": 786.93,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "4d1adef1-60a0-f2e9-0d69-4b652ad88edf",
        "filename": "d1f266d9-8ee1-ce6f-35cf-8401fcb1770b.csv",
        "source_path": "predictions/predictions.csv",
        "source_format": "csv",
        "size_bytes": 32801,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:17.6289714+00:00",
        "end_time": "2026-11-30T19:00:18.4634516+00:00",
        "elapsed_milliseconds": 834.47,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "dbd885c6-f57c-a515-85db-00d7e09afaa9",
        "filename": "8970763f-fca6-173e-d29a-7bab60130dca.png",
        "source_path": "graphs/performance.png",
        "source_format": "png",
        "size_bytes": 32238,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:18.9240642+00:00",
        "end_time": "2026-11-30T19:00:20.2576907+00:00",
        "elapsed_milliseconds": 1333.61,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "82fda208-eef6-a937-3d94-e58f6d1f36db",
        "filename": "4deaddb9-98d9-15ba-ce04-caa25c34ea56.svg",
        "source_path": "graphs/performance.svg",
        "source_format": "svg",
        "size_bytes": 27767,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:20.3776109+00:00",
        "end_time": "2026-11-30T19:00:21.4886413+00:00",
        "elapsed_milliseconds": 1111.02,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "ee1475fa-c10d-6edc-0bc0-0568365b7b7a",
        "filename": "a7b811a6-6d2c-a9e0-6abd-079d4e29ef30.png",
        "source_path": "graphs/confusion_matrix.png",
        "source_format": "png",
        "size_bytes": 38483,
        "upload_status_code": 200
      }
    },
    {
      "file": "016-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:21.6027596+00:00",
        "end_time": "2026-11-30T19:00:22.4599103+00:00",
        "elapsed_milliseconds": 857.14,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "735e5046-97e8-3dd9-dc4c-38be463c4706",
        "filename": "3dfb20bf-ad25-9d01-201a-21a82c7835ef.svg",
        "source_path": "graphs/confusion_matrix.svg",
        "source_format": "svg",
        "size_bytes": 37211,
        "upload_status_code": 200
      }
    },
    {
      "file": "017-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:22.5713579+00:00",
        "end_time": "2026-11-30T19:00:40.82046+00:00",
        "elapsed_milliseconds": 18248.86,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "6fb072e2-3322-87df-eba8-ee95494bddef",
        "filename": "7985cd1c-ede2-7ee7-00ca-e3cbd5ec0078.png",
        "source_path": "graphs/prediction_distribution.png",
        "source_format": "png",
        "size_bytes": 24840,
        "upload_status_code": 200
      }
    },
    {
      "file": "018-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:40.9653131+00:00",
        "end_time": "2026-11-30T19:00:41.9199071+00:00",
        "elapsed_milliseconds": 954.58,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "33381259-3606-31d6-8af2-f7f4fbe26b1b",
        "filename": "9a588a88-5654-728f-90c7-f2a173c38216.svg",
        "source_path": "graphs/prediction_distribution.svg",
        "source_format": "svg",
        "size_bytes": 21242,
        "upload_status_code": 200
      }
    },
    {
      "file": "019-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:42.0389638+00:00",
        "end_time": "2026-11-30T19:00:43.7901028+00:00",
        "elapsed_milliseconds": 1751.12,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "ee8a402b-1e77-59fa-b9bc-05db11de6a1d",
        "filename": "d3546651-7162-cf4b-0c44-321a5dc36b37.json",
        "source_path": "metrics/metrics.json",
        "source_format": "json",
        "size_bytes": 243,
        "upload_status_code": 200
      }
    },
    {
      "file": "020-extract.json",
      "payload": {
        "start_time": "2026-11-30T19:00:43.9070609+00:00",
        "end_time": "2026-11-30T19:00:44.9991834+00:00",
        "elapsed_milliseconds": 1092.11,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "8b2c28bb-9f63-7dea-a929-7e1ff9b43fb0",
        "uploaded_blob_id": "4c7c7196-23ed-44f3-b8ea-9370cc5abf6c",
        "filename": "6182c927-8c49-0f2c-9a12-74c837d6b5e2.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 4320,
        "upload_status_code": 200
      }
    }
  ]
}
