code: def lower_snake_case(s: str) -> str:
      s = re.sub(r"(?<!^)(?=[A-Z])", "_", s).lower()
      parts = s.split("_")
      output_parts = []
  
      for i in range(len(parts)):
          if i == 0 or len(parts[i - 1]) > 1:
              output_parts.append(parts[i])
          else:
              output_parts[-1] += parts[i]
  
      return "_".join(output_parts)
  
imports: import enum
  import functools
  import hashlib
  import inspect
  import io
  import os
  import re
  import shutil
  import sys
  import typing
  import urllib
  from functools import total_ordering
  import jax
  import jax.numpy
  import jax.tree_util
  import numpy
  import treex
  from elegy import types
label_desc: Use image node_id 8 for calling a global function with example usage: lower_snake_case(s) and returns: str