class_docstr: A mutable class that allows us to aggregate values and report mean/stddev.
class_docstr_tok: ["A","mutable","class","that","allows","us","to","aggregate","values","and","report","mean\/stddev","."]
code: def bare_str(self):
      def process(x: float):
          if int(x) == x:
              return int(x)
          return round(x, 3)
  
      if self.count > 0:
          return (
              f"min={process(self.min)}, "
              f"mean={process(self.mean)}, "
              f"max={process(self.max)}, "
              f"sum={process(self.sum)} "
              f"({self.count})"
          )
      else:
          return "(0)"
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/metrics/statistic.py
imports: from dataclasses import dataclass, replace
  import math
  from typing import Dict, Optional
  from .metric_name import MetricName
label_desc: Use image node_id 4 for calling the Stat obj's underlying member method code with example usage: obj.bare_str() and returns: round, str, process, str, process, str, process, str, process, str, self, str, str, int