code: def _find_pickle(filename_without_suffix: Path) -> Path:
      suffix_list = [".pkl", ".pkl.backtest"]
      paths: List[Path] = []
      for suffix in suffix_list:
          path = filename_without_suffix.parent / (
              filename_without_suffix.name + suffix
          )
          if path.exists():
              paths.append(path)
      if not paths:
          raise FileNotFoundError(
              f"No file starting with '{filename_without_suffix}' found"
          )
      if len(paths) > 1:
          raise ValueError(
              f"Multiple paths are found with prefix '{filename_without_suffix}': {paths}"
          )
      return paths[0]
  
imports: from __future__ import annotations
  from functools import lru_cache
  from pathlib import Path
  from typing import List, Sequence, cast
  import cachetools
  import numpy
  import pandas
  from cachetools.keys import hashkey
  from qlib.backtest.decision import Order, OrderDir
  from qlib.rl.data.base import BaseIntradayBacktestData, BaseIntradayProcessedData, ProcessedDataProvider
  from qlib.typehint import Literal
label_desc: Use image node_id 2 for calling a global function with example usage: _find_pickle(filename_without_suffix) and returns: paths