code: def get_stats(self) -> dict:
      cursor = self.get_cursor()
      stats = cursor.execute(
          """
              SELECT
                  AVG(topk) AS avg_topk,
                  AVG(choices) AS avg_num_choices,
                  AVG(rerank_time) AS avg_rerank_time,
                  AVG(response_time) AS avg_response_time,
                  AVG(model_mrr) AS avg_model_mrr,
                  AVG(server_mrr) AS avg_server_mrr
              FROM searches
          """
      ).fetchone()
      columns = [column[0] for column in cursor.description]
      return dict(zip(columns, stats))
  
file_path: nboost/nboost/database.py
imports: import os
  import time
  from typing import Optional
  from sqlite3 import Cursor
  import sqlite3
  from nboost import defaults
label_desc: Use image node_id 5 for calling the Database obj's underlying member method code with example usage: obj.get_stats() and returns: dict