def _take_action(self, action_ix): action = ACTION_LOOKUP[action_ix] # print("ACTION:", action) self.history[self.sha256]["actions"].append(action) self.bytez = modifier.modify_sample(self.bytez, action)
def _take_action(self, action_ix): action = ACTION_LOOKUP[action_ix] self.history[self.sha256]['actions'].append(action) self.bytez = modifier.modify_sample(self.bytez, action)