AdvancedAbout 22 min

    Testing in Production

    Read the full article on Substack

    7 min read.

    Offline evaluation cannot tell you a model works. Fan a request out to a shadow deployment, size an A/B test until the detectable lift shrinks, ramp a canary and abort it, redraw a team-draft interleaving list, and watch a bandit reach a verdict in 12,000 samples where A/B testing needed 630,000.

    Think of it this way: Tasting a new recipe. You can read it, you can cook it for yourself, and you can serve it to one table before you put it on the menu. Only the last one involves the people who will actually be eating it.

    ShadowCanaryInterleavingBanditsA/B test

    Bar height is roughly how much live traffic sees an unproven model. Shadow shows users none of it, and pays double to do so.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Name the technique

    Sort

    Sort each description into the testing-in-production technique.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Shadow

    Drop items here

    A/B test

    Drop items here

    Canary

    Drop items here

    Interleaving

    Drop items here

    Bandit

    Drop items here
    5 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    The book's distinction between monitoring and testing in production is that testing in production:

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going