{
  "test_file": "6.10.ML.Ensemble.cs",
  "source_directory": "outputs/ensemble/MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer/VotingClassifier/90b56a1094bf056e3fa628b34063d4ab",
  "case": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / VotingClassifier",
  "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",
          "file_format": "csv",
          "data_type": "numeric_table",
          "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"
          ],
          "classifier_type": "VotingClassifier",
          "classifier_params": {
            "estimators": [
              {
                "name": "logistic",
                "estimator_type": "LogisticRegression",
                "estimator_params": {}
              },
              {
                "name": "forest",
                "estimator_type": "RandomForestClassifier",
                "estimator_params": {
                  "n_estimators": 18,
                  "max_depth": 5
                }
              }
            ],
            "voting": "soft",
            "weights": [
              1,
              2
            ]
          },
          "generate_graphs": true,
          "target_column": "target"
        },
        "output": {
          "name": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer-VotingClassifier.zip",
          "description": "Ensemble integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "ensemble",
            "MakeClassification",
            "KBinsDiscretizer",
            "VotingClassifier"
          ],
          "artifact_contract_version": "2.0"
        },
        "request_timeout_seconds": 1800
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-12-01T17:24:54.5326836+00:00",
        "end_time": "2026-12-01T17:24:54.5962149+00:00",
        "elapsed_milliseconds": 63.53,
        "status": "published",
        "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
        "topic": "pm.topic.ml.ensemble",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
          "json": {
            "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "7cdc15fb-5129-4fa3-c329-d8d1c5763b9a",
              "train_encryption_key": "[REDACTED]",
              "test_blob_id": "d7565b1a-dfad-39bf-cf67-1e16a1a546b4",
              "test_encryption_key": "[REDACTED]",
              "file_format": "csv",
              "data_type": "numeric_table",
              "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"
              ],
              "classifier_type": "VotingClassifier",
              "classifier_params": {
                "estimators": [
                  {
                    "name": "logistic",
                    "estimator_type": "LogisticRegression",
                    "estimator_params": {}
                  },
                  {
                    "name": "forest",
                    "estimator_type": "RandomForestClassifier",
                    "estimator_params": {
                      "n_estimators": 18,
                      "max_depth": 5
                    }
                  }
                ],
                "voting": "soft",
                "weights": [
                  1,
                  2
                ]
              },
              "generate_graphs": true,
              "target_column": "target"
            },
            "request_timeout_seconds": 1800,
            "output": {
              "name": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer-VotingClassifier.zip",
              "description": "Ensemble integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "ensemble",
                "MakeClassification",
                "KBinsDiscretizer",
                "VotingClassifier"
              ],
              "encryption_key": "[REDACTED]",
              "artifact_contract_version": "2.0"
            }
          },
          "topic": "pm.topic.ml.ensemble",
          "subscription": "cpu.0p5c.1gi"
        }
      }
    },
    {
      "file": "003-status-001.json",
      "payload": {
        "start_time": "2026-12-01T17:24:54.6277285+00:00",
        "end_time": "2026-12-01T17:24:54.7056956+00:00",
        "elapsed_milliseconds": 77.97,
        "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
        "status": "processing",
        "topic": "pm.topic.ml.ensemble",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-12-01T17:25:24.7596147+00:00",
        "end_time": "2026-12-01T17:25:25.3760411+00:00",
        "elapsed_milliseconds": 616.42,
        "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
        "status": "completed",
        "topic": "pm.topic.ml.ensemble",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "010-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "7520e5df-1bb0-5f57-23ef-e33a3b553cbd",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "ensemble",
          "task_family": "classification",
          "algorithm": "VotingClassifier"
        },
        "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": {
            "voting": "soft",
            "weights": [
              1.0,
              2.0
            ],
            "estimators": [
              {
                "name": "logistic",
                "estimator_type": "LogisticRegression",
                "estimator_params": {
                  "n_estimators": null,
                  "max_depth": null,
                  "min_samples_split": null,
                  "min_samples_leaf": null,
                  "max_features": null,
                  "random_state": null,
                  "n_neighbors": null,
                  "C": null,
                  "alpha": null,
                  "probability": null,
                  "kernel": null
                }
              },
              {
                "name": "forest",
                "estimator_type": "RandomForestClassifier",
                "estimator_params": {
                  "n_estimators": 18,
                  "max_depth": 5,
                  "min_samples_split": null,
                  "min_samples_leaf": null,
                  "max_features": null,
                  "random_state": null,
                  "n_neighbors": null,
                  "C": null,
                  "alpha": null,
                  "probability": null,
                  "kernel": null
                }
              }
            ]
          },
          "metrics": {}
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "accuracy": 0.7166666666666667,
            "precision_weighted": 0.7157995642701526,
            "recall_weighted": 0.7166666666666667,
            "f1_weighted": 0.708213716108453,
            "confusion_matrix": [
              [
                12,
                5,
                4
              ],
              [
                0,
                18,
                1
              ],
              [
                5,
                2,
                13
              ]
            ]
          }
        },
        "artifact_files": [
          "model/model.joblib",
          "predictions/test_predictions.csv",
          "metrics/metrics.json",
          "graphs/confusion_matrix.png",
          "result.json"
        ],
        "extras": {
          "algorithm": {
            "learned": {
              "classes": [
                "0",
                "1",
                "2"
              ],
              "n_features_in": 36
            },
            "warnings": [],
            "stats": {
              "row_count": 240,
              "column_count": 39,
              "feature_count": 36,
              "training_row_count": 180,
              "test_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_column": "target",
              "sample_weight_column": null,
              "file_format": "csv",
              "task_type": "classification",
              "metrics": {
                "accuracy": 0.7166666666666667,
                "precision_weighted": 0.7157995642701526,
                "recall_weighted": 0.7166666666666667,
                "f1_weighted": 0.708213716108453,
                "confusion_matrix": [
                  [
                    12,
                    5,
                    4
                  ],
                  [
                    0,
                    18,
                    1
                  ],
                  [
                    5,
                    2,
                    13
                  ]
                ]
              }
            },
            "runtime": {
              "captured_at_utc": "2026-12-01T17:25:24.243291+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": {
              "execution_name": "[REDACTED]",
              "job_name": "[REDACTED]",
              "container": {
                "hostname": "[REDACTED]",
                "replica_name": "[REDACTED]",
                "process_id": 1
              }
            }
          },
          "build": {
            "built_at_utc": null,
            "source": "unavailable",
            "image_tag": null
          }
        }
      }
    },
    {
      "file": "011-extract.json",
      "payload": {
        "start_time": "2026-12-01T17:27:30.6495427+00:00",
        "end_time": "2026-12-01T17:27:31.520858+00:00",
        "elapsed_milliseconds": 871.3,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3af8793a-3fe1-47e6-0402-bb4c588d8738",
        "uploaded_blob_id": "866879ef-8f56-909f-2cde-d84dc171bb53",
        "filename": "6c574d12-99e3-f468-2e60-eecae6064bf2.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 81262,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-12-01T17:27:31.6475038+00:00",
        "end_time": "2026-12-01T17:27:32.4860498+00:00",
        "elapsed_milliseconds": 838.53,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3af8793a-3fe1-47e6-0402-bb4c588d8738",
        "uploaded_blob_id": "3ea05420-eca8-b6cc-ed1a-0c28a69f9f17",
        "filename": "5ccaf7b4-2e34-e382-a072-b213bc6ca414.csv",
        "source_path": "predictions/test_predictions.csv",
        "source_format": "csv",
        "size_bytes": 498,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-12-01T17:27:32.7871592+00:00",
        "end_time": "2026-12-01T17:27:33.5785514+00:00",
        "elapsed_milliseconds": 791.38,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3af8793a-3fe1-47e6-0402-bb4c588d8738",
        "uploaded_blob_id": "c926dbb4-4368-9a47-4ec8-6de01437d811",
        "filename": "f83e2686-cea2-519b-07b8-c707b9fadc76.json",
        "source_path": "metrics/metrics.json",
        "source_format": "json",
        "size_bytes": 306,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-12-01T17:27:35.00357+00:00",
        "end_time": "2026-12-01T17:27:37.8959695+00:00",
        "elapsed_milliseconds": 2892.36,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3af8793a-3fe1-47e6-0402-bb4c588d8738",
        "uploaded_blob_id": "f52a1f85-ffac-dcfb-e41c-d3984df705a0",
        "filename": "5e7169ac-4517-4492-48e7-e34c3694cc1f.png",
        "source_path": "graphs/confusion_matrix.png",
        "source_format": "png",
        "size_bytes": 26305,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-12-01T17:27:38.1800616+00:00",
        "end_time": "2026-12-01T17:27:40.3263223+00:00",
        "elapsed_milliseconds": 2146.23,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3af8793a-3fe1-47e6-0402-bb4c588d8738",
        "uploaded_blob_id": "2da32ab2-996d-0b01-5827-e8872d21abb8",
        "filename": "2c734191-83d3-58f2-d060-5d2e5d6891a8.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 6393,
        "upload_status_code": 200
      }
    }
  ]
}
