{
  "test_file": "6.8.ML.Neighbors.cs",
  "source_directory": "outputs/neighbors/LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer/KNeighborsTransformer/d2747120c1cc8964a5645b1c0f778540",
  "case": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / KNeighborsTransformer",
  "partition": "whole run",
  "observed_status": "completed",
  "outcome": "Result recorded",
  "events": [
    {
      "file": "001-request.json",
      "payload": {
        "input": {
          "train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
          "test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
          "classifier_type": "KNeighborsTransformer",
          "classifier_params": {
            "n_neighbors": 5,
            "mode": "distance"
          },
          "feature_columns": [
            "age_0.0",
            "age_1.0",
            "age_2.0",
            "sex_0.0",
            "bmi_0.0",
            "bmi_1.0",
            "bmi_2.0",
            "bp_0.0",
            "bp_1.0",
            "bp_2.0",
            "s1_0.0",
            "s1_1.0",
            "s1_2.0",
            "s2_0.0",
            "s2_1.0",
            "s2_2.0",
            "s3_0.0",
            "s3_1.0",
            "s3_2.0",
            "s4_0.0",
            "s4_1.0",
            "s4_2.0",
            "s5_0.0",
            "s5_1.0",
            "s5_2.0",
            "s6_0.0",
            "s6_1.0",
            "s6_2.0"
          ],
          "file_format": "csv",
          "generate_graphs": true
        },
        "output": {
          "name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-KNeighborsTransformer.zip",
          "description": "Neighbors integration test using cached numerical preprocessing outputs",
          "record_type": "Generic",
          "access_tier": "Hot",
          "tags": [
            "neighbors",
            "LoadDiabetes",
            "KBinsDiscretizer",
            "KNeighborsTransformer"
          ],
          "artifact_contract_version": "2.0"
        },
        "request_timeout_seconds": 300
      }
    },
    {
      "file": "002-send.json",
      "payload": {
        "start_time": "2026-11-30T23:17:55.989971+00:00",
        "end_time": "2026-11-30T23:17:56.0565583+00:00",
        "elapsed_milliseconds": 66.59,
        "status": "published",
        "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi",
        "send_request_model": {
          "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
          "json": {
            "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
            "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
            "input": {
              "train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
              "train_encryption_key": "[REDACTED]",
              "test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
              "test_encryption_key": "[REDACTED]",
              "classifier_type": "KNeighborsTransformer",
              "classifier_params": {
                "n_neighbors": 5,
                "mode": "distance"
              },
              "feature_columns": [
                "age_0.0",
                "age_1.0",
                "age_2.0",
                "sex_0.0",
                "bmi_0.0",
                "bmi_1.0",
                "bmi_2.0",
                "bp_0.0",
                "bp_1.0",
                "bp_2.0",
                "s1_0.0",
                "s1_1.0",
                "s1_2.0",
                "s2_0.0",
                "s2_1.0",
                "s2_2.0",
                "s3_0.0",
                "s3_1.0",
                "s3_2.0",
                "s4_0.0",
                "s4_1.0",
                "s4_2.0",
                "s5_0.0",
                "s5_1.0",
                "s5_2.0",
                "s6_0.0",
                "s6_1.0",
                "s6_2.0"
              ],
              "file_format": "csv"
            },
            "request_timeout_seconds": 300,
            "output": {
              "name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-KNeighborsTransformer.zip",
              "description": "Neighbors integration test using cached numerical preprocessing outputs",
              "record_type": "Generic",
              "access_tier": "Hot",
              "tags": [
                "neighbors",
                "LoadDiabetes",
                "KBinsDiscretizer",
                "KNeighborsTransformer"
              ],
              "encryption_key": "[REDACTED]",
              "artifact_contract_version": "2.0"
            },
            "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:17:56.1262207+00:00",
        "end_time": "2026-11-30T23:17:56.2562783+00:00",
        "elapsed_milliseconds": 130.06,
        "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
        "status": "processing",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "004-status-002.json",
      "payload": {
        "start_time": "2026-11-30T23:18:26.3119963+00:00",
        "end_time": "2026-11-30T23:18:27.1236406+00:00",
        "elapsed_milliseconds": 811.63,
        "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
        "status": "completed",
        "topic": "pm.topic.ml.neighbors",
        "subscription": "cpu.0p5c.1gi"
      }
    },
    {
      "file": "010-result.json",
      "payload": {
        "schema_version": "2.0",
        "job_id": "376027f7-1796-be4e-63bf-e632005d86db",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "status": "succeeded",
        "worker": {
          "name": "neighbors",
          "task_family": "graph_transform",
          "algorithm": "KNeighborsTransformer"
        },
        "input": {
          "mode": "prepared_train_test",
          "partitions": {
            "train": {
              "blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
              "row_count": 331
            },
            "test": {
              "blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
              "row_count": 111
            }
          },
          "feature_columns": [
            "age_0.0",
            "age_1.0",
            "age_2.0",
            "sex_0.0",
            "bmi_0.0",
            "bmi_1.0",
            "bmi_2.0",
            "bp_0.0",
            "bp_1.0",
            "bp_2.0",
            "s1_0.0",
            "s1_1.0",
            "s1_2.0",
            "s2_0.0",
            "s2_1.0",
            "s2_2.0",
            "s3_0.0",
            "s3_1.0",
            "s3_2.0",
            "s4_0.0",
            "s4_1.0",
            "s4_2.0",
            "s5_0.0",
            "s5_1.0",
            "s5_2.0",
            "s6_0.0",
            "s6_1.0",
            "s6_2.0"
          ]
        },
        "training": {
          "effective_params": {
            "algorithm": "auto",
            "leaf_size": 30,
            "metric": "minkowski",
            "metric_params": null,
            "mode": "distance",
            "n_jobs": null,
            "n_neighbors": 5,
            "p": 2.0
          },
          "metrics": {}
        },
        "evaluation": {
          "partition": "test",
          "metrics": {
            "scope": "holdout",
            "sample_count": 111,
            "output_dimension": 331,
            "mean_neighbor_distance": null,
            "graph_edge_count": 666,
            "mean_log_density": null,
            "non_finite_log_density_count": null,
            "outlier_count": null,
            "outlier_fraction": null,
            "mean_outlier_score": null
          }
        },
        "artifact_files": [
          "model/model.joblib",
          "predictions/predictions.csv",
          "extras/neighbors-graph.npz",
          "graphs/output_distribution.png",
          "graphs/output_distribution.svg",
          "result.json"
        ],
        "extras": {
          "algorithm": {
            "learned": {
              "n_features_in": 28,
              "n_samples_fit": 331,
              "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": 442,
              "column_count": 31,
              "feature_count": 28,
              "file_format": "csv",
              "prediction_scope": "all_input_rows",
              "training_row_indices": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9,
                10,
                11,
                12,
                13,
                14,
                15,
                16,
                17,
                18,
                19,
                20,
                21,
                22,
                23,
                24,
                25,
                26,
                27,
                28,
                29,
                30,
                31,
                32,
                33,
                34,
                35,
                36,
                37,
                38,
                39,
                40,
                41,
                42,
                43,
                44,
                45,
                46,
                47,
                48,
                49,
                50,
                51,
                52,
                53,
                54,
                55,
                56,
                57,
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89,
                90,
                91,
                92,
                93,
                94,
                95,
                96,
                97,
                98,
                99,
                100,
                101,
                102,
                103,
                104,
                105,
                106,
                107,
                108,
                109,
                110,
                111,
                112,
                113,
                114,
                115,
                116,
                117,
                118,
                119,
                120,
                121,
                122,
                123,
                124,
                125,
                126,
                127,
                128,
                129,
                130,
                131,
                132,
                133,
                134,
                135,
                136,
                137,
                138,
                139,
                140,
                141,
                142,
                143,
                144,
                145,
                146,
                147,
                148,
                149,
                150,
                151,
                152,
                153,
                154,
                155,
                156,
                157,
                158,
                159,
                160,
                161,
                162,
                163,
                164,
                165,
                166,
                167,
                168,
                169,
                170,
                171,
                172,
                173,
                174,
                175,
                176,
                177,
                178,
                179,
                180,
                181,
                182,
                183,
                184,
                185,
                186,
                187,
                188,
                189,
                190,
                191,
                192,
                193,
                194,
                195,
                196,
                197,
                198,
                199,
                200,
                201,
                202,
                203,
                204,
                205,
                206,
                207,
                208,
                209,
                210,
                211,
                212,
                213,
                214,
                215,
                216,
                217,
                218,
                219,
                220,
                221,
                222,
                223,
                224,
                225,
                226,
                227,
                228,
                229,
                230,
                231,
                232,
                233,
                234,
                235,
                236,
                237,
                238,
                239,
                240,
                241,
                242,
                243,
                244,
                245,
                246,
                247,
                248,
                249,
                250,
                251,
                252,
                253,
                254,
                255,
                256,
                257,
                258,
                259,
                260,
                261,
                262,
                263,
                264,
                265,
                266,
                267,
                268,
                269,
                270,
                271,
                272,
                273,
                274,
                275,
                276,
                277,
                278,
                279,
                280,
                281,
                282,
                283,
                284,
                285,
                286,
                287,
                288,
                289,
                290,
                291,
                292,
                293,
                294,
                295,
                296,
                297,
                298,
                299,
                300,
                301,
                302,
                303,
                304,
                305,
                306,
                307,
                308,
                309,
                310,
                311,
                312,
                313,
                314,
                315,
                316,
                317,
                318,
                319,
                320,
                321,
                322,
                323,
                324,
                325,
                326,
                327,
                328,
                329,
                330
              ]
            },
            "runtime": {
              "captured_at_utc": "2026-11-30T23:18:22.622390+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:20:30.5988357+00:00",
        "end_time": "2026-11-30T23:20:31.4188055+00:00",
        "elapsed_milliseconds": 819.96,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "90a4d508-f9cc-3c3e-5409-66eb0b469ec8",
        "filename": "4ee7a283-e383-58a5-95da-bc89c4c779d2.joblib",
        "source_path": "model/model.joblib",
        "source_format": "joblib",
        "size_bytes": 5111,
        "upload_status_code": 200
      }
    },
    {
      "file": "012-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:20:31.5490894+00:00",
        "end_time": "2026-11-30T23:20:32.7729961+00:00",
        "elapsed_milliseconds": 1223.89,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "7a6026bc-ec11-1dc7-a8bf-25c54f39cf39",
        "filename": "a5d98bd2-8d53-fe62-6a7c-f747cbafaf42.csv",
        "source_path": "predictions/predictions.csv",
        "source_format": "csv",
        "size_bytes": 48770,
        "upload_status_code": 200
      }
    },
    {
      "file": "013-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:20:32.907095+00:00",
        "end_time": "2026-11-30T23:20:33.7461559+00:00",
        "elapsed_milliseconds": 839.05,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "edef959d-6e21-19e5-3f60-6fa0f35ed616",
        "filename": "030fd8a1-66c0-ec21-3c2e-b5dfea2e0bc6.npz",
        "source_path": "extras/neighbors-graph.npz",
        "source_format": "npz",
        "size_bytes": 6875,
        "upload_status_code": 200
      }
    },
    {
      "file": "014-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:20:33.8893944+00:00",
        "end_time": "2026-11-30T23:20:34.7432995+00:00",
        "elapsed_milliseconds": 853.89,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "db7a634d-c6ca-c5c1-1af8-c5e2fc6f0d56",
        "filename": "c1dc0a8e-384a-7485-33ee-26446027e65b.png",
        "source_path": "graphs/output_distribution.png",
        "source_format": "png",
        "size_bytes": 31591,
        "upload_status_code": 200
      }
    },
    {
      "file": "015-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:20:34.883191+00:00",
        "end_time": "2026-11-30T23:20:35.702533+00:00",
        "elapsed_milliseconds": 819.33,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "e6fc5885-665c-adf7-37e7-828b434250aa",
        "filename": "792715b7-8160-3aed-a7d7-c9b9480336f9.svg",
        "source_path": "graphs/output_distribution.svg",
        "source_format": "svg",
        "size_bytes": 32573,
        "upload_status_code": 200
      }
    },
    {
      "file": "016-extract.json",
      "payload": {
        "start_time": "2026-11-30T23:20:35.8949075+00:00",
        "end_time": "2026-11-30T23:20:36.8842669+00:00",
        "elapsed_milliseconds": 989.35,
        "status": "uploaded",
        "model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
        "source_blob_id": "7c3c2461-c977-9c29-1c73-e83f6d124959",
        "uploaded_blob_id": "400667a1-f12f-fa4f-d997-da94686aa30d",
        "filename": "7bbb4aee-e0f1-c47d-76c7-549a74efaa33.json",
        "source_path": "result.json",
        "source_format": "json",
        "size_bytes": 8542,
        "upload_status_code": 200
      }
    }
  ]
}
