Explore Library
Code QuizAdvanced

CI/CD Pipeline Stage Ordering for ML

Identify the misordered stage in an ML CI/CD pipeline.

Codepython
stages = [
    "deploy_to_production",
    "run_tests",
    "train_model",
    "validate_model",
    "build_image",
]

for stage in stages:
    run(stage)

What is the bug in this pipeline definition?