def runs(self, dim=None):
    '\n        return the number of runs\n\n        Args:\n            dim: if ``dim is None``, return list of number of runs for all dimension, else return number of\n                 runs for dimension ``dim``.\n\n        '
    if (dim is None):
        return [len(x) for x in self['auc']]
    else:
        index = bisect_left(self['dims'], dim)
        if ((index < len(self['dims'])) and (self['dims'][index] == dim)):
            return len(self['auc'][index])
        else:
            return 0
return the number of runs

Args:
    dim: if ``dim is None``, return list of number of runs for all dimension, else return number of
         runs for dimension ``dim``.
def runs(self, dim=None):
    '\n        return the number of runs\n\n        Args:\n            dim: if ``dim is None``, return list of number of runs for all dimension, else return number of\n                 runs for dimension ``dim``.\n\n        '
    if (dim is None):
        return [len(x) for x in self['auc']]
    else:
        index = bisect_left(self['dims'], dim)
        if ((index < len(self['dims'])) and (self['dims'][index] == dim)):
            return len(self['auc'][index])
        else:
            return 0