Solution (source code)

= Solution

$R(\delta,\theta)=E_\theta[(\delta-\theta)^2]=\operatorname{Var}_\theta\delta+b(\theta)^2$.