(self)
| 455 | self.counts = [0] * len(stats.precision_names) |
| 456 | |
| 457 | def total(self) -> int: |
| 458 | return sum(self.counts) |
| 459 | |
| 460 | def attrib(self) -> dict[str, str]: |
| 461 | return {name: str(val) for name, val in sorted(zip(stats.precision_names, self.counts))} |