code: def task_collecting(self):
      print("========== task_collecting ==========")
  
      def rec_key(recorder):
          task_config = recorder.load_object("task")
          model_key = task_config["model"]["class"]
          rolling_key = task_config["dataset"]["kwargs"]["segments"][
              "test"
          ]
          return model_key, rolling_key
  
      def my_filter(recorder):
          # only choose the results of "LGBModel"
          model_key, rolling_key = rec_key(recorder)
          if model_key == "LGBModel":
              return True
          return False
  
      collector = RecorderCollector(
          experiment=self.experiment_name,
          process_list=RollingGroup(),
          rec_key_func=rec_key,
          rec_filter_func=my_filter,
      )
      print(collector())
  
file_path: qlib/examples/model_rolling/task_manager_rolling.py
imports: from pprint import pprint
  import fire
  import qlib
  from qlib.constant import REG_CN
  from qlib.workflow import R
  from qlib.workflow.task.gen import RollingGen, task_generator
  from qlib.workflow.task.manage import TaskManager, run_task
  from qlib.workflow.task.collect import RecorderCollector
  from qlib.model.ens.group import RollingGroup
  from qlib.model.trainer import TrainerR, TrainerRM, task_train
  from qlib.tests.config import CSI100_RECORD_LGB_TASK_CONFIG, CSI100_RECORD_XGBOOST_TASK_CONFIG
label_desc: Use image node_id 6 for calling the RollingTaskExample obj's underlying member method code with example usage: obj.task_collecting() and returns: model_key,  rolling_key, False, True