{"slug":"modell-halowerk-com-v1-drift-check-c7f1a0","title":"Compares two submitted sample sets feature by feature and returns deterministic ","host":"modell.halowerk.com","method":"POST","resource":"https://modell.halowerk.com/v1/drift-check","category":"other","description":"Compares two submitted sample sets feature by feature and returns deterministic drift metrics. Continuous features are binned on the combined value range and receive PSI, Jensen-Shannon divergence and a Kolmogorov-Smirnov statistic; categorical features receive PSI and Jensen-Shannon divergence over","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1186,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"bins":5,"current_samples":{"risk_score":[0.14,0.19,0.23,0.32,0.4,0.44,0.48,0.52],"segment":["retail","smb","smb","enterprise","enterprise","enterprise"]},"feature_types":{"risk_score":"continuous","segment":"categorical"},"reference_samples":{"risk_score":[0.12,0.18,0.2,0.21,0.25,0.28,0.31,0.34],"segment":["retail","retail","smb","smb","enterprise","retail"]},"threshold":0.2},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"bins":{"default":10,"description":"Number of equal-width bins for continuous features.","maximum":50,"minimum":2,"type":"integer"},"current_samples":{"additionalProperties":{"items":{"type":["number","string","boolean"]},"maxItems":10000,"minItems":2,"type":"array"},"description":"Current samples keyed by the same feature names as reference_samples.","maxProperties":50,"minProperties":1,"type":"object"},"feature_types":{"additionalProperties":{"enum":["continuous","categorical"],"type":"string"},"description":"Optional explicit feature types keyed by feature name.","maxProperties":50,"type":"object"},"reference_samples":{"additionalProperties":{"items":{"type":["number","string","boolean"]},"maxItems":10000,"minItems":2,"type":"array"},"description":"Baseline samples keyed by feature name. Each value is an array of finite numbers for continuous features or scalar category labels for categorical features.","maxProperties":50,"minProperties":1,"type":"object"},"threshold":{"default":0.2,"description":"Drift threshold applied to PSI for the final feature flag.","maximum":1,"minimum":0.01,"type":"number"}},"required":["reference_samples","current_samples"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1186,"error":null}],"description_full":"Compares two submitted sample sets feature by feature and returns deterministic drift metrics. Continuous features are binned on the combined value range and receive PSI, Jensen-Shannon divergence and a Kolmogorov-Smirnov statistic; categorical features receive PSI and Jensen-Shannon divergence over exact category labels. The response names every feature, its sample counts, the metric values, the threshold used, and the reason a feature was flagged.","last_updated":"2026-09-14T19:56:31.869Z","schemes":["exact"]}