code: def simple_hash(value: object, num_features: int) -> int:
      """Deterministically hash a value into the integer space."""
      encoded_value = str(value).encode()
      hashed_value = hashlib.sha1(encoded_value)
      hashed_value_int = int(hashed_value.hexdigest(), 16)
      return hashed_value_int % num_features
  
imports: import hashlib
  from typing import List
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 2 for calling a global function with example usage: simple_hash(value, num_features) and returns: unknown