Visual-Erm Accurate Rewards For Vision-To-Code