{
  "test_file": "6.10.ML.Ensemble.cs",
  "source_directory": "outputs/ensemble/LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer/StackingClassifier/2831fc2ade3045b7f7fb2ae6744add67",
  "case": "LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer / StackingClassifier",
  "partition": "whole run",
  "observed_status": "completed",
  "outcome": "Result recorded",
  "events": [
    {
      "file": "001-request.json",
      "payload": {
        "input": {
          "train_blob_id": "7db21103-e645-cb44-6114-4032111e0dc0",
          "test_blob_id": "696925c0-093e-d414-2060-7015694b4943",
          "file_format": "csv",
          "data_type": "numeric_table",
          "feature_columns": [
            "alcohol",
            "malic_acid",
            "ash",
            "alcalinity_of_ash",
            "magnesium",
            "total_phenols",
            "flavanoids",
            "nonflavanoid_phenols",
            "proanthocyanins",
            "color_intensity",
            "hue",
            "od280/od315_of_diluted_wines",
            "proline"
          ],
          "classifier_type": "StackingClassifier",
          "classifier_params": {
            "estimators": [
              {
                "name": "tree",
                "estimator_type": "DecisionTreeClassifier",
                "estimator_params": {
                  "max_depth": 4
                }
              },
              {
                "name": "logistic",
                "estimator_type": "LogisticRegression",
                "estimator_params": {}
              }
            ],
            "final_estimator": {
              "name": "final",
              "estimator_type": "LogisticRegression",
              "estimator_params": {}
            },
            "cv": 3,
            "passthrough": false
          },
          "generate_graphs": true,
          "target_column": "target"
        },
        "output": {
          "name": "LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer-StackingClassifier.zip",
          "description": "Ensemble integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "ensemble",
            "LoadWine",
            "FunctionTransformer",
            "StackingClassifier"
          ],
          "artifact_contract_version": "2.0"
        },
        "request_timeout_seconds": 1800
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-12-01T15:07:02.6240816+00:00",
        "end_time": "2026-12-01T15:07:02.7298642+00:00",
        "elapsed_milliseconds": 105.78,
        "status": "published",
        "job_id": "0fd9dd72-eaa8-bec6-46d8-554ce3818476",
        "topic": "pm.topic.ml.ensemble",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "0fd9dd72-eaa8-bec6-46d8-554ce3818476",
          "json": {
            "job_id": "0fd9dd72-eaa8-bec6-46d8-554ce3818476",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "7db21103-e645-cb44-6114-4032111e0dc0",
              "train_encryption_key": "[REDACTED]",
              "test_blob_id": "696925c0-093e-d414-2060-7015694b4943",
              "test_encryption_key": "[REDACTED]",
              "file_format": "csv",
              "data_type": "numeric_table",
              "feature_columns": [
                "alcohol",
                "malic_acid",
                "ash",
                "alcalinity_of_ash",
                "magnesium",
                "total_phenols",
                "flavanoids",
                "nonflavanoid_phenols",
                "proanthocyanins",
                "color_intensity",
                "hue",
                "od280/od315_of_diluted_wines",
                "proline"
              ],
              "classifier_type": "StackingClassifier",
              "classifier_params": {
                "estimators": [
                  {
                    "name": "tree",
                    "estimator_type": "DecisionTreeClassifier",
                    "estimator_params": {
                      "max_depth": 4
                    }
                  },
                  {
                    "name": "logistic",
                    "estimator_type": "LogisticRegression",
                    "estimator_params": {}
                  }
                ],
                "final_estimator": {
                  "name": "final",
                  "estimator_type": "LogisticRegression",
                  "estimator_params": {}
                },
                "cv": 3,
                "passthrough": false
              },
              "generate_graphs": true,
              "target_column": "target"
            },
            "request_timeout_seconds": 1800,
            "output": {
              "name": "LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer-StackingClassifier.zip",
              "description": "Ensemble integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "ensemble",
                "LoadWine",
                "FunctionTransformer",
                "StackingClassifier"
              ],
              "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-01T15:07:02.7695866+00:00",
        "end_time": "2026-12-01T15:07:03.1627268+00:00",
        "elapsed_milliseconds": 393.14,
        "job_id": "0fd9dd72-eaa8-bec6-46d8-554ce3818476",
        "status": "completed",
        "topic": "pm.topic.ml.ensemble",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "009-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "0fd9dd72-eaa8-bec6-46d8-554ce3818476",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "ensemble",
          "task_family": "classification",
          "algorithm": "StackingClassifier"
        },
        "input": {
          "mode": "prepared_train_test",
          "partitions": {
            "train": {
              "blob_id": "7db21103-e645-cb44-6114-4032111e0dc0",
              "row_count": 133
            },
            "test": {
              "blob_id": "696925c0-093e-d414-2060-7015694b4943",
              "row_count": 45
            }
          },
          "feature_columns": [
            "alcohol",
            "malic_acid",
            "ash",
            "alcalinity_of_ash",
            "magnesium",
            "total_phenols",
            "flavanoids",
            "nonflavanoid_phenols",
            "proanthocyanins",
            "color_intensity",
            "hue",
            "od280/od315_of_diluted_wines",
            "proline"
          ],
          "target_columns": [
            "target"
          ]
        },
        "training": {
          "effective_params": {
            "cv": 3,
            "passthrough": false,
            "estimators": [
              {
                "name": "tree",
                "estimator_type": "DecisionTreeClassifier",
                "estimator_params": {
                  "n_estimators": null,
                  "max_depth": 4,
                  "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": "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
                }
              }
            ],
            "final_estimator": {
              "name": "final",
              "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
              }
            }
          },
          "metrics": {}
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "accuracy": 0.9555555555555556,
            "precision_weighted": 0.9600000000000001,
            "recall_weighted": 0.9555555555555556,
            "f1_weighted": 0.9547049441786284,
            "confusion_matrix": [
              [
                15,
                0,
                0
              ],
              [
                0,
                18,
                0
              ],
              [
                0,
                2,
                10
              ]
            ]
          }
        },
        "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": 13
            },
            "warnings": [
              {
                "category": "ConvergenceWarning",
                "count": 4
              }
            ],
            "stats": {
              "row_count": 178,
              "column_count": 16,
              "feature_count": 13,
              "training_row_count": 133,
              "test_row_count": 45,
              "feature_columns": [
                "alcohol",
                "malic_acid",
                "ash",
                "alcalinity_of_ash",
                "magnesium",
                "total_phenols",
                "flavanoids",
                "nonflavanoid_phenols",
                "proanthocyanins",
                "color_intensity",
                "hue",
                "od280/od315_of_diluted_wines",
                "proline"
              ],
              "target_column": "target",
              "sample_weight_column": null,
              "file_format": "csv",
              "task_type": "classification",
              "metrics": {
                "accuracy": 0.9555555555555556,
                "precision_weighted": 0.9600000000000001,
                "recall_weighted": 0.9555555555555556,
                "f1_weighted": 0.9547049441786284,
                "confusion_matrix": [
                  [
                    15,
                    0,
                    0
                  ],
                  [
                    0,
                    18,
                    0
                  ],
                  [
                    0,
                    2,
                    10
                  ]
                ]
              }
            },
            "runtime": {
              "captured_at_utc": "2026-12-01T15:07:42.702442+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": "010-extract.json",
      "payload": {
        "start_time": "2026-12-01T15:09:07.2318456+00:00",
        "end_time": "2026-12-01T15:09:08.0861493+00:00",
        "elapsed_milliseconds": 854.29,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "5d700fde-e636-b3ba-745d-f58a043e9e6c",
        "uploaded_blob_id": "2a31a232-a7af-1a0d-1986-21bcb246f4eb",
        "filename": "3d14fc4d-4a0e-d252-0ee7-6331bffa21dc.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 4949,
        "upload_status_code": 200
      }
    },
    {
      "file": "011-extract.json",
      "payload": {
        "start_time": "2026-12-01T15:09:08.3495671+00:00",
        "end_time": "2026-12-01T15:09:09.2525078+00:00",
        "elapsed_milliseconds": 902.93,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "5d700fde-e636-b3ba-745d-f58a043e9e6c",
        "uploaded_blob_id": "dae3926f-1048-585b-d674-0e22cf215e57",
        "filename": "c0a29644-a3ff-7ff3-344a-ffb89175ab2c.csv",
        "source_path": "predictions/test_predictions.csv",
        "source_format": "csv",
        "size_bytes": 378,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-12-01T15:09:09.402357+00:00",
        "end_time": "2026-12-01T15:09:10.2380677+00:00",
        "elapsed_milliseconds": 835.7,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "5d700fde-e636-b3ba-745d-f58a043e9e6c",
        "uploaded_blob_id": "13c4a887-4346-f3f1-a3f6-f529f7dce96c",
        "filename": "1b412a44-7895-85cd-0b6b-4a932b6362d9.json",
        "source_path": "metrics/metrics.json",
        "source_format": "json",
        "size_bytes": 307,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-12-01T15:09:10.3742633+00:00",
        "end_time": "2026-12-01T15:09:11.180961+00:00",
        "elapsed_milliseconds": 806.69,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "5d700fde-e636-b3ba-745d-f58a043e9e6c",
        "uploaded_blob_id": "98770a50-2856-a1fc-d956-9dfcc423f3bf",
        "filename": "7dde9ce2-2e4d-2a07-4460-79f72791ada2.png",
        "source_path": "graphs/confusion_matrix.png",
        "source_format": "png",
        "size_bytes": 26266,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-12-01T15:09:11.3360829+00:00",
        "end_time": "2026-12-01T15:09:12.3108615+00:00",
        "elapsed_milliseconds": 974.76,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "5d700fde-e636-b3ba-745d-f58a043e9e6c",
        "uploaded_blob_id": "79d80c3f-1690-6d67-e66f-9da53cd3a466",
        "filename": "bbfe5234-b759-ba59-ebe0-57220e2d711e.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 5749,
        "upload_status_code": 200
      }
    }
  ]
}
