How to Tell If Your AI Truly Generalizes

Humanity developed the best AI model on Earth and brought it to Mars. How do we make sure that it still works when there's no one around to fix it when it breaks?