code: def test_efdt_split_reevaluation():
      dataset = synth.SEA(seed=7, variant=2).take(500)
  
      model = tree.ExtremelyFastDecisionTreeClassifier(
          leaf_prediction="nb",
          grace_period=50,
          min_samples_reevaluate=10,
          split_criterion="hellinger",
          delta=0.1,
      )
  
      max_depth = -1
      for x, y in dataset:
          model.learn_one(x, y)
  
          if model.height > max_depth:
              max_depth = model.height
  
      assert model.height != max_depth
  
file_path: river/river/tree/test_trees.py
imports: from __future__ import annotations
  import random
  import pytest
  from river import drift, tree
  from river.datasets import synth
label_desc: Use image node_id 6 for calling a global function with example usage: test_efdt_split_reevaluation() without return types