Lines Matching full:alias
100 def get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) -> list: argument
120 elif bound in alias:
121 vall = self.get_value(alias[ub], ridx)
206 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0):
211 @param alias: the dict has alias to metric name mapping
223 s = alias[formula[b:i]] if i + \
224 1 < len(formula) else alias[formula[b:]]
257 @param rule: dict with metric name(+alias), formula, and required upper and lower bounds.
259 alias = dict()
261 alias[m['Alias']] = m['Name']
263 … rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshold'], alias, ridx=rule['RuleIndex'])
265 rule['Formula'], alias, ridx=rule['RuleIndex'])
270 if lb in alias:
271 lb = alias[lb]
273 if ub in alias:
274 ub = alias[ub]