Single logo
  • Courses
  • Blog
  • About
Join for freeJoin free
Learning pathMonitor and Improve a Model in Production
  1. 1
    Monitoring Drift and Retraining: When a Model Gets Worse With No Code Change
  2. 2
    Drift Detection in Code: PSI Bin by Bin, the KS Test, Evidently and a Measured Threshold
  3. 3
    Shadow, Canary and Rollback: Releasing a New Model Without Betting Everything on It
  4. 4
    A/B Tests for Models: Did the New Model Make Things Better for People?
  5. 5
    When Labels Arrive Weeks Late: What to Watch Before You Can Grade the Model
  6. 6
    Retraining Triggers: Schedule, Drift and Performance, Wired to One Retrain Pipeline
  7. 7
    The User Feedback Loop: Why Thumbs Up Isn't the Truth, and What a Small Random Review Adds
  8. 8
    Debugging a Model in Production: A Four-Step Runbook, Cheap Checks First
  1. Blog
  2. /
  3. Machine Learning
  4. /
  5. MLOps and Production ML

Learning path: Monitor and Improve a Model in Production · Step 7 of 8

The User Feedback Loop: Why Thumbs Up Isn't the Truth, and What a Small Random Review Adds

Support agents give the ticket model a thumbs up or down. Simulated thumbs cover 40% of tickets, 90% of them high calls, while the weak low calls go unrated. A 60-ticket random review gives a fair number with an honest error bar.

Chaand Sheikh

·27 November 2026Monitoring and Release

What you will learn

  • Measure feedback coverage and see which predictions people actually rate
  • Explain how the rated pile can differ from the stream, and how positive label bias moves the thumbs-up share
  • Estimate accuracy fairly with a small random review and its standard error
  • Refresh an eval set with a fixed core and a fresh part scored on its own

Before you start

  • When Labels Arrive Weeks Late
  • Accuracy and the confusion matrix

Our support agents can give each call of the ticket priority model a thumbs up or a thumbs down. It's tempting to treat those thumbs as the truth. In this article we see who actually clicks, and what a small random review adds.

Think of a restaurant with comment cards on the tables. The owner reads them every Monday. Who fills one in? Mostly the people who loved it, and the people who didn't. Most tables leave no card at all: the ordinary meal, the quiet family in the corner. So a smart owner also asks a few tables at random each week, with the same questions. The cards tell you what to look at. The random tables tell you how things are actually going.

The tickets are synthetic and the thumbs are simulated: we set who clicks ourselves, to copy what tends to happen. We look at weeks 3 to 6, where the true answers have arrived (When Labels Arrive Weeks Late).

Who clicks the thumbs?

Thumbs are simulated in 03_feedback.py:

def thumbs(joined, seed=3):
    # Synthetic: agents rate high-priority calls far more
    rnd = np.random.default_rng(seed)
    given = rnd.random(len(joined)) < np.where(
        joined.pred == 1, 0.60, 0.10)
    right = (joined.pred == joined.true).to_numpy()
    keep = rnd.random(len(joined)) < 0.85
    up = np.where(keep, right, ~right)
    return pd.DataFrame({"given": given, "up": up,
                         "pred": joined.pred.to_numpy()})

The given line decides who rates: agents rate a high priority call 60% of the time and a low priority call only 10%. The keep line makes 15% of the clicks go the wrong way.

tickets 424 rated 169 coverage 0.4
high rated 0.6
low rated 0.1
thumbs-up share : 0.639
joined accuracy : 0.625

Out of 424 tickets, 169 get rated: a coverage of 0.4. A thumb is an explicit label, somebody actually told you something. But it's only on the tickets that person chose to rate.

The rated pile isn't the stream

04_review.py uses the same tickets and the same simulated thumbs, and compares the rated pile with all tickets:

tickets 424 accuracy 0.625
high calls, all tickets  : 0.594
high calls, rated tickets: 0.899
accuracy, high calls: 0.679
accuracy, low calls : 0.547
thumbs-up share     : 0.639
low calls never rated: 155
happy clickers, up share: 0.87 clicks 138
review 60 accuracy 0.55 se 0.064 high calls 0.583
fixed core 500 accuracy 0.668
High calls: all tickets vs rated tickets vs a random review all 424 tickets 59.4% 169 rated tickets 89.9% 60 random tickets 58.3% share of high priority calls (simulated thumbs)
The rated pile is mostly high calls. A random sample looks like the stream.

In all tickets, high calls are 59.4%. In the rated ones, 89.9%. Now the model is better on some calls than others: accuracy is 0.679 on high calls and 0.547 on low calls. So the weak part of the model is the part nobody rates. 155 low calls never got a thumb at all.

If you only learn from the rated pile, you're polishing what's already stronger.

A close number can still mislead

The thumbs-up share is 0.639 and the joined accuracy is 0.625. That's close, and it would be wrong to pretend it isn't. But it's close by accident: most ratings are on high calls, which are more accurate, while 15% of clicks go the wrong way. Those two pull against each other.

Now change one assumption. Say people mostly click when they're happy: half of the right calls get a click, and one in ten of the wrong ones. That's positive label bias.

# What if people mostly click when they're happy?
rng = np.random.default_rng(4)
click = rng.random(len(joined)) < np.where(
    right, 0.5, 0.1)
print("happy clickers, up share:",
      round(right[click].mean(), 3), "clicks",
      int(click.sum()))

The thumbs-up share becomes 0.87, and the model didn't change at all. The number moves with who clicks, and you can't see that from the number.

A small random review

So do what the owner did. rng.choice picks 60 tickets at random, whatever anyone clicked:

# A random sample, checked by a person
rng = np.random.default_rng(5)
pick = rng.choice(len(joined), REVIEW, replace=False)
acc = right[pick].mean()
se = np.sqrt(acc * (1 - acc) / REVIEW)
print("review", REVIEW, "accuracy", round(acc, 3),
      "se", round(se, 3), "high calls",
      round(high[pick].mean(), 3))

In real life a person checks each picked ticket against written guidance on what "high priority" means, so two reviewers mean the same thing by the same label.

Look at the mix first: high calls are 58.3%, right next to the 59.4% in the stream. That's what random gets you. The accuracy is 0.55 with a standard error of 0.064.

Which number tells the truth? 0.4 0.65 0.9 truth 0.625 thumbs-up share 0.639 happy clickers 0.87 random review, 60 0.55 ± 0.064 accuracy on weeks 3-6 (simulated thumbs)
Thumbs can land close or far from the truth depending on who clicks. The review says how unsure it is.

The truth is 0.625, so this sample came in low, a little over one standard error away. That's normal for 60 tickets. A review isn't precise, but it's fair, and it tells you how unsure it is. Want it tighter? Review more.

Refreshing the eval set

Reviewed tickets are valuable, so they belong in your eval set. But there's a trap.

  • Keep a fixed core. In this project that's the 500 held-out tickets, where the model scores 0.668. That part never changes, so this week's score can be compared with last month's.
  • Add reviewed tickets as a separate fresh part and report it on its own. 0.55 and 0.668 are on different tickets, so that gap isn't a trend. Blend them and the eval set itself drifts, and you can't tell what moved.
  • Take care of people first. Before anything is stored, strip customer details and keep only what you have permission to use.
  • Gate every new model. A model trained on this feedback goes through the same offline gate before it reaches anybody (CI/CD for ML: A Quality Gate). Feedback suggests, and the gate decides.

Common mistakes

  • Reporting the thumbs-up share as accuracy. It moved from 0.639 to 0.87 with the same model.
  • Retraining only on rated tickets. 90% of them are high calls, so the weak low calls barely show up in what the model learns from.
  • Reviewing without written guidance. Two reviewers then mean different things by "high".
  • Blending fresh tickets into the fixed core. Then a change in score could be the model or the test set.

Recap

SourceFair?Here
ThumbsNo: depends on who clicksCoverage 0.4, 89.9% high calls, up share 0.639 or 0.87
Random reviewYes, with an error bar60 tickets: 0.55 ± 0.064, mix 58.3% high
Fixed coreYes, and comparable over time500 tickets: 0.668

Try it yourself

Set REVIEW to 200 in 04_review.py, rerun, and watch what happens to the standard error.

Built this? Share your solution in the StudyEasy AI Community.

Join free on Skool →
← Previous
Retraining Triggers: Schedule, Drift and Performance, Wired to One Retrain Pipeline
Next →
Debugging a Model in Production: A Four-Step Runbook, Cheap Checks First
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool
Go deeper with a course

Machine Learning Engineer: From First Model to ML Engineer

Learn machine learning in Python, then ship it: data analysis, regression, classification, tuning, deployment and MLOps.View on Udemy ↗: Machine Learning Engineer: From First Model to ML Engineer (opens in a new tab)

Related articles
Python Virtual Environments: One Project, One Toolbox

Why every Python project gets its own virtual environment: two projects that need different versions of requests, python -m venv .venv, activation, pip install and the PyCharm setting that activates it for you.

Git and GitHub Fundamentals: Commits, Branches, Push and Pull

The Git you use every day, on a tiny hello-ml project: commits as save points, the staging area, a branch merged with a fast-forward, then push, clone, pull and pull requests with a teammate.

Testing a FastAPI App with pytest: Three Small Tests

A tiny FastAPI app with a Hello World route and a name route that refuses numbers, three pytest tests that check it, and what happens when the validation is deleted by mistake.

Config and Logging Instead of Hard-Coded Values in ML Training

Take the hard-coded values out of a car price training script: one config.toml read with tomllib, logging with levels and a run id on every line, and secrets read from the environment. Same RMSE, 2195, before and after.

On this page
  • Who clicks the thumbs?
  • The rated pile isn't the stream
  • A close number can still mislead
  • A small random review
  • Refreshing the eval set
  • Common mistakes
  • Recap
  • Try it yourself
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool
Go deeper with a course

Machine Learning Engineer: From First Model to ML Engineer

Learn machine learning in Python, then ship it: data analysis, regression, classification, tuning, deployment and MLOps.View on Udemy ↗: Machine Learning Engineer: From First Model to ML Engineer (opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact usFAQs
Legal
Terms of ServicePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.