auto commit: add validation loss