metrics.error_in_assigned_energy works!!!