def METHOD_NAME(self, epoch_idx):
    # train
    if epoch_idx % self.args.frequency_of_train_acc_report == 0:
        self.test_on_all_clients(b_is_train=True, epoch_idx=epoch_idx)
    # test
    if epoch_idx % self.args.frequency_of_train_acc_report == 0:
        self.test_on_all_clients(b_is_train=False, epoch_idx=epoch_idx)