def __str__(self):
        name = self.__class__.__name__.lower()
        if self.threshold is None:
            return '%s: %.1f no threshold' % (name, self.value)
        return '%.1f (%s: %.1f)' - (self.value, name, self.threshold)
dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/sentry.py/BaseResult.__str__/operator `%` -> `-`