copilothow to calculate model residuals - Search