{
  "test_file": "6.8.ML.Neighbors.cs",
  "source_directory": "outputs/neighbors/MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer/NearestCentroid/c110be553220ac8a603c932e38fdf941",
  "case": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / NearestCentroid",
  "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",
          "classifier_type": "NearestCentroid",
          "classifier_params": {},
          "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",
          "target_column": "target",
          "generate_graphs": true
        },
        "output": {
          "name": "MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer-NearestCentroid.zip",
          "description": "Neighbors integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "neighbors",
            "MakeClassification",
            "KBinsDiscretizer",
            "NearestCentroid"
          ],
          "artifact_contract_version": "2.0"
        },
        "request_timeout_seconds": 300
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-11-30T23:27:09.727349+00:00",
        "end_time": "2026-11-30T23:27:09.8189116+00:00",
        "elapsed_milliseconds": 91.56,
        "status": "published",
        "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
          "json": {
            "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
            "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]",
              "classifier_type": "NearestCentroid",
              "classifier_params": {},
              "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-NearestCentroid.zip",
              "description": "Neighbors integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "neighbors",
                "MakeClassification",
                "KBinsDiscretizer",
                "NearestCentroid"
              ],
              "encryption_key": "[REDACTED]",
              "artifact_contract_version": "2.0"
            },
            "target_column": "target",
            "evaluation": null,
            "generate_graphs": true
          },
          "topic": "pm.topic.ml.neighbors",
          "subscription": "cpu.0p5c.1gi"
        }
      }
    },
    {
      "file": "003-status-001.json",
      "payload": {
        "start_time": "2026-11-30T23:27:09.8633641+00:00",
        "end_time": "2026-11-30T23:27:09.9420349+00:00",
        "elapsed_milliseconds": 78.67,
        "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
        "status": "processing",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-11-30T23:27:39.9892279+00:00",
        "end_time": "2026-11-30T23:27:40.0931617+00:00",
        "elapsed_milliseconds": 103.93,
        "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
        "status": "processing",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "005-status-003.json",
      "payload": {
        "start_time": "2026-11-30T23:28:10.1392143+00:00",
        "end_time": "2026-11-30T23:28:10.4602542+00:00",
        "elapsed_milliseconds": 321.03,
        "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
        "status": "completed",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "011-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "60e87ce1-4b04-cc4b-290e-5535ff3fc854",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "neighbors",
          "task_family": "classification",
          "algorithm": "NearestCentroid"
        },
        "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": {
            "metric": "euclidean",
            "priors": "uniform",
            "shrink_threshold": null
          },
          "metrics": {}
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "scope": "holdout",
            "sample_count": 60,
            "accuracy": 0.7333333333333333,
            "f1_weighted": 0.7333333333333333,
            "classes": [
              0,
              1,
              2
            ],
            "confusion_matrix": [
              [
                14,
                5,
                2
              ],
              [
                2,
                15,
                2
              ],
              [
                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",
          "graphs/decision_scores.png",
          "graphs/decision_scores.svg",
          "result.json"
        ],
        "extras": {
          "algorithm": {
            "learned": {
              "n_features_in": 36,
              "n_samples_fit": null,
              "effective_metric": null,
              "effective_metric_params": null,
              "classes": [
                0,
                1,
                2
              ],
              "centroids": [
                [
                  0.3064516129032258,
                  0.25806451612903225,
                  0.43548387096774194,
                  0.20967741935483872,
                  0.3709677419354839,
                  0.41935483870967744,
                  0.08064516129032258,
                  0.3225806451612903,
                  0.5967741935483871,
                  0.16129032258064516,
                  0.3548387096774194,
                  0.4838709677419355,
                  0.1774193548387097,
                  0.27419354838709675,
                  0.5483870967741935,
                  0.46774193548387094,
                  0.3225806451612903,
                  0.20967741935483872,
                  0.3870967741935484,
                  0.25806451612903225,
                  0.3548387096774194,
                  0.3064516129032258,
                  0.3709677419354839,
                  0.3225806451612903,
                  0.20967741935483872,
                  0.3870967741935484,
                  0.4032258064516129,
                  0.43548387096774194,
                  0.22580645161290322,
                  0.3387096774193548,
                  0.3709677419354839,
                  0.2903225806451613,
                  0.3387096774193548,
                  0.3870967741935484,
                  0.2903225806451613,
                  0.3225806451612903
                ],
                [
                  0.6779661016949152,
                  0.2542372881355932,
                  0.06779661016949153,
                  0.6610169491525424,
                  0.23728813559322035,
                  0.1016949152542373,
                  0.4745762711864407,
                  0.2542372881355932,
                  0.2711864406779661,
                  0.6779661016949152,
                  0.2711864406779661,
                  0.05084745762711865,
                  0.4406779661016949,
                  0.4067796610169492,
                  0.15254237288135594,
                  0.03389830508474576,
                  0.3050847457627119,
                  0.6610169491525424,
                  0.3050847457627119,
                  0.3898305084745763,
                  0.3050847457627119,
                  0.3898305084745763,
                  0.3050847457627119,
                  0.3050847457627119,
                  0.11864406779661017,
                  0.3898305084745763,
                  0.4915254237288136,
                  0.288135593220339,
                  0.3728813559322034,
                  0.3389830508474576,
                  0.2711864406779661,
                  0.3728813559322034,
                  0.3559322033898305,
                  0.06779661016949153,
                  0.2711864406779661,
                  0.6610169491525424
                ],
                [
                  0.01694915254237288,
                  0.4915254237288136,
                  0.4915254237288136,
                  0.13559322033898305,
                  0.3898305084745763,
                  0.4745762711864407,
                  0.4576271186440678,
                  0.423728813559322,
                  0.11864406779661017,
                  0.1694915254237288,
                  0.3728813559322034,
                  0.4576271186440678,
                  0.3898305084745763,
                  0.3220338983050847,
                  0.288135593220339,
                  0.4915254237288136,
                  0.3728813559322034,
                  0.13559322033898305,
                  0.3050847457627119,
                  0.3559322033898305,
                  0.3389830508474576,
                  0.3050847457627119,
                  0.3220338983050847,
                  0.3728813559322034,
                  0.6779661016949152,
                  0.22033898305084745,
                  0.1016949152542373,
                  0.2711864406779661,
                  0.4067796610169492,
                  0.3220338983050847,
                  0.3559322033898305,
                  0.3389830508474576,
                  0.3050847457627119,
                  0.5423728813559322,
                  0.4406779661016949,
                  0.01694915254237288
                ]
              ],
              "class_prior": [
                0.3333333333333333,
                0.3333333333333333,
                0.3333333333333333
              ],
              "components": null,
              "n_iter": null,
              "bandwidth": null,
              "n_neighbors": null,
              "offset": null
            },
            "warnings": [],
            "data": {
              "row_count": 240,
              "column_count": 39,
              "feature_count": 36,
              "file_format": "csv",
              "prediction_scope": "all_input_rows",
              "training_row_indices": null
            },
            "runtime": {
              "captured_at_utc": "2026-11-30T23:28:06.580231+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": "012-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:14.9789001+00:00",
        "end_time": "2026-11-30T23:30:16.0042213+00:00",
        "elapsed_milliseconds": 1025.31,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "4af8fbe9-1c68-6a0d-55ce-582f5c2af23a",
        "filename": "05ef1834-5a1c-c6c7-79fd-aeca706ccefb.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 2802,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:16.1663126+00:00",
        "end_time": "2026-11-30T23:30:19.0966964+00:00",
        "elapsed_milliseconds": 2930.34,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "fd7c73d9-c292-02c1-98cb-b98e7ab04a5d",
        "filename": "9d531f2b-0751-5f68-fea2-308dd09f1544.csv",
        "source_path": "predictions/predictions.csv",
        "source_format": "csv",
        "size_bytes": 35034,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:19.2177847+00:00",
        "end_time": "2026-11-30T23:30:20.0026677+00:00",
        "elapsed_milliseconds": 784.87,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "085d5fb8-4f3b-31b2-1cb1-23d3b1697385",
        "filename": "e025a7e9-d07a-fc37-7a8c-688f83f9868f.png",
        "source_path": "graphs/performance.png",
        "source_format": "png",
        "size_bytes": 32295,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:20.3584332+00:00",
        "end_time": "2026-11-30T23:30:21.888544+00:00",
        "elapsed_milliseconds": 1530.09,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "a48ad6f4-d67a-892b-2549-c0905d698f8f",
        "filename": "0dd94d45-63fb-e887-dece-8b9cc5e1a854.svg",
        "source_path": "graphs/performance.svg",
        "source_format": "svg",
        "size_bytes": 27042,
        "upload_status_code": 200
      }
    },
    {
      "file": "016-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:22.006937+00:00",
        "end_time": "2026-11-30T23:30:23.7057339+00:00",
        "elapsed_milliseconds": 1698.77,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "ea51f520-7bec-c801-c976-7324a43eb962",
        "filename": "a843186f-bd2d-ab47-86b3-de0cc9c887a6.png",
        "source_path": "graphs/confusion_matrix.png",
        "source_format": "png",
        "size_bytes": 36094,
        "upload_status_code": 200
      }
    },
    {
      "file": "017-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:23.8981897+00:00",
        "end_time": "2026-11-30T23:30:24.716453+00:00",
        "elapsed_milliseconds": 818.25,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "c015cbb6-d86b-350f-239c-6d230c793ab6",
        "filename": "74f09c9d-94a6-fcc2-ac63-f65857cd676a.svg",
        "source_path": "graphs/confusion_matrix.svg",
        "source_format": "svg",
        "size_bytes": 36100,
        "upload_status_code": 200
      }
    },
    {
      "file": "018-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:24.9317686+00:00",
        "end_time": "2026-11-30T23:30:31.4716016+00:00",
        "elapsed_milliseconds": 6539.75,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "08054f2c-656b-6c2d-ea55-076e3331403c",
        "filename": "512eb9d2-1b61-e2a0-63f5-e5bd77c60002.png",
        "source_path": "graphs/prediction_distribution.png",
        "source_format": "png",
        "size_bytes": 28678,
        "upload_status_code": 200
      }
    },
    {
      "file": "019-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:31.585789+00:00",
        "end_time": "2026-11-30T23:30:32.5216264+00:00",
        "elapsed_milliseconds": 935.82,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "a9f965e5-46c5-6a76-2abc-a12da4ca1303",
        "filename": "4cdeee08-0ed0-6ab7-3fa2-528cc5a8ebee.svg",
        "source_path": "graphs/prediction_distribution.svg",
        "source_format": "svg",
        "size_bytes": 25068,
        "upload_status_code": 200
      }
    },
    {
      "file": "020-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:32.6369644+00:00",
        "end_time": "2026-11-30T23:30:33.6363838+00:00",
        "elapsed_milliseconds": 999.41,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "0bba24ad-8a40-893b-7682-0e60bbeb28db",
        "filename": "d300336f-725a-48c7-b506-6417b48e8791.png",
        "source_path": "graphs/decision_scores.png",
        "source_format": "png",
        "size_bytes": 39709,
        "upload_status_code": 200
      }
    },
    {
      "file": "021-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:33.8270563+00:00",
        "end_time": "2026-11-30T23:30:34.6723274+00:00",
        "elapsed_milliseconds": 845.26,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "e0ae8e9f-2ec1-f611-f4d9-4d3ded87230a",
        "filename": "94d2ac8f-623f-208f-9173-cde6518adb5c.svg",
        "source_path": "graphs/decision_scores.svg",
        "source_format": "svg",
        "size_bytes": 44883,
        "upload_status_code": 200
      }
    },
    {
      "file": "022-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:30:34.7897532+00:00",
        "end_time": "2026-11-30T23:30:36.1471709+00:00",
        "elapsed_milliseconds": 1357.4,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "3fb227e9-e362-e981-f52b-dc4551fc10ee",
        "uploaded_blob_id": "6001219e-2339-2a50-3659-6c3588eadf37",
        "filename": "3e301a55-3409-1a9e-2a4d-5f09d1a7404b.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 7939,
        "upload_status_code": 200
      }
    }
  ]
}
