code: def test_gen_key_avgs_from_dicts():
      result = gen_key_avgs_from_dicts(
          [
              {"x1": 8, "x5": 2, "x3": 3, "x6": 1, "x2": 1},
              {"x1": 9, "x5": 2, "x3": 3, "x6": 1, "x2": 1},
          ]
      )
      assert result == {
          "x1": 8.5,
          "x5": 2.0,
          "x3": 3.0,
          "x6": 1.0,
          "x2": 1.0,
      }
  
file_path: fklearn/tests/tuning/test_utils.py
imports: import pandas
  import pytest
  from fklearn.training.classification import logistic_classification_learner
  from fklearn.metrics.pd_extractors import evaluator_extractor
  from fklearn.tuning.utils import get_avg_metric_from_extractor, get_best_performing_log, get_used_features, gen_key_avgs_from_dicts, gen_key_avgs_from_logs, order_feature_importance_avg_from_logs, gen_key_avgs_from_iteration, gen_dict_extract
label_desc: Use image node_id 13 for calling a global function with example usage: test_gen_key_avgs_from_dicts() without return types