code: def get_summary(self) -> dict:
      summary = {}
      for bias_metric in self.bias_metrics_results.index:
          groups_alerts = []
          bias_metric_formatted = bias_metric.replace("_", " ").title()
          summary[bias_metric_formatted] = groups_alerts
          results = self.bias_metrics_results.loc[bias_metric]
          for group_name in results.index:
              if group_name == "female":
                  continue
              result = results[group_name]
              confidence = result.bias_confidence
              if (
                  result is not None
                  and confidence is not None
                  and type(confidence) == BiasConfidence
                  and confidence.p_value <= BiasConfidence.alpha
              ):
                  group_title, others_title = self.get_titles(
                      group_name
                  )
                  group_metric_description = (
                      get_bias_metric_description(
                          get_bias_metric(bias_metric), group_title
                      )
                  )
                  others_metric_description = (
                      get_bias_metric_description(
                          get_bias_metric(bias_metric), others_title
                      )
                  )
                  group_alert = "{group_metric_description}-{others_metric_description}={group_p:.2}-{others_p:.2}={diff:.2}±{ci:.2} (p-value={p_value:.2})".format(
                      group_metric_description=group_metric_description,
                      others_metric_description=others_metric_description,
                      diff=result.get_diff(),
                      ci=confidence.get_interval(),
                      group_p=result.group_p,
                      others_p=result.others_p,
                      p_value=confidence.p_value,
                  )
                  groups_alerts.append(group_alert)
      return summary
  
file_path: bias-detector/bias_detector/BiasReport.py
imports: import pandas
  import numpy
  from matplotlib import pyplot
  from bias_detector.BiasConfidence import BiasConfidence
  from bias_detector.BiasMetric import get_bias_metric_description, get_bias_metric, get_bias_metric_short_description
  from bias_detector.common import get_p_others, get_other_groups_names, races
label_desc: Use image node_id 7 for calling the BiasReport obj's underlying member method code with example usage: obj.get_summary() and returns: summary