{
  "scope": "Original localhost-only trained toy Pipeline API, actual HTTP, no public deployment",
  "metadata": {
    "model_version": "synthetic-four-feature-v1",
    "feature_order": [
      "signal_a",
      "signal_b",
      "signal_c",
      "signal_d"
    ],
    "label_map": {
      "0": "synthetic_negative",
      "1": "synthetic_positive"
    },
    "probability_semantics": "probability_class_1 is model predict_proba for class1, not calibrated assurance",
    "classes": [
      0,
      1
    ],
    "runtime_versions": {
      "python": "3.10.12",
      "numpy": "1.26.3",
      "scikit_learn": "1.5.1",
      "joblib": "1.4.2",
      "fastapi": "0.128.7",
      "pydantic": "2.12.5",
      "uvicorn": "0.41.0",
      "httpx": "0.28.1"
    },
    "artifact_sha256": "3af4b4f7b23c4773f4f7a9455de7100a29c079fb3fe56fd51049735e6df4d4c8",
    "training_recipe": {
      "n_samples": 240,
      "data_seed": 42,
      "split_seed": 17,
      "train_count": 180,
      "test_count": 60,
      "scaler_fit_scope": "180trainingrows only; population variance, no testfit",
      "pipeline": "StandardScaler -> LogisticRegression(max_iter1000,random_state0)",
      "train_ids": [
        238,
        154,
        162,
        29,
        103,
        206,
        8,
        87,
        42,
        113,
        88,
        190,
        112,
        167,
        194,
        198,
        118,
        220,
        60,
        127,
        3,
        172,
        221,
        223,
        199,
        200,
        34,
        10,
        44,
        141,
        52,
        24,
        98,
        32,
        211,
        65,
        150,
        75,
        208,
        49,
        63,
        101,
        188,
        163,
        214,
        54,
        111,
        132,
        195,
        197,
        157,
        234,
        69,
        4,
        110,
        7,
        116,
        70,
        126,
        139,
        202,
        30,
        16,
        15,
        146,
        41,
        91,
        149,
        131,
        121,
        148,
        39,
        43,
        93,
        17,
        11,
        216,
        222,
        104,
        152,
        180,
        179,
        108,
        235,
        218,
        95,
        45,
        159,
        184,
        94,
        90,
        62,
        227,
        144,
        5,
        77,
        203,
        201,
        84,
        178,
        57,
        35,
        187,
        64,
        114,
        183,
        177,
        74,
        212,
        66,
        100,
        158,
        207,
        31,
        107,
        18,
        28,
        229,
        147,
        20,
        217,
        0,
        174,
        236,
        239,
        145,
        25,
        171,
        142,
        175,
        102,
        164,
        80,
        165,
        122,
        210,
        83,
        168,
        135,
        89,
        86,
        96,
        123,
        215,
        140,
        19,
        176,
        155,
        130,
        97,
        50,
        56,
        2,
        109,
        153,
        129,
        61,
        136,
        185,
        79,
        191,
        161,
        12,
        53,
        120,
        192,
        23,
        133,
        181,
        85,
        55,
        99,
        26,
        124,
        134,
        51,
        47,
        72,
        151,
        92
      ],
      "test_ids": [
        36,
        78,
        169,
        13,
        125,
        9,
        14,
        115,
        73,
        189,
        170,
        82,
        232,
        6,
        228,
        204,
        71,
        166,
        48,
        224,
        21,
        143,
        226,
        81,
        58,
        196,
        182,
        213,
        137,
        105,
        27,
        37,
        128,
        233,
        173,
        219,
        117,
        46,
        160,
        68,
        193,
        106,
        209,
        22,
        38,
        59,
        40,
        76,
        231,
        33,
        1,
        156,
        237,
        67,
        186,
        225,
        138,
        119,
        230,
        205
      ]
    },
    "heldout_toy_metrics": {
      "accuracy": 0.9,
      "log_loss": 0.29056645774978185
    },
    "fitted_values_for_checking": {
      "scaler_mean": [
        0.24508943798964217,
        0.8398263963433887,
        -1.0290737905392302,
        0.03769132099196268
      ],
      "scaler_scale": [
        0.9540062255692366,
        1.1265253147097753,
        1.1573443539622512,
        1.424577659604866
      ],
      "classifier_coef": [
        [
          -0.14253105866394794,
          1.3254996018014324,
          0.4471660750678735,
          2.5509769611734456
        ]
      ],
      "classifier_intercept": [
        -0.22896290047386722
      ]
    },
    "limits": "Handset recipe and one fixed random split; no CV/tuning/real-world accuracy claim"
  },
  "request_results": [
    {
      "case": "health_after_startup",
      "status": 200,
      "body": {
        "ready": true,
        "model_version": "synthetic-four-feature-v1",
        "feature_order": [
          "signal_a",
          "signal_b",
          "signal_c",
          "signal_d"
        ],
        "artifact_sha256": "3af4b4f7b23c4773f4f7a9455de7100a29c079fb3fe56fd51049735e6df4d4c8",
        "model_load_count": 1
      }
    },
    {
      "case": "single",
      "status": 200,
      "request": {
        "rows": [
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ]
        ]
      },
      "body": {
        "model_version": "synthetic-four-feature-v1",
        "positive_class": 1,
        "predictions": [
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          }
        ]
      }
    },
    {
      "case": "batch3",
      "status": 200,
      "request": {
        "rows": [
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            0.1866091231563581,
            0.2768670779641135,
            -0.2248498896280119,
            1.6720280214083147
          ],
          [
            1.4205042479898549,
            1.2923207136622936,
            0.18969979806103687,
            -1.7755206513545985
          ]
        ]
      },
      "body": {
        "model_version": "synthetic-four-feature-v1",
        "positive_class": 1,
        "predictions": [
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.9133072216798539
          },
          {
            "class": 0,
            "probability_class_1": 0.0661027513371011
          }
        ]
      }
    },
    {
      "case": "integer_numbers",
      "status": 200,
      "request": {
        "rows": [
          [
            0,
            1,
            -2,
            3
          ]
        ]
      },
      "body": {
        "model_version": "synthetic-four-feature-v1",
        "positive_class": 1,
        "predictions": [
          {
            "class": 1,
            "probability_class_1": 0.9927936189418485
          }
        ]
      }
    },
    {
      "case": "maximum_batch32",
      "status": 200,
      "request": {
        "rows": [
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ],
          [
            -0.1769472274940494,
            1.064157082097165,
            -0.6988125568193683,
            0.675850449880171
          ]
        ]
      },
      "body": {
        "model_version": "synthetic-four-feature-v1",
        "positive_class": 1,
        "predictions": [
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          },
          {
            "class": 1,
            "probability_class_1": 0.7971203905962692
          }
        ]
      }
    },
    {
      "case": "empty_batch",
      "status": 422,
      "request": {
        "rows": []
      },
      "body": {
        "detail": [
          {
            "type": "too_short",
            "loc": [
              "body",
              "rows"
            ],
            "msg": "List should have at least 1 item after validation, not 0"
          }
        ]
      }
    },
    {
      "case": "too_many_rows",
      "status": 422,
      "request": {
        "rows": [
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ],
          [
            0,
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "too_long",
            "loc": [
              "body",
              "rows"
            ],
            "msg": "List should have at most 32 items after validation, not 33"
          }
        ]
      }
    },
    {
      "case": "row3",
      "status": 422,
      "request": {
        "rows": [
          [
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "too_short",
            "loc": [
              "body",
              "rows",
              0
            ],
            "msg": "List should have at least 4 items after validation, not 3"
          }
        ]
      }
    },
    {
      "case": "row5",
      "status": 422,
      "request": {
        "rows": [
          [
            0,
            0,
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "too_long",
            "loc": [
              "body",
              "rows",
              0
            ],
            "msg": "List should have at most 4 items after validation, not 5"
          }
        ]
      }
    },
    {
      "case": "numeric_string",
      "status": 422,
      "request": {
        "rows": [
          [
            "1.0",
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "float_type",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a valid number"
          }
        ]
      }
    },
    {
      "case": "bool",
      "status": 422,
      "request": {
        "rows": [
          [
            true,
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "float_type",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a valid number"
          }
        ]
      }
    },
    {
      "case": "null",
      "status": 422,
      "request": {
        "rows": [
          [
            null,
            0,
            0,
            0
          ]
        ]
      },
      "body": {
        "detail": [
          {
            "type": "float_type",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a valid number"
          }
        ]
      }
    },
    {
      "case": "extra_field",
      "status": 422,
      "request": {
        "rows": [
          [
            0,
            0,
            0,
            0
          ]
        ],
        "debug": true
      },
      "body": {
        "detail": [
          {
            "type": "extra_forbidden",
            "loc": [
              "body",
              "debug"
            ],
            "msg": "Extra inputs are not permitted"
          }
        ]
      }
    },
    {
      "case": "missing_rows",
      "status": 422,
      "request": {},
      "body": {
        "detail": [
          {
            "type": "missing",
            "loc": [
              "body",
              "rows"
            ],
            "msg": "Field required"
          }
        ]
      }
    },
    {
      "case": "rows_not_matrix",
      "status": 422,
      "request": {
        "rows": [
          0,
          1,
          2,
          3
        ]
      },
      "body": {
        "detail": [
          {
            "type": "list_type",
            "loc": [
              "body",
              "rows",
              0
            ],
            "msg": "Input should be a valid list"
          },
          {
            "type": "list_type",
            "loc": [
              "body",
              "rows",
              1
            ],
            "msg": "Input should be a valid list"
          },
          {
            "type": "list_type",
            "loc": [
              "body",
              "rows",
              2
            ],
            "msg": "Input should be a valid list"
          },
          {
            "type": "list_type",
            "loc": [
              "body",
              "rows",
              3
            ],
            "msg": "Input should be a valid list"
          }
        ]
      }
    },
    {
      "case": "finite_but_overflowing_magnitude",
      "status": 422,
      "request": {
        "rows": [
          [
            1e+308,
            1e+308,
            1e+308,
            1e+308
          ]
        ]
      },
      "body": {
        "detail": {
          "code": "numerical_range",
          "message": "Feature magnitudes exceed this model's numerical range"
        }
      }
    },
    {
      "case": "raw_NaN",
      "status": 422,
      "raw_request": "{\"rows\":[[NaN,0,0,0]]}",
      "body": {
        "detail": [
          {
            "type": "finite_number",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a finite number"
          }
        ]
      }
    },
    {
      "case": "raw_Infinity",
      "status": 422,
      "raw_request": "{\"rows\":[[Infinity,0,0,0]]}",
      "body": {
        "detail": [
          {
            "type": "finite_number",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a finite number"
          }
        ]
      }
    },
    {
      "case": "raw_negative_Infinity",
      "status": 422,
      "raw_request": "{\"rows\":[[-Infinity,0,0,0]]}",
      "body": {
        "detail": [
          {
            "type": "finite_number",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a finite number"
          }
        ]
      }
    },
    {
      "case": "exponent_overflow_1e400",
      "status": 422,
      "raw_request": "{\"rows\":[[1e400,0,0,0]]}",
      "body": {
        "detail": [
          {
            "type": "finite_number",
            "loc": [
              "body",
              "rows",
              0,
              0
            ],
            "msg": "Input should be a finite number"
          }
        ]
      }
    },
    {
      "case": "malformed_json",
      "status": 422,
      "raw_request": "{\"rows\":",
      "body": {
        "detail": [
          {
            "type": "json_invalid",
            "loc": [
              "body",
              8
            ],
            "msg": "JSON decode error"
          }
        ]
      }
    },
    {
      "case": "health_after_all_requests",
      "status": 200,
      "body": {
        "ready": true,
        "model_version": "synthetic-four-feature-v1",
        "feature_order": [
          "signal_a",
          "signal_b",
          "signal_c",
          "signal_d"
        ],
        "artifact_sha256": "3af4b4f7b23c4773f4f7a9455de7100a29c079fb3fe56fd51049735e6df4d4c8",
        "model_load_count": 1
      }
    }
  ],
  "checks": {
    "manual_pipeline_probability_max_error": 0.0,
    "artifact_unchanged_by_requests": true,
    "model_load_count_after_requests": 1,
    "feature_order": [
      "signal_a",
      "signal_b",
      "signal_c",
      "signal_d"
    ],
    "probability_semantics": "class1 probability; not assurance the predicted class is calibrated",
    "validation_errors_do_not_echo_input_or_ctx": true
  },
  "server_shutdown": {
    "owned_child_reaped": true,
    "exit_code": -15,
    "host": "127.0.0.1",
    "port": 8769
  },
  "limits": [
    "Synthetic fixed split only, no CV/hyperparameter tuning or real-world model quality.",
    "All four values are positional according to metadata; numeric column swaps cannot be semantically detected.",
    "Strict input accepts JSON ints/floats, rejects strings/bools/null/nonfinite; finite numeric overflow gets422.",
    "NaN/Infinity tokens are nonstandard JSON; current parser accepts them before finite validation rejects them.",
    "Custom validation errors expose type/loc/msg only, preventing nonfinite input echo serialization failures.",
    "joblib loading only own trusted local artifact; matching digest alone does not make hostile pickle safe.",
    "Model/environment metadata is checked at startup; no arbitrary upload/load endpoint or request fit.",
    "No auth, public serving, TLS, concurrency/load test, monitoring, calibration or production deployment claim.",
    "Only the Popen child created here is terminated/reaped; no process discovery or unrelated termination."
  ]
}
