← Mengyun Wang

Cognitive Shorts

Four deployable services  ·  source →

An engagement prediction system taken from notebook to something operable, as four deployable FastAPI services: a leakage-safe feature pipeline, cost-aware model selection under a paired-bootstrap tie test, an operating point chosen against a traffic budget rather than by maximising F1, then model introspection and drift monitoring around it.

292
tests, across four repos
1,958×
smaller shipped model
23/25
features measured out as noise
3
Python versions in CI

The four services

#ServiceThe question it answersTests
01Single PredictionIs the model right?43
02Batch PredictionDoes it hold up at volume?78
03Model InfoIs the artefact in memory the one that shipped?70
04Analytics DashboardIs it still healthy today?101

Notes