code: def __fixed_discrete_get_difficulty(self, global_steps):
      s_state = self.state["schedule"]
      if global_steps > s_state["max_step"][-1]:
          return s_state["difficulty"][-1]
      for i in range(len(s_state["max_step"])):
          if global_steps <= s_state["max_step"][i]:
              return s_state["difficulty"][i]
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/data_pipeline/curriculum_scheduler.py
imports: import math
  from deepspeed.utils import logger
label_desc: Use image node_id 6 for calling the CurriculumScheduler obj's underlying member method code with example usage: obj.__fixed_discrete_get_difficulty(global_steps) and returns: s_state, s_state