ML Failure Lab
Model-diagnostics web app (upload predictions, find where a classifier or regressor fails)
Interface Gallery (15 Screens)















Home:Landing page.
System Overview
"Your model scored 91%. Find out who it fails." Upload a CSV or Parquet of true labels and predictions, map the columns, and it analyses the run in the background: class-level metrics, a clickable confusion matrix that opens the exact samples, calibration, automatic failure-slice discovery with bootstrap confidence intervals and multiple-comparison control, a threshold simulator, run-to-run comparison, drift monitoring, and an exportable report. It handles binary, multiclass, multilabel and regression problems.
Infrastructure & Stack
Next.js web app, FastAPI (Python) API, background worker, PostgreSQL, MinIO (file storage), Mailpit (dev mail), MLflow integration
Container Topology & Ports
From the mydocker dashboard: type "mlfailurelab" then "up", then "open". The first start builds api, worker and web images.
Complete Flow & Screen Breakdown

Landing page.

Sign in.

Create an account (name, email, password).

Password reset by email link.

Projects: each holds the files and analyses for one model. (A throwaway account and a project named "Fraud model demo" were created in the local database to take these screenshots.)

Upload: drop a CSV/Parquet or try a bundled demo (imbalanced fraud model, and others).

Choosing the demo reads the file (20,000 rows) and guesses what each column means: true label, predicted label, probabilities and metadata for slice discovery.

"Check my file": validation with fixable, human-readable messages before analysis.

Run overview after "Analyze this model": headline finding (recall is 3% for small transactions on accounts under about 20 days old, holding 66% of all false negatives), overall metrics (accuracy 97.9% but balanced accuracy 83.3%), which classes are missed, confidence check, and every finding ranked by severity.

Per-class precision, recall and support.

Confusion matrix; each cell opens the samples behind it.

Reliability diagram: the model is underconfident.

Automatically discovered weak segments with sample counts, confidence intervals and share of false negatives.

Threshold simulator: move the decision threshold and see precision and recall trade off.

The shareable report.