{
  "test_file": "6.8.ML.Neighbors.cs",
  "source_directory": "outputs/neighbors/MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer/KNeighborsRegressor/b0fb19668a45048557f9df789558c43b",
  "case": "MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer / KNeighborsRegressor",
  "partition": "whole run",
  "observed_status": "completed",
  "outcome": "Result recorded",
  "events": [
    {
      "file": "001-request.json",
      "payload": {
        "input": {
          "train_blob_id": "ba6f3774-2569-e265-0145-1f3633bea766",
          "test_blob_id": "5c7ecb28-6a43-80b1-fdb6-b2aaf3f87ea0",
          "classifier_type": "KNeighborsRegressor",
          "classifier_params": {
            "n_neighbors": 5,
            "weights": "distance"
          },
          "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"
          ],
          "file_format": "csv",
          "target_column": "target",
          "generate_graphs": true
        },
        "output": {
          "name": "MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer-KNeighborsRegressor.zip",
          "description": "Neighbors integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "neighbors",
            "MakeRegression",
            "KBinsDiscretizer",
            "KNeighborsRegressor"
          ],
          "artifact_contract_version": "2.0"
        },
        "request_timeout_seconds": 300
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-11-30T22:58:53.4579593+00:00",
        "end_time": "2026-11-30T22:58:53.5492257+00:00",
        "elapsed_milliseconds": 91.26,
        "status": "published",
        "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
          "json": {
            "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "ba6f3774-2569-e265-0145-1f3633bea766",
              "train_encryption_key": "[REDACTED]",
              "test_blob_id": "5c7ecb28-6a43-80b1-fdb6-b2aaf3f87ea0",
              "test_encryption_key": "[REDACTED]",
              "classifier_type": "KNeighborsRegressor",
              "classifier_params": {
                "n_neighbors": 5,
                "weights": "distance"
              },
              "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"
              ],
              "file_format": "csv"
            },
            "request_timeout_seconds": 300,
            "output": {
              "name": "MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer-KNeighborsRegressor.zip",
              "description": "Neighbors integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "neighbors",
                "MakeRegression",
                "KBinsDiscretizer",
                "KNeighborsRegressor"
              ],
              "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-30T22:58:53.5848416+00:00",
        "end_time": "2026-11-30T22:58:53.6706089+00:00",
        "elapsed_milliseconds": 85.77,
        "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
        "status": "processing",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-11-30T22:59:23.7458515+00:00",
        "end_time": "2026-11-30T22:59:24.3295083+00:00",
        "elapsed_milliseconds": 583.65,
        "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
        "status": "completed",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "010-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "24da53fe-53ce-0fc5-124d-13cb248a6508",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "neighbors",
          "task_family": "regression",
          "algorithm": "KNeighborsRegressor"
        },
        "input": {
          "mode": "prepared_train_test",
          "partitions": {
            "train": {
              "blob_id": "ba6f3774-2569-e265-0145-1f3633bea766",
              "row_count": 180
            },
            "test": {
              "blob_id": "5c7ecb28-6a43-80b1-fdb6-b2aaf3f87ea0",
              "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"
          ],
          "target_columns": [
            "target"
          ]
        },
        "training": {
          "effective_params": {
            "algorithm": "auto",
            "leaf_size": 30,
            "metric": "minkowski",
            "metric_params": null,
            "n_jobs": null,
            "n_neighbors": 5,
            "p": 2.0,
            "weights": "distance"
          },
          "metrics": {}
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "scope": "holdout",
            "sample_count": 60,
            "predicted_sample_count": 60,
            "no_prediction_count": 0,
            "mean_absolute_error": 62.488467847741006,
            "mean_squared_error": 6701.246192962396,
            "root_mean_squared_error": 81.86113969987467,
            "r2": 0.41819296613541246
          }
        },
        "artifact_files": [
          "model/model.joblib",
          "predictions/predictions.csv",
          "graphs/actual_vs_predicted.png",
          "graphs/actual_vs_predicted.svg",
          "graphs/residuals.png",
          "graphs/residuals.svg",
          "graphs/prediction_distribution.png",
          "graphs/prediction_distribution.svg",
          "result.json"
        ],
        "extras": {
          "algorithm": {
            "learned": {
              "n_features_in": 30,
              "n_samples_fit": 180,
              "effective_metric": "euclidean",
              "effective_metric_params": {},
              "classes": null,
              "centroids": null,
              "class_prior": null,
              "components": null,
              "n_iter": null,
              "bandwidth": null,
              "n_neighbors": null,
              "offset": null
            },
            "warnings": [],
            "data": {
              "row_count": 240,
              "column_count": 33,
              "feature_count": 30,
              "file_format": "csv",
              "prediction_scope": "all_input_rows",
              "training_row_indices": null
            },
            "runtime": {
              "captured_at_utc": "2026-11-30T22:59:22.074467+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-30T23:01:28.359373+00:00",
        "end_time": "2026-11-30T23:01:29.4793982+00:00",
        "elapsed_milliseconds": 1120.01,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "8ec7f0d5-d3fd-c665-c1d5-a560585bc8b6",
        "filename": "e7cb20e7-43e8-5ccc-29cd-112f82e24f74.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 4929,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:29.6107767+00:00",
        "end_time": "2026-11-30T23:01:30.3902196+00:00",
        "elapsed_milliseconds": 779.43,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "f3e08b90-f90c-c4b6-ce24-17b6552c917b",
        "filename": "428dcd57-51d5-5b86-3f3c-424260e3e3c2.csv",
        "source_path": "predictions/predictions.csv",
        "source_format": "csv",
        "size_bytes": 11243,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:30.4980156+00:00",
        "end_time": "2026-11-30T23:01:31.2881266+00:00",
        "elapsed_milliseconds": 790.1,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "9f452bf1-cad5-95c2-86d9-ba8b6afe340f",
        "filename": "ac9750b1-0d4d-8a71-67cd-224a801510ac.png",
        "source_path": "graphs/actual_vs_predicted.png",
        "source_format": "png",
        "size_bytes": 91879,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:31.4426374+00:00",
        "end_time": "2026-11-30T23:01:32.2066237+00:00",
        "elapsed_milliseconds": 763.98,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "3e200ae3-4dde-4377-69c7-49147cb6a07a",
        "filename": "7c16dd32-68eb-d9fc-5aee-f27f4b371527.svg",
        "source_path": "graphs/actual_vs_predicted.svg",
        "source_format": "svg",
        "size_bytes": 61357,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:32.3362907+00:00",
        "end_time": "2026-11-30T23:01:33.1992601+00:00",
        "elapsed_milliseconds": 862.96,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "ab1d67ee-309f-2cfa-99bf-6f741422de4c",
        "filename": "a134f97e-42b6-bee3-6711-ec21faa583c4.png",
        "source_path": "graphs/residuals.png",
        "source_format": "png",
        "size_bytes": 69251,
        "upload_status_code": 200
      }
    },
    {
      "file": "016-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:33.3232623+00:00",
        "end_time": "2026-11-30T23:01:34.9326897+00:00",
        "elapsed_milliseconds": 1609.4,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "c76e6cbc-4a50-a01c-810e-c3b242f124f8",
        "filename": "a0d968ff-1247-e3b8-ba89-f6653d48916c.svg",
        "source_path": "graphs/residuals.svg",
        "source_format": "svg",
        "size_bytes": 62421,
        "upload_status_code": 200
      }
    },
    {
      "file": "017-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:35.0651344+00:00",
        "end_time": "2026-11-30T23:01:35.8406964+00:00",
        "elapsed_milliseconds": 775.55,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "7923bee6-213f-81d9-55a8-4578935b7f03",
        "filename": "01356097-0367-b4dd-6ec8-181f77c6893b.png",
        "source_path": "graphs/prediction_distribution.png",
        "source_format": "png",
        "size_bytes": 28092,
        "upload_status_code": 200
      }
    },
    {
      "file": "018-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:35.9567985+00:00",
        "end_time": "2026-11-30T23:01:36.9791309+00:00",
        "elapsed_milliseconds": 1022.32,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "c72b3ed9-38ae-d6e4-9d1e-aee55e7c2ea1",
        "filename": "8aaf03ef-d05e-24ac-a23d-60642029c5ba.svg",
        "source_path": "graphs/prediction_distribution.svg",
        "source_format": "svg",
        "size_bytes": 29479,
        "upload_status_code": 200
      }
    },
    {
      "file": "019-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:01:37.1191799+00:00",
        "end_time": "2026-11-30T23:01:38.9103342+00:00",
        "elapsed_milliseconds": 1791.13,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "487120e8-f5ed-2809-ba2d-17e8237bc709",
        "uploaded_blob_id": "e93b2196-1ad7-3ed9-99cc-a72932ec1dd8",
        "filename": "6c5a57d9-f169-ab5f-49dc-80e5209fbb21.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 4040,
        "upload_status_code": 200
      }
    }
  ]
}
