(self, expr: str, metric: str, value: float)
| 88 | self._expr_statistics = defaultdict(ExpressionStatistics) |
| 89 | |
| 90 | def add(self, expr: str, metric: str, value: float): |
| 91 | self._expr_statistics[expr].add(metric, value) |
| 92 | |
| 93 | def merge(self, other: Statistics): |
| 94 | for expr, statistics in other._expr_statistics.items(): |