I am trying to customize to average the weights of the clients by seleceting some of the clients based on each client\'s sorted loss sum in this link.
def run_one