learntodriveai.dev/Machine Learning/CI/CD Pipelines and Drift Detection
Machine LearningProject 075 unitsVerified on 16 October 2026

CI/CD Pipelines and Drift Detection

Priya KrishnamurthyDirector of Placement Operations · Healthcare staffing platform · Bangalore, India
Slack message · from Priya
How do we know when the model stops working? Right now we'd only notice if my team starts seeing bad matches, and by then we've already made placements.
Chat with Priya

What you hand back

  • A GitHub Actions pipeline with an eval gate
  • Evaluation thresholds set for MedConnect
  • Drift detection on the production placement data
  • A response plan with severity levels
  • Manual review flags for affected hospitals
  • A delivery summary and README for the next operator

5 units

  1. Unit 1: Priya's New Problem

    Question Priya about the merged and Coimbatore hospitals, then plan the work and review the production data.

    Open unit 1
  2. Unit 2: The CI/CD Pipeline

    Turn the workflow template into a GitHub Actions pipeline with an eval gate that blocks a failing model.

    Open unit 2
  3. Unit 3: Drift Detection

    Choose the features to monitor and run Evidently drift detection on the production data, by region.

    Open unit 3
  4. Unit 4: The Response Plan

    Write the response plan with severity levels, set thresholds for placements, and add drift monitoring to the pipeline.

    Open unit 4
  5. Unit 5: Delivering the System

    Test the pass and fail paths, then deliver the system with a summary for Priya and Ravi.

    Open unit 5
Read the full brief

You're building CI/CD pipelines with evaluation gates and a drift detection system for the nurse-to-hospital matching model -- automated infrastructure that blocks bad models from deploying and catches when production data shifts away from what the model was trained on.

The discipline skills: configuring GitHub Actions workflows with evaluation gates that block deployment on threshold failure, implementing drift detection with Evidently AI (data drift vs. concept drift), calibrating alert thresholds for the specific use case, designing a response plan that connects alerts to operational decisions, and using branch-based workflows for model experimentation.

The AI-direction lesson: planning decomposition before directing becomes essential. CI/CD, drift detection, and response plans have dependencies -- the evaluation suite must exist before the gate can check it, the baseline must be computed before drift can be measured. Using Claude's plan mode to map this dependency chain before building anything produces better results than improvising. AI generates GitHub Actions workflows that run the evaluation suite but don't gate on the results -- the eval step succeeds regardless of whether the model passes. It sets drift thresholds at textbook defaults without calibrating to the use case. It generates alerts without response plans. The skill is planning the whole system before asking AI to build any single piece.

Your Role

Templates provide structure for the GitHub Actions workflow and the drift detection configuration. Guides are gone -- you fill the templates with your own judgment about which metrics to gate on, which features to monitor, what thresholds to set, and what the team should do when an alert fires.

What's New

Last time you built the matching model itself — Pipelines, transfer learning, a fairness audit. The model was the challenge.

This time the model is the starting point. The challenge is making it reliable in production. CI/CD with GitHub Actions automates evaluation: the pipeline runs the eval suite on every push and blocks deployment when the model does not pass. Drift detection with Evidently AI monitors whether the production data still looks like the training data. And the response plan connects alerts to decisions — what to do when something changes, not just that something changed.

The hard part is not the configuration. It is designing the system: which metrics should block deployment, which features matter enough to monitor, how sensitive the alerts should be, and what the team does when they fire.

Tools

  • Python — scripting, drift analysis
  • GitHub Actions — CI/CD automation (new)
  • Evidently AI — drift detection (new)
  • scikit-learn — evaluation suite (familiar)
  • MLflow — experiment tracking (familiar)
  • Git / GitHub — branch-based workflows (deepening)
  • Claude Code — AI direction, plan mode (new use)

Materials

You receive:

  • Production placement data with recent records from the changed hospitals
  • Training baseline data for drift comparison
  • A GitHub Actions workflow template with placeholder steps for evaluation and gating
  • An evaluation suite script with configurable thresholds
  • A drift detection configuration template for Evidently AI
  • A response plan template with severity levels and response procedures
  • A project governance file (CLAUDE.md)
Materials · 10 files
Start Project 7

You work at a computer with a terminal. Signed in, your place is saved.