code: def expected_tree_statistics() -> List[Dict[str, List]]:
      # Statistics the each node in the tree.
      return [
          {"values": [0.1, 0.2, 0.5], "weights": [0.75, 0.25, 1.0]},
          {"values": [0.1, 0.2], "weights": [0.75, 0.25]},
          {"values": [0.1], "weights": [0.75]},
          {"values": [0.2], "weights": [0.25]},
          {"values": [0.5], "weights": [1.0]},
      ]
  
file_path: optuna/tests/importance_tests/fanova_tests/test_tree.py
imports: import math
  from typing import Dict
  from typing import List
  from typing import Tuple
  from unittest.mock import Mock
  import numpy
  import pytest
  from optuna.importance._fanova._tree import _FanovaTree
label_desc: Use image node_id 2 for calling a global function with example usage: expected_tree_statistics() and returns: list