Featured WorkModel Diagnostics Platform2026Technical Case Study

ML Failure Lab

Model-diagnostics web app (upload predictions, find where a classifier or regressor fails)

Interface Gallery (15 Screens)

Use arrows or dots to navigate
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.
1/15

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

FastAPI
Celery
PostgreSQL
Redis
MinIO
Next.js 16
Python
Docker Compose

Container Topology & Ports

$ services: web http://localhost:3004, API http://localhost:4003 (OpenAPI at /docs); Postgres 5007, MinIO 5008/5009, Mailpit 5010
$ how to run:

From the mydocker dashboard: type "mlfailurelab" then "up", then "open". The first start builds api, worker and web images.

Complete Flow & Screen Breakdown

Home
1. Home

Landing page.

Login
2. Login

Sign in.

Register
3. Register

Create an account (name, email, password).

Forgot password
4. Forgot password

Password reset by email link.

Projects list
5. Projects list

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
6. Upload

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

Column mapping
7. Column mapping

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.

File check
8. File check

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

Run overview
9. Run overview

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.

Classes
10. Classes

Per-class precision, recall and support.

Confusion
11. Confusion

Confusion matrix; each cell opens the samples behind it.

Calibration
12. Calibration

Reliability diagram: the model is underconfident.

Failure slices
13. Failure slices

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

Threshold
14. Threshold

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

Report
15. Report

The shareable report.