TODO Calculate score in SolutionsCtrl.