Add average percentage to assignments#index