copilothow to calculate residual risk - Search