def _assign_resolve(self, name):
        if name == "raw":
            return CreditAssignRaw()
        elif name == "ranked":
            return CreditAssignRanked()
        else:
            raise ValueError("Unknown credit assignment operator " + str(name))
Resolve assignment operator names, possibly allowing
dataset/ETHPy150Open pasky/cocopf/credit.py/PopulationCredit._assign_resolve