Explore Library
Code QuizAdvanced

Canary and Shadow Deployment Routing

Find why this shadow deployment leaks untested outputs to users.

Codepython
def shadow_route(request):
    shadow_response = shadow_model.predict(request)
    prod_response = prod_model.predict(request)
    log_for_comparison(shadow_response, prod_response)
    return shadow_response

What is the bug in this shadow deployment routing?