class_docstr: Class representing Treap (Cartesian Tree) used to calculate the Incremental KS statistics.
code: def split_keep_right(cls, node, key):
      if node is None:
          return None, None
  
      left, right = None, None
  
      cls.unlazy(node)
  
      if key <= node.key:
          left, node.left = cls.split_keep_right(node.left, key)
          right = node
      else:
          node.right, right = cls.split_keep_right(node.right, key)
          left = node
  
      cls.update(left)
      cls.update(right)
  
      return left, right
  
imports: from __future__ import annotations
  import math
  import random
  from river import base, stats
label_desc: Use image node_id 5 for calling the Treap obj's underlying member method code with example usage: obj.split_keep_right(cls, node, key) and returns: left,  right, None,  None